aarch64: fix errno address calculation in SYSCALL_ERROR_HANDLER
[glibc.git] / ChangeLog
blobe2fe0d752da60c758e1bc4983a7cd63cae80ec1b
1 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
4         calculation in SYSCALL_ERROR_HANDLER().
6 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
8         * manual/contrib.texi: Fix typo.
10 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12         [BZ #21109]
13         * elf/dl-tunable-types.h (tunable_callback_t): Accept
14         tunable_val_t as argument.
15         * elf/dl-tunables.c (__tunable_set_val): Add comment.
16         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
17         argument.
18         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
20 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
22         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
23         Add PTRACE_EVENT_STOP.
24         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
29         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
31 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
33         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
34         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
35         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
36         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
37         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
38         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
39         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
40         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
41         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
42         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
44         [BZ #21112]
45         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
46         12 bits zero.
47         (cp_l): Update for new value of cp_h.
48         * math/auto-libm-test-in: Add another test of pow.
49         * math/auto-libm-test-out-pow: Regenerated.
51 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
53         * manual/contrib.texi: Fix typo.
55 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57         [BZ #15998]
58         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
59         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
60         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
62 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
64         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
65         STRCHR as __strchr_power8.
66         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
67         strlen as __strlen_power8.
69 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
71         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
72         unaligned load for shorter strings.
73         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
75 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
77         * math/libm-test-driver.c (flag_test_errno): New variable.
78         (flag_test_exceptions): Likewise.
79         (flag_test_finite): Likewise.
80         (flag_test_inline): Likewise.
81         (flag_test_mathvec): Likewise.
82         (test_msg): Likewise.
83         (ulp_idx): Likewise.
84         (qtype_str): Likewise.
85         (ULP_IDX): Remove macro.
86         (QTYPE_STR): Likewise.
87         (find_ulps): Use ulp_idx not ULP_IDX.
88         (print_function_ulps): Use qtype_str, printed with %s, not
89         QTYPE_STR, printed with concatentation to format string.
90         (print_complex_function_ulps): Likewise.
91         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
92         (test_errno): Use flag_test_errno not TEST_ERRNO.
93         (enable_test): Use flag_test_inline, flag_test_finite and
94         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
95         TEST_MATHVEC.
96         (libm_test_init): New function.  Factored out of main.
97         (libm_test_finish): Likewise.
98         (main): Call libm_test_init and libm_test_finish and move most
99         code to those functions.
101         * math/libm-test-driver.c (STRX): New macro.
102         (STR): Likewise.
103         (STR_FLOAT): Likewise.
104         (STR_VEC_LEN): Likewise.
105         (TEST_MSG): Likewise.  Define here instead of expecting to be
106         defined by including file.
107         * math/test-double-finite.c (TEST_MSG): Remove macro.
108         * math/test-double-vlen2.h (TEST_MSG): Likewise.
109         * math/test-double-vlen4.h (TEST_MSG): Likewise.
110         * math/test-double-vlen8.h (TEST_MSG): Likewise.
111         * math/test-double.c (TEST_MSG): Likewise.
112         * math/test-float-finite.c (TEST_MSG): Likewise.
113         * math/test-float-vlen16.h (TEST_MSG): Likewise.
114         * math/test-float-vlen4.h (TEST_MSG): Likewise.
115         * math/test-float-vlen8.h (TEST_MSG): Likewise.
116         * math/test-float.c (TEST_MSG): Likewise.
117         * math/test-idouble.c (TEST_MSG): Likewise.
118         * math/test-ifloat.c (TEST_MSG): Likewise.
119         * math/test-ildouble.c (TEST_MSG): Likewise.
120         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
121         * math/test-ldouble.c (TEST_MSG): Likewise.
123         * math/libm-test.inc: Move all tests of individual functions to
124         libm-test-*.inc and #include libm-test-*.c files.
125         (acos_test_data): Remove.
126         (acos_test): Likewise.
127         (acosh_test_data): Likewise.
128         (acosh_test): Likewise.
129         (asin_test_data): Likewise.
130         (asin_test): Likewise.
131         (asinh_test_data): Likewise.
132         (asinh_test): Likewise.
133         (atan_test_data): Likewise.
134         (atan_test): Likewise.
135         (atanh_test_data): Likewise.
136         (atanh_test): Likewise.
137         (atan2_test_data): Likewise.
138         (atan2_test): Likewise.
139         (cabs_test_data): Likewise.
140         (cabs_test): Likewise.
141         (cacos_test_data): Likewise.
142         (cacos_test): Likewise.
143         (cacosh_test_data): Likewise.
144         (cacosh_test): Likewise.
145         (canonicalize_test_data): Likewise.
146         (canonicalize_test): Likewise.
147         (carg_test_data): Likewise.
148         (carg_test): Likewise.
149         (casin_test_data): Likewise.
150         (casin_test): Likewise.
151         (casinh_test_data): Likewise.
152         (casinh_test): Likewise.
153         (catan_test_data): Likewise.
154         (catan_test): Likewise.
155         (catanh_test_data): Likewise.
156         (catanh_test): Likewise.
157         (cbrt_test_data): Likewise.
158         (cbrt_test): Likewise.
159         (ccos_test_data): Likewise.
160         (ccos_test): Likewise.
161         (ccosh_test_data): Likewise.
162         (ccosh_test): Likewise.
163         (ceil_test_data): Likewise.
164         (ceil_test): Likewise.
165         (cexp_test_data): Likewise.
166         (cexp_test): Likewise.
167         (cimag_test_data): Likewise.
168         (cimag_test): Likewise.
169         (clog_test_data): Likewise.
170         (clog_test): Likewise.
171         (clog10_test_data): Likewise.
172         (clog10_test): Likewise.
173         (conj_test_data): Likewise.
174         (conj_test): Likewise.
175         (copysign_test_data): Likewise.
176         (copysign_test): Likewise.
177         (cos_test_data): Likewise.
178         (cos_test): Likewise.
179         (cosh_test_data): Likewise.
180         (cosh_test): Likewise.
181         (cpow_test_data): Likewise.
182         (cpow_test): Likewise.
183         (cproj_test_data): Likewise.
184         (cproj_test): Likewise.
185         (creal_test_data): Likewise.
186         (creal_test): Likewise.
187         (csin_test_data): Likewise.
188         (csin_test): Likewise.
189         (csinh_test_data): Likewise.
190         (csinh_test): Likewise.
191         (csqrt_test_data): Likewise.
192         (csqrt_test): Likewise.
193         (ctan_test_data): Likewise.
194         (ctan_test): Likewise.
195         (ctanh_test_data): Likewise.
196         (ctanh_test): Likewise.
197         (erf_test_data): Likewise.
198         (erf_test): Likewise.
199         (erfc_test_data): Likewise.
200         (erfc_test): Likewise.
201         (exp_test_data): Likewise.
202         (exp_test): Likewise.
203         (exp10_test_data): Likewise.
204         (exp10_test): Likewise.
205         (pow10_test): Likewise.
206         (exp2_test_data): Likewise.
207         (exp2_test): Likewise.
208         (expm1_test_data): Likewise.
209         (expm1_test): Likewise.
210         (fabs_test_data): Likewise.
211         (fabs_test): Likewise.
212         (fdim_test_data): Likewise.
213         (fdim_test): Likewise.
214         (floor_test_data): Likewise.
215         (floor_test): Likewise.
216         (fma_test_data): Likewise.
217         (fma_test): Likewise.
218         (fmax_test_data): Likewise.
219         (fmax_test): Likewise.
220         (fmaxmag_test_data): Likewise.
221         (fmaxmag_test): Likewise.
222         (fmin_test_data): Likewise.
223         (fmin_test): Likewise.
224         (fminmag_test_data): Likewise.
225         (fminmag_test): Likewise.
226         (fmod_test_data): Likewise.
227         (fmod_test): Likewise.
228         (fpclassify_test_data): Likewise.
229         (fpclassify_test): Likewise.
230         (frexp_test_data): Likewise.
231         (frexp_test): Likewise.
232         (fromfp_test_data): Likewise.
233         (fromfp_test): Likewise.
234         (fromfpx_test_data): Likewise.
235         (fromfpx_test): Likewise.
236         (getpayload_test_data): Likewise.
237         (getpayload_test): Likewise.
238         (hypot_test_data): Likewise.
239         (hypot_test): Likewise.
240         (ilogb_test_data): Likewise.
241         (ilogb_test): Likewise.
242         (iscanonical_test_data): Likewise.
243         (iscanonical_test): Likewise.
244         (iseqsig_test_data): Likewise.
245         (iseqsig_test): Likewise.
246         (isfinite_test_data): Likewise.
247         (isfinite_test): Likewise.
248         (finite_test): Likewise.
249         (isgreater_test_data): Likewise.
250         (isgreater_test): Likewise.
251         (isgreaterequal_test_data): Likewise.
252         (isgreaterequal_test): Likewise.
253         (isinf_test_data): Likewise.
254         (isinf_test): Likewise.
255         (isless_test_data): Likewise.
256         (isless_test): Likewise.
257         (islessequal_test_data): Likewise.
258         (islessequal_test): Likewise.
259         (islessgreater_test_data): Likewise.
260         (islessgreater_test): Likewise.
261         (isnan_test_data): Likewise.
262         (isnan_test): Likewise.
263         (isnormal_test_data): Likewise.
264         (isnormal_test): Likewise.
265         (issignaling_test_data): Likewise.
266         (issignaling_test): Likewise.
267         (issubnormal_test_data): Likewise.
268         (issubnormal_test): Likewise.
269         (isunordered_test_data): Likewise.
270         (isunordered_test): Likewise.
271         (iszero_test_data): Likewise.
272         (iszero_test): Likewise.
273         (j0_test_data): Likewise.
274         (j0_test): Likewise.
275         (j1_test_data): Likewise.
276         (j1_test): Likewise.
277         (jn_test_data): Likewise.
278         (jn_test): Likewise.
279         (lgamma_test_data): Likewise.
280         (lgamma_test): Likewise.
281         (gamma_test): Likewise.
282         (llogb_test_data): Likewise.
283         (llogb_test): Likewise.
284         (lrint_test_data): Likewise.
285         (lrint_test): Likewise.
286         (llrint_test_data): Likewise.
287         (llrint_test): Likewise.
288         (log_test_data): Likewise.
289         (log_test): Likewise.
290         (log10_test_data): Likewise.
291         (log10_test): Likewise.
292         (log1p_test_data): Likewise.
293         (log1p_test): Likewise.
294         (log2_test_data): Likewise.
295         (log2_test): Likewise.
296         (logb_test_data): Likewise.
297         (logb_test): Likewise.
298         (lround_test_data): Likewise.
299         (lround_test): Likewise.
300         (llround_test_data): Likewise.
301         (llround_test): Likewise.
302         (modf_test_data): Likewise.
303         (modf_test): Likewise.
304         (nearbyint_test_data): Likewise.
305         (nearbyint_test): Likewise.
306         (nextafter_test_data): Likewise.
307         (nextafter_test): Likewise.
308         (nextup_test_data): Likewise.
309         (nextup_test): Likewise.
310         (nextdown_test_data): Likewise.
311         (nextdown_test): Likewise.
312         (nexttoward_test_data): Likewise.
313         (nexttoward_test): Likewise.
314         (pow_test_data): Likewise.
315         (pow_test): Likewise.
316         (remainder_test_data): Likewise.
317         (remainder_test): Likewise.
318         (drem_test): Likewise.
319         (remquo_test_data): Likewise.
320         (remquo_test): Likewise.
321         (rint_test_data): Likewise.
322         (rint_test): Likewise.
323         (round_test_data): Likewise.
324         (round_test): Likewise.
325         (roundeven_test_data): Likewise.
326         (roundeven_test): Likewise.
327         (scalb_test_data): Likewise.
328         (scalb_test): Likewise.
329         (scalbn_test_data): Likewise.
330         (scalbn_test): Likewise.
331         (ldexp_test): Likewise.
332         (scalbln_test_data): Likewise.
333         (scalbln_test): Likewise.
334         (setpayload_test_data): Likewise.
335         (setpayload_test): Likewise.
336         (setpayloadsig_test_data): Likewise.
337         (setpayloadsig_test): Likewise.
338         (signbit_test_data): Likewise.
339         (signbit_test): Likewise.
340         (sin_test_data): Likewise.
341         (sin_test): Likewise.
342         (sincos_test_data): Likewise.
343         (sincos_test): Likewise.
344         (sinh_test_data): Likewise.
345         (sinh_test): Likewise.
346         (sqrt_test_data): Likewise.
347         (sqrt_test): Likewise.
348         (tan_test_data): Likewise.
349         (tan_test): Likewise.
350         (tanh_test_data): Likewise.
351         (tanh_test): Likewise.
352         (tgamma_test_data): Likewise.
353         (tgamma_test): Likewise.
354         (totalorder_test_data): Likewise.
355         (totalorder_test): Likewise.
356         (totalordermag_test_data): Likewise.
357         (totalordermag_test): Likewise.
358         (trunc_test_data): Likewise.
359         (trunc_test): Likewise.
360         (ufromfp_test_data): Likewise.
361         (ufromfp_test): Likewise.
362         (ufromfpx_test_data): Likewise.
363         (ufromfpx_test): Likewise.
364         (y0_test_data): Likewise.
365         (y0_test): Likewise.
366         (y1_test_data): Likewise.
367         (y1_test): Likewise.
368         (yn_test_data): Likewise.
369         (yn_test): Likewise.
370         (significand_test_data): Likewise.
371         (significand_test): Likewise.
372         * math/Makefile (auto-libm-test-out-files): Remove variable.
373         (libm-test-funcs-noauto): New variable.
374         (libm-test-funcs-all): Likewise.
375         (libm-test-c-auto): Likewise.
376         (libm-test-c-noauto): Likewise.
377         (libm-tests-generated): Add $(libm-test-c-auto) and
378         $(libm-test-c-noauto).
379         (generated): Do not add auto-libm-test-out.
380         (libm-test-c-auto-obj): New variable.
381         (libm-test-c-noauto-obj): Likewise.
382         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
383         ($(libm-test-c-noauto-obj)): New static pattern rule.
384         ($(libm-test-c-auto-obj)): Likewise.
385         (libm-test-incs): New variable.
386         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
387         and pass it to gen-libm-have-vector-test.sh.
388         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
389         be passed on command line.
390         * math/libm-test-acos.inc: New file.  Content from
391         math/libm-test.inc.
392         * math/libm-test-acosh.inc: Likewise.
393         * math/libm-test-asin.inc: Likewise.
394         * math/libm-test-asinh.inc: Likewise.
395         * math/libm-test-atan.inc: Likewise.
396         * math/libm-test-atan2.inc: Likewise.
397         * math/libm-test-atanh.inc: Likewise.
398         * math/libm-test-cabs.inc: Likewise.
399         * math/libm-test-cacos.inc: Likewise.
400         * math/libm-test-cacosh.inc: Likewise.
401         * math/libm-test-canonicalize.inc: Likewise.
402         * math/libm-test-carg.inc: Likewise.
403         * math/libm-test-casin.inc: Likewise.
404         * math/libm-test-casinh.inc: Likewise.
405         * math/libm-test-catan.inc: Likewise.
406         * math/libm-test-catanh.inc: Likewise.
407         * math/libm-test-cbrt.inc: Likewise.
408         * math/libm-test-ccos.inc: Likewise.
409         * math/libm-test-ccosh.inc: Likewise.
410         * math/libm-test-ceil.inc: Likewise.
411         * math/libm-test-cexp.inc: Likewise.
412         * math/libm-test-cimag.inc: Likewise.
413         * math/libm-test-clog.inc: Likewise.
414         * math/libm-test-clog10.inc: Likewise.
415         * math/libm-test-conj.inc: Likewise.
416         * math/libm-test-copysign.inc: Likewise.
417         * math/libm-test-cos.inc: Likewise.
418         * math/libm-test-cosh.inc: Likewise.
419         * math/libm-test-cpow.inc: Likewise.
420         * math/libm-test-cproj.inc: Likewise.
421         * math/libm-test-creal.inc: Likewise.
422         * math/libm-test-csin.inc: Likewise.
423         * math/libm-test-csinh.inc: Likewise.
424         * math/libm-test-csqrt.inc: Likewise.
425         * math/libm-test-ctan.inc: Likewise.
426         * math/libm-test-ctanh.inc: Likewise.
427         * math/libm-test-erf.inc: Likewise.
428         * math/libm-test-erfc.inc: Likewise.
429         * math/libm-test-exp.inc: Likewise.
430         * math/libm-test-exp10.inc: Likewise.
431         * math/libm-test-exp2.inc: Likewise.
432         * math/libm-test-expm1.inc: Likewise.
433         * math/libm-test-fabs.inc: Likewise.
434         * math/libm-test-fdim.inc: Likewise.
435         * math/libm-test-floor.inc: Likewise.
436         * math/libm-test-fma.inc: Likewise.
437         * math/libm-test-fmax.inc: Likewise.
438         * math/libm-test-fmaxmag.inc: Likewise.
439         * math/libm-test-fmin.inc: Likewise.
440         * math/libm-test-fminmag.inc: Likewise.
441         * math/libm-test-fmod.inc: Likewise.
442         * math/libm-test-fpclassify.inc: Likewise.
443         * math/libm-test-frexp.inc: Likewise.
444         * math/libm-test-fromfp.inc: Likewise.
445         * math/libm-test-fromfpx.inc: Likewise.
446         * math/libm-test-getpayload.inc: Likewise.
447         * math/libm-test-hypot.inc: Likewise.
448         * math/libm-test-ilogb.inc: Likewise.
449         * math/libm-test-iscanonical.inc: Likewise.
450         * math/libm-test-iseqsig.inc: Likewise.
451         * math/libm-test-isfinite.inc: Likewise.
452         * math/libm-test-isgreater.inc: Likewise.
453         * math/libm-test-isgreaterequal.inc: Likewise.
454         * math/libm-test-isinf.inc: Likewise.
455         * math/libm-test-isless.inc: Likewise.
456         * math/libm-test-islessequal.inc: Likewise.
457         * math/libm-test-islessgreater.inc: Likewise.
458         * math/libm-test-isnan.inc: Likewise.
459         * math/libm-test-isnormal.inc: Likewise.
460         * math/libm-test-issignaling.inc: Likewise.
461         * math/libm-test-issubnormal.inc: Likewise.
462         * math/libm-test-isunordered.inc: Likewise.
463         * math/libm-test-iszero.inc: Likewise.
464         * math/libm-test-j0.inc: Likewise.
465         * math/libm-test-j1.inc: Likewise.
466         * math/libm-test-jn.inc: Likewise.
467         * math/libm-test-lgamma.inc: Likewise.
468         * math/libm-test-llogb.inc: Likewise.
469         * math/libm-test-llrint.inc: Likewise.
470         * math/libm-test-llround.inc: Likewise.
471         * math/libm-test-log.inc: Likewise.
472         * math/libm-test-log10.inc: Likewise.
473         * math/libm-test-log1p.inc: Likewise.
474         * math/libm-test-log2.inc: Likewise.
475         * math/libm-test-logb.inc: Likewise.
476         * math/libm-test-lrint.inc: Likewise.
477         * math/libm-test-lround.inc: Likewise.
478         * math/libm-test-modf.inc: Likewise.
479         * math/libm-test-nearbyint.inc: Likewise.
480         * math/libm-test-nextafter.inc: Likewise.
481         * math/libm-test-nextdown.inc: Likewise.
482         * math/libm-test-nexttoward.inc: Likewise.
483         * math/libm-test-nextup.inc: Likewise.
484         * math/libm-test-pow.inc: Likewise.
485         * math/libm-test-remainder.inc: Likewise.
486         * math/libm-test-remquo.inc: Likewise.
487         * math/libm-test-rint.inc: Likewise.
488         * math/libm-test-round.inc: Likewise.
489         * math/libm-test-roundeven.inc: Likewise.
490         * math/libm-test-scalb.inc: Likewise.
491         * math/libm-test-scalbln.inc: Likewise.
492         * math/libm-test-scalbn.inc: Likewise.
493         * math/libm-test-setpayload.inc: Likewise.
494         * math/libm-test-setpayloadsig.inc: Likewise.
495         * math/libm-test-signbit.inc: Likewise.
496         * math/libm-test-significand.inc: Likewise.
497         * math/libm-test-sin.inc: Likewise.
498         * math/libm-test-sincos.inc: Likewise.
499         * math/libm-test-sinh.inc: Likewise.
500         * math/libm-test-sqrt.inc: Likewise.
501         * math/libm-test-tan.inc: Likewise.
502         * math/libm-test-tanh.inc: Likewise.
503         * math/libm-test-tgamma.inc: Likewise.
504         * math/libm-test-totalorder.inc: Likewise.
505         * math/libm-test-totalordermag.inc: Likewise.
506         * math/libm-test-trunc.inc: Likewise.
507         * math/libm-test-ufromfp.inc: Likewise.
508         * math/libm-test-ufromfpx.inc: Likewise.
509         * math/libm-test-y0.inc: Likewise.
510         * math/libm-test-y1.inc: Likewise.
511         * math/libm-test-yn.inc: Likewise.
512         * math/README.libm-test: Update.
514         * math/gen-auto-libm-tests.c: Update comment about use of program.
515         (generate_output): Add argument FUNCTION.
516         (main): Require extra argument.  Pass function name to
517         generate_output.
518         * math/Makefile (generated): Add auto-libm-test-out.
519         (libm-test-funcs-auto): New variable.
520         (auto-libm-test-out-files): New variable.
521         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
522         Concatenate those files to form $(objpfx)auto-libm-test-out and
523         use it as input to gen-libm-test.pl.
524         * math/README.libm-test: Update.
525         * math/auto-libm-test-out: Remove.
526         * math/auto-libm-test-out-acos: New generated file.
527         * math/auto-libm-test-out-acosh: Likewise.
528         * math/auto-libm-test-out-asin: Likewise.
529         * math/auto-libm-test-out-asinh: Likewise.
530         * math/auto-libm-test-out-atan: Likewise.
531         * math/auto-libm-test-out-atan2: Likewise.
532         * math/auto-libm-test-out-atanh: Likewise.
533         * math/auto-libm-test-out-cabs: Likewise.
534         * math/auto-libm-test-out-carg: Likewise.
535         * math/auto-libm-test-out-cbrt: Likewise.
536         * math/auto-libm-test-out-ccos: Likewise.
537         * math/auto-libm-test-out-ccosh: Likewise.
538         * math/auto-libm-test-out-cexp: Likewise.
539         * math/auto-libm-test-out-clog: Likewise.
540         * math/auto-libm-test-out-clog10: Likewise.
541         * math/auto-libm-test-out-cos: Likewise.
542         * math/auto-libm-test-out-cosh: Likewise.
543         * math/auto-libm-test-out-cpow: Likewise.
544         * math/auto-libm-test-out-csin: Likewise.
545         * math/auto-libm-test-out-csinh: Likewise.
546         * math/auto-libm-test-out-csqrt: Likewise.
547         * math/auto-libm-test-out-ctan: Likewise.
548         * math/auto-libm-test-out-ctanh: Likewise.
549         * math/auto-libm-test-out-erf: Likewise.
550         * math/auto-libm-test-out-erfc: Likewise.
551         * math/auto-libm-test-out-exp: Likewise.
552         * math/auto-libm-test-out-exp10: Likewise.
553         * math/auto-libm-test-out-exp2: Likewise.
554         * math/auto-libm-test-out-expm1: Likewise.
555         * math/auto-libm-test-out-fma: Likewise.
556         * math/auto-libm-test-out-hypot: Likewise.
557         * math/auto-libm-test-out-j0: Likewise.
558         * math/auto-libm-test-out-j1: Likewise.
559         * math/auto-libm-test-out-jn: Likewise.
560         * math/auto-libm-test-out-lgamma: Likewise.
561         * math/auto-libm-test-out-log: Likewise.
562         * math/auto-libm-test-out-log10: Likewise.
563         * math/auto-libm-test-out-log1p: Likewise.
564         * math/auto-libm-test-out-log2: Likewise.
565         * math/auto-libm-test-out-pow: Likewise.
566         * math/auto-libm-test-out-sin: Likewise.
567         * math/auto-libm-test-out-sincos: Likewise.
568         * math/auto-libm-test-out-sinh: Likewise.
569         * math/auto-libm-test-out-sqrt: Likewise.
570         * math/auto-libm-test-out-tan: Likewise.
571         * math/auto-libm-test-out-tanh: Likewise.
572         * math/auto-libm-test-out-tgamma: Likewise.
573         * math/auto-libm-test-out-y0: Likewise.
574         * math/auto-libm-test-out-y1: Likewise.
575         * math/auto-libm-test-out-yn: Likewise.
577         * math/Makefile (generated): Do not include libm-test.stmp.
578         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
579         on $(objpfx)libm-test.stmp.
580         ($(objpfx)libm-test.stmp): Remove rule.
581         ($(objpfx)libm-test-ulps.h): New rule.
582         ($(objpfx)libm-test.c): Likewise.
583         ($(objpfx)libm-have-vector-test.h): Likewise.
584         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
585         individual generated files, not libm-test.stmp.
587         * math/gen-libm-test.pl ($output_dir): Remove variable.
588         ($srcdir): Likewise.
589         ($opt_a): New variable.
590         ($opt_c): Likewise.
591         ($opt_C): Likewise.
592         ($opt_H): Likewise.
593         (-n): Make option take argument and use it as NewUlps output.
594         (-a): New option.  Use its argument for auto-libm-test-out input.
595         (-c): New option.  Use its argument for libm-test.inc input.
596         (-C): New option.  Use its argument for libm-test.c output.
597         (-H): New option.  Use its argument for libm-test-ulps.h output.
598         (top level): Only process inputs needed to generate outputs
599         specified by command-line options.  Only generate outputs
600         specified by command-line options.
601         * math/README.libm-test: Update example gen-libm-test.pl command.
602         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
603         commands.
604         (regen-ulps): Likewise.
606 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
608         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
609         * include/string.h (index): Remove define.
610         (rindex): Likewise.
611         * misc/getttyent.c (__getttyent): Rename index to strchr.
612         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
613         * sunrpc/rpc_main.c (mkfile_output): Likewise.
615 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
617         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
618         * math/libm-test.inc: Move all contents, other than tests of
619         individual functions, to libm-test-driver.c.
620         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
621         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
622         [!FE_UPWARD] (FE_UPWARD): Likewise.
623         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
624         (NO_EXCEPTION): Likewise.
625         (INVALID_EXCEPTION): Likewise.
626         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
627         (OVERFLOW_EXCEPTION): Likewise.
628         (UNDERFLOW_EXCEPTION): Likewise.
629         (INEXACT_EXCEPTION): Likewise.
630         (INVALID_EXCEPTION_OK): Likewise.
631         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
632         (OVERFLOW_EXCEPTION_OK): Likewise.
633         (UNDERFLOW_EXCEPTION_OK): Likewise.
634         (NO_INEXACT_EXCEPTION): Likewise.
635         (EXCEPTIONS_OK): Likewise.
636         (IGNORE_ZERO_INF_SIGN): Likewise.
637         (TEST_NAN_SIGN): Likewise.
638         (TEST_NAN_PAYLOAD): Likewise.
639         (NO_TEST_INLINE): Likewise.
640         (XFAIL_TEST): Likewise.
641         (ERRNO_UNCHANGED): Likewise.
642         (ERRNO_EDOM): Likewise.
643         (ERRNO_ERANGE): Likewise.
644         (IGNORE_RESULT): Likewise.
645         (NON_FINITE): Likewise.
646         (TEST_SNAN): Likewise.
647         (NO_TEST_MATHVEC): Likewise.
648         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
649         (__CONCATX): Likewise.
650         (TYPE_MIN): Likewise.
651         (TYPE_TRUE_MIN): Likewise.
652         (TYPE_MAX): Likewise.
653         (MIN_EXP): Likewise.
654         (MAX_EXP): Likewise.
655         (MANT_DIG): Likewise.
656         (FSTR_MAX): Likewise.
657         (ULP_IDX): Likewise.
658         (QTYPE_STR): Likewise.
659         (TEST_COND_binary32): Likewise.
660         (TEST_COND_binary64): Likewise.
661         (TEST_COND_binary128): Likewise.
662         (TEST_COND_ibm128): Likewise.
663         (TEST_COND_intel96): Likewise.
664         (TEST_COND_m68k96): Likewise.
665         (TEST_COND_ibm128_libgcc): Likewise.
666         (XFAIL_IBM128_LIBGCC): Likewise.
667         (PAYLOAD_DIG): Likewise.
668         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
669         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
670         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
671         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
672         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
673         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
674         (TEST_COND_long32): Likewise.
675         (TEST_COND_long64): Likewise.
676         (TEST_COND_before_rounding): Likewise.
677         (TEST_COND_after_rounding): Likewise.
678         (lit_pi_3_m_4_d): Likewise.
679         (lit_pi_3_m_4_ln10_m_d): Likewise.
680         (lit_pi_2_ln10_m_d): Likewise.
681         (lit_pi_4_ln10_m_d): Likewise.
682         (lit_pi_ln10_d): Likewise.
683         (lit_pi_2_d): Likewise.
684         (lit_pi_4_d): Likewise.
685         (lit_pi): Likewise.
686         (lit_e): Likewise.
687         (ulps_file_name): Likewise.
688         (ulps_file): Likewise.
689         (output_ulps): Likewise.
690         (output_dir): Likewise.
691         (noErrors): Likewise.
692         (noTests): Likewise.
693         (noExcTests): Likewise.
694         (noErrnoTests): Likewise.
695         (verbose): Likewise.
696         (output_max_error): Likewise.
697         (output_points): Likewise.
698         (ignore_max_ulp): Likewise.
699         (plus_zero): Likewise.
700         (minus_zero): Likewise.
701         (plus_infty): Likewise.
702         (minus_infty): Likewise.
703         (qnan_value_pl): Likewise.
704         (qnan_value): Likewise.
705         (snan_value_pl): Likewise.
706         (snan_value): Likewise.
707         (max_value): Likewise.
708         (min_value): Likewise.
709         (min_subnorm_value): Likewise.
710         (snan_value_ld): Likewise.
711         (max_error): Likewise.
712         (real_max_error): Likewise.
713         (imag_max_error): Likewise.
714         (prev_max_error): Likewise.
715         (prev_real_max_error): Likewise.
716         (prev_imag_max_error): Likewise.
717         (max_valid_error): Likewise.
718         (TYPE_DECIMAL_DIG): Likewise.
719         (TYPE_HEX_DIG): Likewise.
720         (fmt_ftostr): Likewise.
721         (compare_ulp_data): Likewise.
722         (find_ulps): Likewise.
723         (init_max_error): Likewise.
724         (set_max_error): Likewise.
725         (print_float): Likewise.
726         (print_screen): Likewise.
727         (print_screen_max_error): Likewise.
728         (update_stats): Likewise.
729         (print_function_ulps): Likewise.
730         (print_complex_function_ulps): Likewise.
731         (fpstack_test): Likewise.
732         (print_max_error): Likewise.
733         (print_complex_max_error): Likewise.
734         (test_single_exception): Likewise.
735         (test_exceptions): Likewise.
736         (test_single_errno): Likewise.
737         (test_errno): Likewise.
738         (ULPDIFF): Likewise.
739         (ulp): Likewise.
740         (check_float_internal): Likewise.
741         (check_float): Likewise.
742         (check_complex): Likewise.
743         (check_int): Likewise.
744         (check_long): Likewise.
745         (check_bool): Likewise.
746         (check_longlong): Likewise.
747         (check_intmax_t): Likewise.
748         (check_uintmax_t): Likewise.
749         (enable_test): Likewise.
750         (struct test_f_f_data): Likewise.
751         (struct test_ff_f_data): Likewise.
752         (struct test_fj_f_data): Likewise.
753         (struct test_fi_f_data): Likewise.
754         (struct test_fl_f_data): Likewise.
755         (struct test_if_f_data): Likewise.
756         (struct test_fff_f_data): Likewise.
757         (struct test_fiu_M_data): Likewise.
758         (struct test_fiu_U_data): Likewise.
759         (struct test_c_f_data): Likewise.
760         (struct test_f_f1_data): Likewise.
761         (struct test_fF_f1_data): Likewise.
762         (struct test_ffI_f1_data): Likewise.
763         (struct test_c_c_data): Likewise.
764         (struct test_cc_c_data): Likewise.
765         (struct test_f_i_data): Likewise.
766         (struct test_ff_i_data): Likewise.
767         (struct test_f_l_data): Likewise.
768         (struct test_f_L_data): Likewise.
769         (struct test_fFF_11_data): Likewise.
770         (struct test_Ff_b1_data): Likewise.
771         (IF_ROUND_INIT_): Likewise.
772         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
773         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
774         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
775         (IF_ROUND_INIT_FE_UPWARD): Likewise.
776         (ROUND_RESTORE_): Likewise.
777         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
778         (ROUND_RESTORE_FE_TONEAREST): Likewise.
779         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
780         (ROUND_RESTORE_FE_UPWARD): Likewise.
781         (RM_): Likewise.
782         (RM_FE_DOWNWARD): Likewise.
783         (RM_FE_TONEAREST): Likewise.
784         (RM_FE_TOWARDZERO): Likewise.
785         (RM_FE_UPWARD): Likewise.
786         (COMMON_TEST_SETUP): Likewise.
787         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
788         (COMMON_TEST_CLEANUP): Likewise.
789         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
790         (RUN_TEST_f_f): Likewise.
791         (RUN_TEST_LOOP_f_f): Likewise.
792         (RUN_TEST_fp_f): Likewise.
793         (RUN_TEST_LOOP_fp_f): Likewise.
794         (RUN_TEST_2_f): Likewise.
795         (RUN_TEST_LOOP_2_f): Likewise.
796         (RUN_TEST_ff_f): Likewise.
797         (RUN_TEST_LOOP_ff_f): Likewise.
798         (RUN_TEST_LOOP_fj_f): Likewise.
799         (RUN_TEST_fi_f): Likewise.
800         (RUN_TEST_LOOP_fi_f): Likewise.
801         (RUN_TEST_fl_f): Likewise.
802         (RUN_TEST_LOOP_fl_f): Likewise.
803         (RUN_TEST_if_f): Likewise.
804         (RUN_TEST_LOOP_if_f): Likewise.
805         (RUN_TEST_fff_f): Likewise.
806         (RUN_TEST_LOOP_fff_f): Likewise.
807         (RUN_TEST_fiu_M): Likewise.
808         (RUN_TEST_LOOP_fiu_M): Likewise.
809         (RUN_TEST_fiu_U): Likewise.
810         (RUN_TEST_LOOP_fiu_U): Likewise.
811         (RUN_TEST_c_f): Likewise.
812         (RUN_TEST_LOOP_c_f): Likewise.
813         (RUN_TEST_f_f1): Likewise.
814         (RUN_TEST_LOOP_f_f1): Likewise.
815         (RUN_TEST_fF_f1): Likewise.
816         (RUN_TEST_LOOP_fF_f1): Likewise.
817         (RUN_TEST_fI_f1): Likewise.
818         (RUN_TEST_LOOP_fI_f1): Likewise.
819         (RUN_TEST_ffI_f1_mod8): Likewise.
820         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
821         (RUN_TEST_Ff_b1): Likewise.
822         (RUN_TEST_LOOP_Ff_b1): Likewise.
823         (RUN_TEST_Ffp_b1): Likewise.
824         (RUN_TEST_LOOP_Ffp_b1): Likewise.
825         (RUN_TEST_c_c): Likewise.
826         (RUN_TEST_LOOP_c_c): Likewise.
827         (RUN_TEST_cc_c): Likewise.
828         (RUN_TEST_LOOP_cc_c): Likewise.
829         (RUN_TEST_f_i): Likewise.
830         (RUN_TEST_LOOP_f_i): Likewise.
831         (RUN_TEST_f_i_tg): Likewise.
832         (RUN_TEST_LOOP_f_i_tg): Likewise.
833         (RUN_TEST_ff_b): Likewise.
834         (RUN_TEST_LOOP_ff_b): Likewise.
835         (RUN_TEST_ff_i_tg): Likewise.
836         (RUN_TEST_LOOP_ff_i_tg): Likewise.
837         (RUN_TEST_f_b): Likewise.
838         (RUN_TEST_LOOP_f_b): Likewise.
839         (RUN_TEST_f_b_tg): Likewise.
840         (RUN_TEST_LOOP_f_b_tg): Likewise.
841         (RUN_TEST_f_l): Likewise.
842         (RUN_TEST_LOOP_f_l): Likewise.
843         (RUN_TEST_f_L): Likewise.
844         (RUN_TEST_LOOP_f_L): Likewise.
845         (RUN_TEST_fFF_11): Likewise.
846         (RUN_TEST_LOOP_fFF_11): Likewise.
847         (VEC_SUFF): Likewise.
848         (STR_CONCAT): Likewise.
849         (STR_CON3): Likewise.
850         (HAVE_VECTOR): Likewise.
851         (START): Likewise.
852         (END): Likewise.
853         (END_COMPLEX): Likewise.
854         (ALL_RM_TEST): Likewise.
855         (matherr): Likewise.
856         (initialize): Likewise.
857         (options): Likewise.
858         (doc): Likewise.
859         (parse_opt): Likewise.
860         (argp): Likewise.
861         (check_ulp): Likewise.
862         (main): Likewise.
863         (do_test): New function.  Call tests of individual functions
864         previously called from main.
866         * math/libm-test.inc: Remove comment listing functions tested and
867         not tested.
869 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
871         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
872         (allocate_stack): Remove COLORING_INCREMENT usage.
873         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
874         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
876 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
878         * manual/libm-err-tab.pl (@all_functions): Change to
879         %all_functions.  Initialize as empty.
880         (parse_ulps): Add to %all_functions based on functions found in
881         ulps files.  Ignore results for non-default rounding modes and
882         vector functions.
883         (print_platforms): Use %all_platforms.
884         * manual/math.texi (Errors in Math Functions): Document omissions
885         from the table.
887         * math/Makefile (before-compile): Remove.
889 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
891         [BZ #21075]
892         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
893         unused assignment.
894         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
896 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
898         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
899         Add __glibc_unlikely hint.
901 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
903         [BZ #16640]
904         * sysdeps/i386/i686/strtok.S: Remove file.
905         * sysdeps/i386/i686/strtok_r.S: Likewise.
906         * sysdeps/i386/strtok.S: Likewise.
907         * sysdeps/i386/strtok_r.S: Likewise.
908         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
909         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
910         * sysdeps/x86_64/strtok.S: Likewise.
911         * sysdeps/x86_64/strtok_r.S: Likewise.
913         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
914         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
915         * sysdeps/unix/sysv/linux/mips/kernel-features.h
916         (__ASSUME_FADVISE64_AS_64_64): Define.
917         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
918         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
919         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
920         __ALIGNMENT_ARG usage.
921         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
922         __NR_fadvise64_64 if it is not defined.
924 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
926         * version.h (RELEASE): Set to "development"
927         (VERSION): Set to 2.25.90.
928         * NEWS: Add 2.26 section.
930         * version.h (RELEASE): Set to "stable"
931         (VERSION): Set to 2.25.
932         * include/features.h (__GLIBC_MINOR__): Set to 25.
934         * manual/contrib.texi: Add more contributors from this release
935         and past releases.
937         * NEWS (2.25): Add list of bugs fixed.
939         * NEWS: Add missing news items.
941 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
943         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
944         parent if child exited in that manner.  Print WEXITSTATUS
945         instead of the raw status.
946         (do_test_prep): Rename to do_test.
947         (do_test): Return the result of run_executable_sgid.
948         (TEST_FUNCTION_ARGV): Adjust.
950 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
951             Florian Weimer  <fweimer@redhat.com>
952             Carlos O'Donell  <carlos@redhat.com>
954         [BZ #20915]
955         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
956         Do not initialize DTV.
957         * nptl/allocatestack.c (init_one_static_tls): Likewise.
959 2017-02-03  David S. Miller  <davem@davemloft.net>
961         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
963         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
964         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
969         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
970         (libm-sysdep_routines): Update.
971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
976         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
977         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
978         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
979         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
981         Likewise.
982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
984         Likewise.
985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
987         Likewise.
988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
990         Likewise.
991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
993         (libm-sysdep_routines): Update.
995 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
997         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
998         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
999         against unrelocated shared library.
1000         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1002 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1004         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
1005         * elf/tst-env-setuid-tunables.c
1006         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
1007         GLIBC_TUNABLES is removed in a setgid process.
1009         [BZ #21073]
1010         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
1011         * elf/dl-tunables.c (tunables_strdup): Remove.
1012         (get_next_env): Also return the previous envp.
1013         (parse_tunables): Erase tunables of category
1014         TUNABLES_SECLEVEL_SXID_ERASE.
1015         (maybe_enable_malloc_check): Make MALLOC_CHECK_
1016         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
1017         (__tunables_init)[TUNABLES_FRONTEND ==
1018         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
1019         after parsing.
1020         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
1021         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
1022         * elf/dl-tunables.h (struct _tunable): Change member is_secure
1023         to security_level.
1024         * elf/dl-tunables.list: Add security_level annotations for all
1025         tunables.
1026         * scripts/gen-tunables.awk: Recognize and generate enum values
1027         for security_level.
1028         * elf/tst-env-setuid.c: New test case.
1029         * elf/tst-env-setuid-tunables: new test case.
1030         * elf/Makefile (tests-static): Add them.
1032 2017-02-01  Richard Henderson  <rth@twiddle.net>
1034         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
1035         adjusting the byte count.
1037 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
1039         * conform/Makefile (linknamespace-libs): Define.
1041         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
1042         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
1043         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
1044         operands.
1046 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
1048         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
1050 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1052         [BZ #21081]
1053         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1054         (L(stosb)): Add VZEROUPPER before ret.
1056 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
1057             Alexey Makhalov <amakhalov@vmware.com>
1058             Florian Weimer <fweimer@redhat.com>
1060         [BZ #20116]
1061         * nptl/pthread_create.c: Document concurrency notes.
1062         Enhance thread creation notes.
1063         (create_thread): Use bool *stopped_start.
1064         (START_THREAD_DEFN): Comment ownership of PD.
1065         (__pthread_create_2_1): Add local bool stopped_start and use
1066         that instead of pd->stopped_start where appropriate.
1067         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1068         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1069         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1070         * nptl/tst-create-detached.c: New file.
1071         * nptl/Makefile (tests): Add tst-create-detached.
1072         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1073         Reference the enhanced thread creation notes.
1074         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1075         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1076         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1077         (__pthread_current_priority): Likewise.
1078         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1079         xpthread_attr_init, xpthread_attr_setdetachstate, and
1080         xpthread_attr_setstacksize.
1081         * support/xpthread_attr_destroy.c: New file.
1082         * support/xpthread_attr_init.c: New file.
1083         * support/xpthread_attr_setdetachstate.c: New file.
1084         * support/xpthread_attr_setstacksize.c: New file.
1085         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1086         xpthread_attr_init, xpthread_attr_setdetachstate, and
1087         xpthread_attr_setstacksize.
1089 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1091         * nptl/Makefile (tests): Add tst-robust-fork.
1092         * nptl/tst-robust-fork.c: New file.
1093         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1094         xpthread_mutex_consistent, xpthread_mutex_destroy,
1095         xpthread_mutex_init, xpthread_mutexattr_destroy,
1096         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1097         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1098         xpthread_mutexattr_settype.
1099         * support/xmmap.c: New file.
1100         * support/xmunmap.c: Likewise.
1101         * support/xpthread_mutex_consistent.c: Likewise.
1102         * support/xpthread_mutex_destroy.c: Likewise.
1103         * support/xpthread_mutex_init.c: Likewise.
1104         * support/xpthread_mutexattr_destroy.c: Likewise.
1105         * support/xpthread_mutexattr_init.c: Likewise.
1106         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1107         * support/xpthread_mutexattr_setpshared.c: Likewise.
1108         * support/xpthread_mutexattr_setrobust.c: Likewise.
1109         * support/xpthread_mutexattr_settype.c: Likewise.
1110         * support/xthread.h (xpthread_mutexattr_destroy)
1111         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1112         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1113         (xpthread_mutexattr_settype, xpthread_mutex_init)
1114         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1115         * support/xunistd.h (xmmap, xmunmap): Likewise.
1117 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1119         * string/Makefile (xtests): Add comment.
1120         (LOCALES): Add en_GB.UTF-8.
1121         (tst-strcoll-overflow.out): Depend on generated locales.
1122         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1123         (SIZE, TIMEOUT): Update comments.
1124         (do_test): Define as static.  Fail test if setlocale fails.
1125         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1126         messages.
1127         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1128         TIMEOUT at 300 seconds should be enough to run this test
1129         successfully.
1131 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1133         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1134         /* FALLTHRU */ comments.
1136 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1138         [BZ #21053]
1139         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1140         constants instead of the old R* ones.
1141         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1142         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1143         (NGREG): ... to this, to fit in with other architectures.
1144         (gpregset_t): Use new NGREG macro.
1145         [__USE_GNU]: Remove condition; all architectures other than tile
1146         are unconditional.
1147         (R*): Rename to REG_R*.
1149 2017-01-20  DJ Delorie  <dj@redhat.com>
1151         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1152         (tunable_set_val_if_valid_range_signed) ... this, and ...
1153         (tunable_set_val_if_valid_range_unsigned) ... this.
1154         (tunable_initialize): Call the correct one of the above based on type.
1156 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1158         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1159         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1160         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1161         * sysdeps/microblaze/libm-test-ulps: Likewise.
1162         * sysdeps/sh/libm-test-ulps: Likewise.
1164         * math/README.libm-test: Update list of characters for input and
1165         output types.
1167 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1169         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1170         (__lll_unlock_elision): Fix adapt_count decrement.
1172 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1174         * README.pretty-printers (Known issues): Warn about printers not
1175         always covering everything.
1176         * nptl/nptl-printers.py (MutexPrinter): Change output.
1177         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1179 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1181         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1182         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1183         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1184         (__lll_lock_elision): Do not test futex before starting a
1185         transaction.  Use __glibc_likely instead of __builtin_expect.
1186         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1187         (__lll_trylock_elision): Do not test futex before starting a
1188         transaction.  Use __glibc_likely instead of __builtin_expect.
1190 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1192         * po/Makefile (update-translations): New target.
1194 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1196         [BZ #21061]
1197         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1199 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1201         * elf/dl-tunables (get_next_env): Always advance envp.
1202         * stdlib/tst-empty-env.c: New test case.
1203         * stdlib/Makefile (tests): Use it.
1205 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1207         [BZ #21047]
1208         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1209         name for instruction.
1210         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1212 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1214         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1215         for make install.
1217 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1219         * po/bg.po: Merge from Translation Project.
1220         * po/fr.po: Likewise.
1221         * po/ko.po: Likewise.
1222         * po/nl.po: Likewise.
1223         * po/sv.po: Likewise.
1225 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1227         * manual/install.texi (Tools for Compilation): Update GCC version
1228         known to work to build glibc.
1229         * INSTALL: Regenerated.
1231 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1233         [BZ #21006]
1234         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1236 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1238         [BZ #21045]
1239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1240         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1241         to __sigprocmask.
1243 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1245         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1246         wrap-around.
1247         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1249         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1251 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1253         * NEWS: Fix typo.
1255 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1257         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1258         barriers and comments.
1259         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1260         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1261         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1263 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1265         [BZ #19402]
1266         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1267         mutexes.
1269 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1271         [BZ #20985]
1272         * nptl/Makefile: Adapt.
1273         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1274         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1275         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1276         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1277         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1278         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1279         lll_robust* functions and adapt.
1280         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1281         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1282         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1283         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1284         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1285         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1286         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1287         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1288         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1289         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1290         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1291         * nptl/lowlevelrobustlock.c: Remove file.
1292         * nptl/lowlevelrobustlock.sym: Likewise.
1293         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1294         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1296 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1298         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1300 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1302         * po/cs.po: Merge translations from the Translation Project.
1303         * po/de.po: Likewise.
1304         * po/pl.po: Likewise.
1305         * po/ru.po: Likewise.
1306         * po/tr.po: Likewise.
1307         * po/uk.po: Likewise.
1308         * po/vi.po: Likewise.
1309         * po/zh_CN.po: Likewise.
1311 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1313         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1315         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1316         object.
1318 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1320         [BZ #16458]
1321         * bits/uintn-identity.h: New file.
1322         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1323         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1324         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1325         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1326         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1327         * string/endian.h: Include <bits/uintn-identity.h>.
1328         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1329         __uint16_identity.
1330         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1331         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1332         __uint32_identity.
1333         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1334         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1335         __uint64_identity.
1336         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1337         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1338         __uint16_identity.
1339         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1340         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1341         __uint32_identity.
1342         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1343         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1344         __uint64_identity.
1345         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1346         * string/Makefile (headers): Add bits/uintn-identity.h.
1347         (tests): Add test-endian-types.
1348         * string/test-endian-types.c: New file.
1349         * inet/Makefile (tests): Add test-hnto-types.
1350         * inet/test-hnto-types.c: New file.
1352 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1354         * po/be.po: Update from Translation Project.
1355         * po/bg.po: Likewise.
1356         * po/ca.po: Likewise.
1357         * po/cs.po: Likewise.
1358         * po/da.po: Likewise.
1359         * po/de.po: Likewise.
1360         * po/el.po: Likewise.
1361         * po/eo.po: Likewise.
1362         * po/es.po: Likewise.
1363         * po/fi.po: Likewise.
1364         * po/fr.po: Likewise.
1365         * po/gl.po: Likewise.
1366         * po/hr.po: Likewise.
1367         * po/hu.po: Likewise.
1368         * po/ia.po: Likewise.
1369         * po/id.po: Likewise.
1370         * po/it.po: Likewise.
1371         * po/ja.po: Likewise.
1372         * po/ko.po: Likewise.
1373         * po/lt.po: Likewise.
1374         * po/nb.po: Likewise.
1375         * po/nl.po: Likewise.
1376         * po/pl.po: Likewise.
1377         * po/pt_BR.po: Likewise.
1378         * po/ru.po: Likewise.
1379         * po/rw.po: Likewise.
1380         * po/sk.po: Likewise.
1381         * po/sl.po: Likewise.
1382         * po/sv.po: Likewise.
1383         * po/tr.po: Likewise.
1384         * po/uk.po: Likewise.
1385         * po/vi.po: Likewise.
1386         * po/zh_CN.po: Likewise.
1387         * po/zh_TW.po: Likewise.
1389 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1391         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
1392         -Wformat-truncation instead of -Wformat-length.
1393         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
1394         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
1395         GCC 7.
1396         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
1397         (do_test): Ignore -Wformat-truncation for GCC 7.
1399         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
1400         buffer used to print long int value.
1402         * elf/sotruss-lib.c (init): Increase space allocated for pid by
1403         one byte.  Print it with %ld, cast to long int.
1405 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1407         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
1408         (re.fullmatch, subprocess.run): Likewise.
1410 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1412         * po/libc.pot: Regenerate.
1414 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1416         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
1417         (min_strlen): Likewise.
1418         (disable_tunable): Likewise.
1419         (maybe_disable_malloc_check): Rename to
1420         maybe_enable_malloc_check.
1421         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
1422         if /etc/suid-debug file exists.
1423         (__tunables_init): Update caller.
1424         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
1425         secure.
1427 2016-01-10  Torvald Riegel  <triegel@redhat.com>
1429         * nptl/DESIGN-rwlock.txt: Remove.
1430         * nptl/lowlevelrwlock.sym: Remove.
1431         * nptl/Makefile: Add new tests.
1432         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
1433         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
1434         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
1435         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
1436         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
1437         PTHREAD_RWLOCK_FUTEX_USED): New.
1438         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
1439         implementation.
1440         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
1441         (__pthread_rwlock_rdlock): Adapt.
1442         * nptl/pthread_rwlock_timedrdlock.c
1443         (pthread_rwlock_timedrdlock): Adapt.
1444         * nptl/pthread_rwlock_timedwrlock.c
1445         (pthread_rwlock_timedwrlock): Adapt.
1446         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
1447         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
1448         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
1449         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
1450         (__pthread_rwlock_wrlock): Adapt.
1451         * nptl/tst-rwlock10.c: Adapt.
1452         * nptl/tst-rwlock11.c: Adapt.
1453         * nptl/tst-rwlock17.c: New file.
1454         * nptl/tst-rwlock18.c: New file.
1455         * nptl/tst-rwlock19.c: New file.
1456         * nptl/tst-rwlock2b.c: New file.
1457         * nptl/tst-rwlock8.c: Adapt.
1458         * nptl/tst-rwlock9.c: Adapt.
1459         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1460         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1461         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1462         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1463         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1464         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1465         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1466         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1467         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1468         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1469         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1470         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1471         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1472         (pthread_rwlock_t): Adapt.
1473         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1474         (pthread_rwlock_t): Adapt.
1475         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1476         * nptl/nptl-printers.py (): Adapt.
1477         * nptl/nptl_lock_constants.pysym: Adapt.
1478         * nptl/test-rwlock-printers.py: Adapt.
1479         * nptl/test-rwlockattr-printers.c: Adapt.
1480         * nptl/test-rwlockattr-printers.py: Adapt.
1482 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
1484         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
1485         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
1486         (fma_test_data): Likewise.
1487         (hypot_test_data): Likewise.
1488         (log1p_test_data): Likewise.
1489         (modf_test_data): Likewise.
1490         (pow_test_data): Likewise.
1491         (remainder_test_data): Likewise.
1492         (remquo_test_data): Likewise.
1493         (scalb_test_data): Likewise.
1494         (scalbn_test_data): Likewise.
1495         (scalbln_test_data): Likewise.
1496         * math/gen-libm-test.pl (parse_args): Transform
1497         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
1498         on the rounding mode.
1500 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
1502         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
1503         xfail-rounding:ibm128-libgcc automatically to tests overflowing
1504         and those that can underflow to zero.
1505         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
1506         add others.
1507         * math/auto-libm-test-out: Regenerated.
1509         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
1510         supported.
1511         (feholdexcept_tests): Skip tests requiring exceptions or rounding
1512         modes support if not supported.
1514         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
1515         Add libc.so PLT entry.
1516         (__tls_get_addr): Make ld.so PLT entry optional.
1518 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1520         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
1521         * string/bits/string3.h: ... here.
1523 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
1525         [BZ #21028]
1526         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
1527         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
1528         if EXCEPTION_TESTS returns false.
1530 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1532         [BZ #20558]
1533         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
1534         strings_fortified.h.
1535         [__USE_MISC] (bzero): Likewise.
1536         [__USE_MISC] (explicit_bzero): Likewise.
1537         * string/strings.h: Include strings_fortified.h.
1538         * string/Makefile (headers): Add strings_fortified.h.
1539         * string/bits/strings_fortified.h: New file.
1540         * include/bits/strings_fortified.h: Likewise.
1542 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
1544         * elf/tst-tls13.c (TIMEOUT): Remove.
1545         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
1546         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
1547         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
1548         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
1549         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
1551         [BZ #21026]
1552         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
1553         (readahead): New syscall entry.
1555 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1557         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
1558         around tests of strncat with large sizes.
1560         * malloc/tst-malloc.c: Include <libc-internal.h>.
1561         (do_test): Disable -Walloc-size-larger-than= around tests of
1562         malloc with negative sizes.
1563         * malloc/tst-mcheck.c: Include <libc-internal.h>.
1564         (do_test): Disable -Walloc-size-larger-than= around tests of
1565         malloc and realloc with negative sizes.
1566         * malloc/tst-realloc.c: Include <libc-internal.h>.
1567         (do_test): Disable -Walloc-size-larger-than= around tests of
1568         realloc with negative sizes.
1570         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
1571         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
1572         allowed to 16 ulps.
1573         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
1574         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
1575         * math/auto-libm-test-out: Regenerated.
1577 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1579         * math/Makefile (libm-calls): Move wrappers...
1580         (libm-compat-call-auto): Here.
1581         (libm-routines): Add items in libm-compat-calls-auto.
1582         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
1583         the filenames of the wrappers that have been renamed.
1584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
1585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1587         * math/w_acos.c: Add _compat suffix to filename.
1588         * math/w_acosf.c: Likewise.
1589         * math/w_acosh.c: Likewise.
1590         * math/w_acoshf.c: Likewise.
1591         * math/w_acoshl.c: Likewise.
1592         * math/w_acosl.c: Likewise.
1593         * math/w_asin.c: Likewise.
1594         * math/w_asinf.c: Likewise.
1595         * math/w_asinl.c: Likewise.
1596         * math/w_atan2.c: Likewise.
1597         * math/w_atan2f.c: Likewise.
1598         * math/w_atan2l.c: Likewise.
1599         * math/w_atanh.c: Likewise.
1600         * math/w_atanhf.c: Likewise.
1601         * math/w_atanhl.c: Likewise.
1602         * math/w_cosh.c: Likewise.
1603         * math/w_coshf.c: Likewise.
1604         * math/w_coshl.c: Likewise.
1605         * math/w_exp10.c: Likewise.
1606         * math/w_exp10f.c: Likewise.
1607         * math/w_exp10l.c: Likewise.
1608         * math/w_exp2.c: Likewise.
1609         * math/w_exp2f.c: Likewise.
1610         * math/w_exp2l.c: Likewise.
1611         * math/w_fmod.c: Likewise.
1612         * math/w_fmodf.c: Likewise.
1613         * math/w_fmodl.c: Likewise.
1614         * math/w_hypot.c: Likewise.
1615         * math/w_hypotf.c: Likewise.
1616         * math/w_hypotl.c: Likewise.
1617         * math/w_j0.c: Likewise.
1618         * math/w_j0f.c: Likewise.
1619         * math/w_j0l.c: Likewise.
1620         * math/w_j1.c: Likewise.
1621         * math/w_j1f.c: Likewise.
1622         * math/w_j1l.c: Likewise.
1623         * math/w_jn.c: Likewise.
1624         * math/w_jnf.c: Likewise.
1625         * math/w_jnl.c: Likewise.
1626         * math/w_log10.c: Likewise.
1627         * math/w_log10f.c: Likewise.
1628         * math/w_log10l.c: Likewise.
1629         * math/w_log2.c: Likewise.
1630         * math/w_log2f.c: Likewise.
1631         * math/w_log2l.c: Likewise.
1632         * math/w_log.c: Likewise.
1633         * math/w_logf.c: Likewise.
1634         * math/w_logl.c: Likewise.
1635         * math/w_pow.c: Likewise.
1636         * math/w_powf.c: Likewise.
1637         * math/w_powl.c: Likewise.
1638         * math/w_remainder.c: Likewise.
1639         * math/w_remainderf.c: Likewise.
1640         * math/w_remainderl.c: Likewise.
1641         * math/w_scalb.c: Likewise.
1642         * math/w_scalbf.c: Likewise.
1643         * math/w_scalbl.c: Likewise.
1644         * math/w_sinh.c: Likewise.
1645         * math/w_sinhf.c: Likewise.
1646         * math/w_sinhl.c: Likewise.
1647         * math/w_sqrt.c: Likewise.
1648         * math/w_sqrtf.c: Likewise.
1649         * math/w_sqrtl.c: Likewise.
1650         * math/w_tgamma.c: Likewise.
1651         * math/w_tgammaf.c: Likewise.
1652         * math/w_tgammal.c: Likewise.
1654         * math/w_acos_compat.c: New file copied from above and
1655         adjusted for new #includes path
1656         * math/w_acosf_compat.c: Likewise.
1657         * math/w_acosh_compat.c: Likewise.
1658         * math/w_acoshf_compat.c: Likewise.
1659         * math/w_acoshl_compat.c: Likewise.
1660         * math/w_acosl_compat.c: Likewise.
1661         * math/w_asin_compat.c: Likewise.
1662         * math/w_asinf_compat.c: Likewise.
1663         * math/w_asinl_compat.c: Likewise.
1664         * math/w_atan2_compat.c: Likewise.
1665         * math/w_atan2f_compat.c: Likewise.
1666         * math/w_atan2l_compat.c: Likewise.
1667         * math/w_atanh_compat.c: Likewise.
1668         * math/w_atanhf_compat.c: Likewise.
1669         * math/w_atanhl_compat.c: Likewise.
1670         * math/w_cosh_compat.c: Likewise.
1671         * math/w_coshf_compat.c: Likewise.
1672         * math/w_coshl_compat.c: Likewise.
1673         * math/w_exp10_compat.c: Likewise.
1674         * math/w_exp10f_compat.c: Likewise.
1675         * math/w_exp10l_compat.c: Likewise.
1676         * math/w_exp2_compat.c: Likewise.
1677         * math/w_exp2f_compat.c: Likewise.
1678         * math/w_exp2l_compat.c: Likewise.
1679         * math/w_fmod_compat.c: Likewise.
1680         * math/w_fmodf_compat.c: Likewise.
1681         * math/w_fmodl_compat.c: Likewise.
1682         * math/w_hypot_compat.c: Likewise.
1683         * math/w_hypotf_compat.c: Likewise.
1684         * math/w_hypotl_compat.c: Likewise.
1685         * math/w_j0_compat.c: Likewise.
1686         * math/w_j0f_compat.c: Likewise.
1687         * math/w_j0l_compat.c: Likewise.
1688         * math/w_j1_compat.c: Likewise.
1689         * math/w_j1f_compat.c: Likewise.
1690         * math/w_j1l_compat.c: Likewise.
1691         * math/w_jn_compat.c: Likewise.
1692         * math/w_jnf_compat.c: Likewise.
1693         * math/w_jnl_compat.c: Likewise.
1694         * math/w_log10_compat.c: Likewise.
1695         * math/w_log10f_compat.c: Likewise.
1696         * math/w_log10l_compat.c: Likewise.
1697         * math/w_log2_compat.c: Likewise.
1698         * math/w_log2f_compat.c: Likewise.
1699         * math/w_log2l_compat.c: Likewise.
1700         * math/w_log_compat.c: Likewise.
1701         * math/w_logf_compat.c: Likewise.
1702         * math/w_logl_compat.c: Likewise.
1703         * math/w_pow_compat.c: Likewise.
1704         * math/w_powf_compat.c: Likewise.
1705         * math/w_powl_compat.c: Likewise.
1706         * math/w_remainder_compat.c: Likewise.
1707         * math/w_remainderf_compat.c: Likewise.
1708         * math/w_remainderl_compat.c: Likewise.
1709         * math/w_scalb_compat.c: Likewise.
1710         * math/w_scalbf_compat.c: Likewise.
1711         * math/w_scalbl_compat.c: Likewise.
1712         * math/w_sinh_compat.c: Likewise.
1713         * math/w_sinhf_compat.c: Likewise.
1714         * math/w_sinhl_compat.c: Likewise.
1715         * math/w_sqrt_compat.c: Likewise.
1716         * math/w_sqrtf_compat.c: Likewise.
1717         * math/w_sqrtl_compat.c: Likewise.
1718         * math/w_tgamma_compat.c: Likewise.
1719         * math/w_tgammaf_compat.c: Likewise.
1720         * math/w_tgammal_compat.c: Likewise.
1722         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
1723         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1724         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
1725         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1726         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1727         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1728         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
1729         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1730         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1731         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
1732         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
1733         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
1734         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1735         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1736         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1737         * sysdeps/ia64/fpu/w_powl.c: Likewise.
1738         * sysdeps/ia64/fpu/w_powf.c: Likewise.
1739         * sysdeps/ia64/fpu/w_pow.c: Likewise.
1740         * sysdeps/ia64/fpu/w_logl.c: Likewise.
1741         * sysdeps/ia64/fpu/w_logf.c: Likewise.
1742         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1743         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1744         * sysdeps/ia64/fpu/w_log2.c: Likewise.
1745         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1746         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1747         * sysdeps/ia64/fpu/w_log10.c: Likewise.
1748         * sysdeps/ia64/fpu/w_log.c: Likewise.
1749         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1750         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1751         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1752         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1753         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1754         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1755         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1756         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1757         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1758         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1759         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1760         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1761         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1762         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1763         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1764         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1765         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1766         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1767         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1768         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1769         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1770         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
1771         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
1772         * sysdeps/ia64/fpu/w_asin.c: Likewise.
1773         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1774         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1775         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1776         * sysdeps/ia64/fpu/w_acos.c: Likewise.
1777         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1778         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1779         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1780         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
1781         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
1782         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
1783         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
1784         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
1785         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
1786         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
1787         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
1788         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
1789         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
1790         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
1791         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
1792         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
1793         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
1794         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
1795         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
1796         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
1797         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
1798         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
1799         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
1800         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
1801         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
1802         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
1803         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
1804         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
1805         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
1806         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
1807         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
1808         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
1809         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
1810         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
1811         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
1812         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
1813         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
1814         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
1815         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
1816         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
1817         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
1818         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
1819         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
1820         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
1821         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
1822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
1823         Likewise.
1824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
1825         Likewise.
1826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
1827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
1828         Likewise.
1829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
1830         Likewise.
1831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
1832         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1833         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1834         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1835         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1836         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1837         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
1839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
1841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1842         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1843         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1844         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1845         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1847         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
1848         and adjusted for new #includes path
1849         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
1850         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
1851         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
1852         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
1853         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
1854         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
1855         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
1856         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
1857         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
1858         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
1859         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
1860         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
1861         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
1862         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
1863         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
1864         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
1865         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
1866         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
1867         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
1868         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
1869         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
1870         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
1871         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
1872         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
1873         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
1874         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
1875         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
1876         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
1877         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
1878         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
1879         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
1880         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
1881         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
1882         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
1883         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
1884         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
1885         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
1886         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
1887         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
1888         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
1889         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
1890         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
1891         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
1892         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
1893         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
1894         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
1895         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
1896         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
1897         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
1898         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
1899         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
1900         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
1901         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
1902         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
1903         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
1904         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
1905         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
1906         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
1907         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
1908         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1909         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1910         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
1911         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1912         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
1913         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1914         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
1915         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1916         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
1917         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1918         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
1919         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
1920         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
1921         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1922         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
1923         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1924         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
1925         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1926         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
1927         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1928         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
1929         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1930         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
1931         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1932         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
1933         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1934         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
1935         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1936         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
1937         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1938         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
1939         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1940         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
1941         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
1942         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
1943         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1944         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
1945         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1946         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
1947         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1949         Likewise.
1950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1951         Likewise.
1952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1953         Likewise.
1954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1955         Likewise.
1956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1957         Likewise.
1958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1959         Likewise.
1960         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1962         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1963         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1964         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
1965         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1967         Likewise.
1968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1969         Likewise.
1970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1971         Likewise.
1972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1973         Likewise.
1974         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
1975         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1976         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1977         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1979 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1981         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
1982         __jmp_buf_internal_tag.
1984         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
1985         preserve NaN payload if [__mips_nan2008].
1986         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1988         [BZ #21022]
1989         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
1991 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
1993         * sysdeps/i386/fpu/libm-test-ulps: Update.
1995 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1997         * sysdeps/ia64/strcat.c: Remove file.
1998         * sysdeps/powerpc/strcat.c: Likewise.
1999         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
2000         C implementation.
2001         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
2002         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
2004 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2005             Steven Munroe  <sjmunroe@us.ibm.com>
2006             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2008         [BZ #20822]
2009         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2010         (__lll_lock_elision): Access adapt_count via C11 atomics.
2011         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2012         (__lll_trylock_elision): Likewise.
2013         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2014         (__lll_unlock_elision):  Update adapt_count variable inside the
2015         critical section using C11 atomics.
2017 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2019         * math/test-fenvinline.c (do_test): Disable tests of raised
2020         exceptions if !EXCEPTION_TESTS (FLOAT).
2022 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2024         [BZ #19390]
2025         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
2026         maximum string size.
2027         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
2028         in pointer addition.
2029         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
2030         Likewise.
2032 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2034         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
2035         passed to tst-ldconfig-X.sh.
2037 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
2039         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
2041 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2043         [BZ #21019]
2044         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
2045         New syscall entry.
2046         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
2047         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
2048         lseek.
2050         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2051         power4 glibc for powerpc-linux-gnu.
2053 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2055         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2056         semctl.
2058 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2060         * math/test-nearbyint-except.c: Include <stdbool.h>.
2061         (any_supported): New variable.
2062         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
2063         set any_supported.
2064         (do_test): Return 77 if no floating-point type supported
2065         exceptions.
2067         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2068         condition on [__mips_hard_float].
2070 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2072         [BZ #21014]
2073         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2074         in pointer addition.
2075         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2077 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2079         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2080         new condvar.
2082 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2084         * scripts/build-many-glibcs.py (Context.checkout): Default
2085         binutils version to 2.28 branch.
2087 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2089         * support/support_format_netent.c (support_format_netent): Work
2090         around alpha struct netent definition difference.
2092 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2094         * support/xwrite.c (xwrite): Use %td for pointer difference.
2096 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2098         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2099         have-tunables only.
2100         (tests-static): Add tst-malloc-usable-static-tunables for
2101         have-tunables only.
2103 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2105         * scripts/config.guess: Update to version 2017-01-01.
2106         * scripts/config.sub: Update to version 2017-01-01.
2108         * NEWS: Update copyright dates.
2109         * catgets/gencat.c (print_version): Likewise.
2110         * csu/version.c (banner): Likewise.
2111         * debug/catchsegv.sh: Likewise.
2112         * debug/pcprofiledump.c (print_version): Likewise.
2113         * debug/xtrace.sh (do_version): Likewise.
2114         * elf/ldconfig.c (print_version): Likewise.
2115         * elf/ldd.bash.in: Likewise.
2116         * elf/pldd.c (print_version): Likewise.
2117         * elf/sotruss.sh: Likewise.
2118         * elf/sprof.c (print_version): Likewise.
2119         * iconv/iconv_prog.c (print_version): Likewise.
2120         * iconv/iconvconfig.c (print_version): Likewise.
2121         * locale/programs/locale.c (print_version): Likewise.
2122         * locale/programs/localedef.c (print_version): Likewise.
2123         * login/programs/pt_chown.c (print_version): Likewise.
2124         * malloc/memusage.sh (do_version): Likewise.
2125         * malloc/memusagestat.c (print_version): Likewise.
2126         * malloc/mtrace.pl: Likewise.
2127         * manual/libc.texinfo: Likewise.
2128         * nptl/version.c (banner): Likewise.
2129         * nscd/nscd.c (print_version): Likewise.
2130         * nss/getent.c (print_version): Likewise.
2131         * nss/makedb.c (print_version): Likewise.
2132         * posix/getconf.c (main): Likewise.
2133         * scripts/test-installation.pl: Likewise.
2134         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2136         * All files with FSF copyright notices: Update copyright dates
2137         using scripts/update-copyrights.
2138         * intl/plural.c: Regenerated.
2139         * locale/programs/charmap-kw.h: Likewise.
2140         * locale/programs/locfile-kw.h: Likewise.
2142 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2144         [BZ #20593]
2145         Update DNS RR type definitions.
2146         * scripts/gen-rrtypes.py: New file.
2147         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2148         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2149         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2150         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2151         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2152         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2153         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2154         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2155         ns_t_ta, ns_t_dlv.
2156         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2157         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2158         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2159         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2160         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2161         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2162         Define.
2163         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2164         entry for ns_t_zxfr.
2166 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2168         [BZ #18784]
2169         CVE-2015-5180
2170         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2171         T_UNSPEC.  Adjust value.
2172         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2173         * resolv/res_query.c (__libc_res_nquery): Likewise.
2174         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2175         QTYPEs.
2176         * resolv/tst-resolv-qtypes.c: New file.
2177         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2178         (tst-resolv-qtypes): Link against libresolv and libpthread.
2180 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2182         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2184 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2186         * manual/tunables.texi: New chapter.
2187         * manual/Makefile (chapters): Add it.
2188         * manual/probes.texi (@node): Point to the Tunables chapter.
2190         * Makeconfig (have-tunables): Check for non-negative instead
2191         of positive.
2192         * configure.ac: Add 'valstring' as a valid value for
2193         --enable-tunables.
2194         * configure: Regenerate.
2195         * elf/Makefile (have-tunables): Check for non-negative instead
2196         of positive.
2197         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2198         dl-tunables.c.
2199         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2200         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2201         (tunables_strdup): Likewise.
2202         (disable_tunables): Likewise.
2203         (parse_tunables): Likewise.
2204         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2205         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2206         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2207         (TUNABLES_FRONTEND_yes): New macro, define as
2208         TUNABLES_FRONTEND_valstring by default.
2209         * manual/install.texi: Document new acceptable values for
2210         --enable-tunables.
2211         * INSTALL: Regenerate.
2213         * config.make.in (have-loop-to-function): Define.
2214         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2215         -fno-tree-loop-distribute-patterns.
2216         * elf/dl-tunables.c: Include libc-internals.h.
2217         (GLIBC_TUNABLES): New macro.
2218         (tunables_strdup): New function.
2219         (parse_tunables): New function.
2220         (min_strlen): New function.
2221         (__tunables_init): Use the new functions and macro.
2222         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2223         * malloc/tst-malloc-usable-tunables.c: New test case.
2224         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2225         * malloc/Makefile (tests, tests-static): Add tests.
2227         * manual/install.texi: Add --enable-tunables option.
2228         * INSTALL: Regenerate.
2229         * README.tunables: New file.
2230         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2231         (before-compile): Generate dl-tunable-list.h early.
2232         * config.h.in: Add HAVE_TUNABLES.
2233         * config.make.in: Add have-tunables.
2234         * configure.ac: Add --enable-tunables option.
2235         * configure: Regenerate.
2236         * csu/init-first.c (__libc_init_first): Move
2237         __libc_init_secure earlier...
2238         * csu/init-first.c (LIBC_START_MAIN):... to here.
2239         Include dl-tunables.h, libc-internal.h.
2240         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2241         binaries.
2242         * elf/Makefile (dl-routines): Add dl-tunables.
2243         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2244         namespace.
2245         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2246         only when !HAVE_TUNABLES.
2247         * elf/rtld.c (process_envvars): Likewise.
2248         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2249         (_dl_sysdep_start): Call __tunables_init.
2250         * elf/dl-tunable-types.h: New file.
2251         * elf/dl-tunables.c: New file.
2252         * elf/dl-tunables.h: New file.
2253         * elf/dl-tunables.list: New file.
2254         * malloc/tst-malloc-usable-static.c: New test case.
2255         * malloc/Makefile (tests-static): Add it.
2256         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2257         Define TUNABLE_NAMESPACE.
2258         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2259         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2260         callback functions.
2261         (ptmalloc_init): Set tunable values.
2262         * scripts/gen-tunables.awk: New file.
2263         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2264         (_dl_sysdep_start): Call __tunables_init.
2266 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2268         * resolv/resolv.h (RES_BLAST): Deprecate.
2269         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2270         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2271         to RES_BLAST.
2273 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2275         [BZ #19582]
2276         Deprecate RES_USE_INET6.
2277         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2278         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2279         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2280         RES_USE_INET6.
2281         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2282         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2283         (_nss_nisplus_gethostbyaddr_r): Likewise.
2284         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2285         of res_use_inet6.
2286         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2287         instead of RES_USE_INET6.
2288         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2289         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2290         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2291         Likewise.
2292         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2293         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2294         Likewise.
2295         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2296         (_nss_dns_gethostbyname_r): Likewise.
2297         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2298         alternate RES_USE_INET6 handling.
2299         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2300         instead of RES_USE_INET6.
2301         * resolv/res_init.c (res_setoptions): Likewise.
2302         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2303         * resolv/resolv-internal.h: New file.
2304         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2305         make the deprecation warning non-fatal.
2306         * resolv/README (Using the resolver in multi-threaded code): Drop
2307         reference to RES_USE_INET6.
2308         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2309         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2311 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2313         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2314         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2315         tst-resolv-search.
2316         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2317         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2318         with libresolv and libpthread.
2319         * resolv/tst-bug18665.c: New file.
2320         * resolv/tst-bug18665-tcp: Likewise.
2321         * resolv/tst-res_use_inet6: Likewise.
2322         * resolv/tst-resolv-basic: Likewise.
2323         * resolv/tst-resolv-network: Likewise.
2324         * resolv/tst-resolv-search: Likewise.
2325         * support/Makefile (libsupport-routines): Add check_addrinfo,
2326         check_dns_packet, check_hostent, check_netent, resolv_test,
2327         support_format_address_family, support_format_addrinfo,
2328         support_format_dns_packet, support_format_herrno,
2329         support_format_hostent, support_format_netent, support_run_diff,
2330         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2331         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2332         xstrdup, xwrite.
2333         * support/check_addrinfo.c: New file.
2334         * support/check_dns_packet.c: Likewise.
2335         * support/check_hostent.c: Likewise.
2336         * support/check_netent.c: Likewise.
2337         * support/check_nss.h: Likewise.
2338         * support/format_nss.h: Likewise.
2339         * support/resolv_test.c: Likewise.
2340         * support/resolv_test.h: Likewise.
2341         * support/run_diff.h: Likewise.
2342         * support/support_format_address_family.c: Likewise.
2343         * support/support_format_addrinfo.c: Likewise.
2344         * support/support_format_dns_packet.c: Likewise.
2345         * support/support_format_herrno.c: Likewise.
2346         * support/support_format_hostent.c: Likewise.
2347         * support/support_format_netent.c: Likewise.
2348         * support/support_run_diff.c: Likewise.
2349         * support/xaccept.c: Likewise.
2350         * support/xbind.c: Likewise.
2351         * support/xconnect.c: Likewise.
2352         * support/xfclose.c: Likewise.
2353         * support/xfopen.c: Likewise.
2354         * support/xgetsockname.c: Likewise.
2355         * support/xlisten.c: Likewise.
2356         * support/xmemstream.c: Likewise.
2357         * support/xmemstream.h: Likewise.
2358         * support/xpoll.c: Likewise.
2359         * support/xpthread_once.c: Likewise.
2360         * support/xrecvfrom.c: Likewise.
2361         * support/xsendto.c: Likewise.
2362         * support/xsetsockopt.c: Likewise.
2363         * support/xstdio.h: Likewise.
2364         * support/xstrdup.c: Likewise.
2365         * support/support.h (xstrdup): Declare.
2366         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
2367         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
2368         * support/xthread.h (xpthread_once): Likwise.
2369         * support/xunistd.h (xwrite): Declare.
2371 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2373         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
2374         (test_verbose): Declare.
2375         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
2376         * support/support_test_main.c (default_options): Likewise.
2377         (usage, support_test_main): Handle 'v'.
2378         (test_verbose): Define.
2379         * support/tst-support_record_failure.c (do_test): Use
2380         test_verbose.
2381         * support/tst-support_record_failure-2.sh (different_status): Add
2382         --verbose test.
2384 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2386         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
2387         test failures are recorded.
2388         * support/check.c (support_print_failure_impl): Call
2389         support_record_failure.
2390         (support_exit_failure_impl): Call support_record_failure if status
2391         indicates failure.
2392         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
2393         * support/xasprintf.c (xasprintf): Likewise.
2394         * support/xfork.c (xfork): Likewise.
2395         * support/xpthread_check_return.c (xpthread_check_return):
2396         Likewise.
2397         * support/xsocket.c (xsocket): Likeweise.
2398         * support/xwaitpid.c (xwaitpid): Likewise.
2399         * support/support_record_failure.c (struct test_failures): Adjust
2400         to coding style.
2401         * support/support_test_verify_impl.c (support_test_verify_impl):
2402         Adjust error messages.
2403         * support/tst-support_record_failure-2.sh (different_status):
2404         Adjust error messages.
2406 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2408         * support/namespace.h: New file.
2409         * support/support_become_root.c: Likewise.
2410         * support/support_enter_network_namespace.c: Likewise.
2411         * support/tst-support-namespace.c: Likewise.
2412         * support/xsocket.c: Likewise.
2413         * support/xsocket.h: Likewise.
2414         * support/Makefile (libsupport-routines): Add support_become_root,
2415         support_enter_network_namespace, xsocket.
2416         (tests): Add tst-support-namespace.
2418 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2420         [BZ #17252]
2421         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
2422         __USE_GNU.
2424 2016-12-31  Torvald Riegel  <triegel@redhat.com>
2426         [BZ #13165]
2427         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
2428         use new algorithm.
2429         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2430         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2431         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2432         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2433         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
2434         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
2435         __condvar_cleanup_waiting, __condvar_dec_grefs,
2436         __pthread_cond_wait_common): New.
2437         (__condvar_cleanup): Remove.
2438         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
2439         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
2440         Likewise.
2441         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
2442         Likewise.
2443         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
2444         * nptl/tst-cond1.c: Add comment.
2445         * nptl/tst-cond20.c (do_test): Adapt.
2446         * nptl/tst-cond22.c (do_test): Likewise.
2447         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
2448         structure.
2449         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2450         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2451         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2452         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
2453         Likewise.
2454         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2455         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2456         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2457         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2458         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2459         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
2460         Likewise.
2461         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
2462         Likewise.
2463         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2464         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
2465         (COND_CLOCK_BITS): Adapt.
2466         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
2467         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
2468         __PTHREAD_COND_SHARED_MASK): New.
2469         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
2470         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
2471         * nptl/nptl_lock_constants.pysym: Adapt.
2472         * nptl/test-cond-printers.py: Adapt.
2473         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
2474         cond_compat_check_and_clear): Adapt.
2475         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
2476         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2477         (__pthread_cond_timedwait): ... and move here.
2478         * nptl/DESIGN-condvar.txt: Remove file.
2479         * nptl/lowlevelcond.sym: Likewise.
2480         * nptl/pthread_cond_timedwait.c: Likewise.
2481         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
2482         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
2483         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2484         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
2485         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
2486         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
2487         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
2488         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
2489         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
2490         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
2491         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
2492         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
2493         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
2494         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
2495         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
2496         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
2498 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
2500         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2501         (fromfp): New declaration.
2502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2505         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
2506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
2507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2510         * math/math.h: Include <bits/types.h>.
2511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
2512         constant and macro.
2513         (FP_INT_DOWNWARD): Likewise.
2514         (FP_INT_TOWARDZERO): Likewise.
2515         (FP_INT_TONEARESTFROMZERO): Likewise.
2516         (FP_INT_TONEAREST): Likewise.
2517         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
2518         (fromfpf): Likewise.
2519         (fromfpl): Likewise.
2520         (ufromfp): Likewise.
2521         (ufromfpf): Likewise.
2522         (ufromfpl): Likewise.
2523         (fromfpx): Likewise.
2524         (fromfpxf): Likewise.
2525         (fromfpxl): Likewise.
2526         (ufromfpx): Likewise.
2527         (ufromfpxf): Likewise.
2528         (ufromfpxl): Likewise.
2529         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
2530         s_fromfpxF and s_ufromfpxF.
2531         * math/gen-fromfp-tests.py: New file.
2532         * math/gen-fromfp-tests-inputs: Likewise.
2533         * math/libm-test.inc: Include <stdint.h>
2534         (check_intmax_t): New function.
2535         (check_uintmax_t): Likewise.
2536         (struct test_fiu_M_data): New type.
2537         (struct test_fiu_U_data): Likewise.
2538         (RUN_TEST_fiu_M): New macro.
2539         (RUN_TEST_LOOP_fiu_M): Likewise.
2540         (RUN_TEST_fiu_U): Likewise.
2541         (RUN_TEST_LOOP_fiu_U): Likewise.
2542         (fromfp_test_data): New array.
2543         (fromfp_test): New function.
2544         (fromfpx_test_data): New array.
2545         (fromfpx_test): New function.
2546         (ufromfp_test_data): New array.
2547         (ufromfp_test): New function.
2548         (ufromfpx_test_data): New array.
2549         (ufromfpx_test): New function.
2550         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
2551         ufromfpx_test.
2552         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
2553         characters.
2554         * math/test-tgmath-ret.c: Include <stdint.h>.
2555         (rm): New variable.
2556         (width): Likewise.
2557         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
2558         called function.
2559         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
2560         CHECK_RET_CONST_TYPE.
2561         (CHECK_RET_CONST_DOUBLE): Likewise.
2562         (CHECK_RET_CONST_LDOUBLE): Likewise.
2563         (CHECK_RET_CONST): Take extra arguments and pass them to calls
2564         macros.
2565         (fromfp): New CHECK_RET_CONST call.
2566         (ufromfp): Likewise.
2567         (fromfpx): Likewise.
2568         (ufromfpx): Likewise.
2569         (do_test): Call check_return_fromfp, check_return_ufromfp,
2570         check_return_fromfpx and check_return_ufromfpx.
2571         * math/test-tgmath.c: Include <stdint.h>
2572         (NCALLS): Increase to 138.
2573         (F(compile_test)): Initialize i.  Call fromfp functions.
2574         (F(fromfp)): New function.
2575         (F(fromfpx)): Likewise.
2576         (F(ufromfp)): Likewise.
2577         (F(ufromfpx)): Likewise.
2578         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
2579         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
2580         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
2581         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
2582         ufromfpxl.
2583         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
2584         ufromfp and ufromfpx.
2585         * math/fromfp.h: New file.
2586         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
2587         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
2588         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
2589         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
2590         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
2591         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
2592         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
2593         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
2594         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
2595         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
2596         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
2597         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
2598         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
2599         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
2600         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
2601         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
2602         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
2603         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
2604         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
2605         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
2606         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
2607         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
2608         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
2609         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
2610         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
2611         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
2612         ufromfp, fromfpx and ufromfpx.
2613         (CFLAGS-nldbl-fromfp.c): New variable.
2614         (CFLAGS-nldbl-fromfpx.c): Likewise.
2615         (CFLAGS-nldbl-ufromfp.c): Likewise.
2616         (CFLAGS-nldbl-ufromfpx.c): Likewise.
2617         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
2618         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
2619         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
2620         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
2621         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
2622         * sysdeps/nacl/libm.abilist: Update.
2623         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2624         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2625         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2626         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2628         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2629         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2630         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2631         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2632         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2633         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2634         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2636         Likewise.
2637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2638         Likewise.
2639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2640         Likewise.
2641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2642         Likewise.
2643         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2644         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2645         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2646         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2647         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2649         Likewise.
2650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2651         Likewise.
2652         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2653         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2654         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2656 2016-12-30  Florian Weimer  <fweimer@redhat.com>
2658         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
2659         compat-gethnamaddr.
2660         (CPPFLAGS): Remove.
2661         * resolv/gethnamaddr.c: Rename ...
2662         * resolv/compat-gethnamaddr.c: ... to this file.
2663         (_endhtent): Make static.
2664         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
2665         symbol.
2666         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
2667         compat symbol.
2668         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
2669         symbol.
2670         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
2671         Turn into compat symbol.
2672         * include/resolv.h (_endhtent): Remove declaration.
2674 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
2676         * bits/types.h (__intmax_t): New typedef.
2677         (__uintmax_t): Likewise.
2678         * sysdeps/generic/stdint.h: Include <bits/types.h>.
2679         (intmax_t): Define using __intmax_t.
2680         (uintmax_t): Define using __uintmax_t.
2682         * support/Makefile (tests-special): Make definition conditional on
2683         [$(run-built-tests) = yes].
2684         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
2685         on [$(run-built-tests) = yes].
2687 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2689         * Rules (tests): Add tests-printers-programs to tests to be
2690         built.
2692 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2694         * sysvipc/Makefile (tests): Add test-sysvshm.
2695         * sysvipc/test-sysvshm.c: New file.
2697         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
2698         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
2699         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
2700         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
2701         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
2702         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
2703         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
2704         Likewise.
2705         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
2706         Likewise.
2707         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
2708         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
2709         is defined.
2711         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
2712         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
2713         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
2714         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
2715         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
2716         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
2717         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
2718         Likewise.
2719         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
2720         Likewise.
2721         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
2722         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
2723         defined.
2725         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2726         oldshmctl.
2727         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
2728         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
2729         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
2730         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
2731         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
2732         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
2733         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
2734         Likewise.
2735         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
2736         Likewise.
2737         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
2738         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
2739         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
2740         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
2741         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
2742         implementation.
2743         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
2744         if it is defined.
2746         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
2747         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
2748         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
2749         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
2750         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
2751         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
2752         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
2753         Likewise.
2754         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
2755         Likewise.
2756         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
2757         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2758         Define to __NR_osf_shmat.
2759         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
2760         defined.
2762         * sysvipc/Makefile (tests): Add test-sysvsem.
2763         * sysvipc/test-sysvsem.c: New file.
2765         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
2766         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
2767         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
2768         Likewise.
2769         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
2770         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
2771         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
2772         Likewise.
2773         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
2774         Likewise.
2775         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
2776         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
2777         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
2778         add a comment about s390 syscall difference from default one.
2779         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
2780         syscall if it is defined.
2782         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
2783         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
2784         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
2785         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
2786         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
2787         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
2788         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
2789         Likewise.
2790         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
2791         Likewise.
2792         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
2793         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
2794         defined.
2796         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
2797         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
2798         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
2799         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
2800         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
2801         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
2802         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
2803         Likewise.
2804         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
2805         Likewise.
2806         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
2807         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
2808         if it is defined.
2810         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2811         oldsemctl.
2812         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
2813         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
2814         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
2815         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
2816         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
2817         implementation.
2818         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
2819         syscall if it is defined.
2820         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
2821         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
2822         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
2823         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
2824         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
2825         Likewise.
2826         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
2828         * sysvipc/Makefile (tests): Add test-sysvmsg.
2829         * sysvipc/test-sysvmsg.c: New file.
2830         * support/check.h (FAIL_UNSUPPORTED): New define.
2832         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
2833         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
2834         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
2835         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
2836         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
2837         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
2838         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
2839         Likewise.
2840         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
2841         Likewise.
2842         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
2843         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
2844         define.
2846         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
2847         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
2848         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
2849         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
2850         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
2851         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
2852         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
2853         Likewise.
2854         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
2855         Likewise.
2856         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
2857         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
2858         if defined.
2860         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
2861         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
2862         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
2863         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
2864         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
2865         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
2866         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
2867         Likewise.
2868         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
2869         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
2870         Likewise.
2871         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
2872         if defined.
2873         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
2875         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2876         oldmsgctl.
2877         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
2878         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
2879         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
2880         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
2881         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
2882         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
2883         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
2884         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
2885         Likewise.
2886         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
2887         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
2888         implementation.
2889         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
2890         if defined.
2892         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
2893         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
2894         definition and define its own.
2895         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
2896         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
2897         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
2898         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
2899         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
2900         definitions to common header.
2901         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
2902         operation from ipc_ops.h.
2904         * sysdeps/unix/sysv/linux/kernel-features.h
2905         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
2906         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2907         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
2908         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2909         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2910         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2911         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2912         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2913         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2914         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2915         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2916         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2917         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2918         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2919         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2921 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2923         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
2924         overflow in pointer addition.
2926 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2928         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2929         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
2930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2931         (strchr): Add __strchr_power8 to list of strchr functions.
2932         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
2933         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
2934         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
2935         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
2936         (strchr): Add __strchr_power8 to ifunc list.
2937         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
2938         (__strchrnul): Add __strchrnul_power8 to ifunc list.
2939         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
2940         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
2942 2016-12-28  Florian Weimer  <fweimer@redhat.com>
2944         * support/Makefile (libsupport-routines): Add
2945         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
2946         (tests): Add tst-support_record_failure.
2947         (tests-special): tst-support_record_failure-2.
2948         (tst-support_record_failure-2.out): Depend on
2949         tst-support_record_failure-2.sh and tst-support_record_failure.
2950         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
2951         (support_test_verify_impl, support_record_failure)
2952         (support_report_failure, support_report_failure_reset): Declare.
2953         * support/support_test_main.c (adjust_exit_status): New function.
2954         (support_test_main): Call it to incorporate record test failures.
2955         * support/support_test_verify_impl.c: New file.
2956         * support/support_record_failure.c: Likewise.
2957         * support/tst-support_record_failure.c: Likewise.
2958         * support/tst-support_record_failure-2.sh: Likewise.
2959         * support/xunistd.h: Likewise.
2960         * support/xfork.c: Likewise.
2961         * support/xwaitpid.c: Likewise.
2963 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
2965         * scripts/check-c++-types.sh: Add comments.
2967 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
2969         [BZ #19514]
2970         * resolv/res_send.c: Fix typo in comment.
2971         * sysdeps/i386/i386-mcount.S: Likewise.
2972         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2973         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2974         * sysdeps/sparc/sparc-mcount.S: Likewise.
2976 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2978         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
2979         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
2980         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
2981         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
2982         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
2983         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
2984         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
2985         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
2987 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2989         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
2991 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2993         [BZ #17252]
2994         * posix/unistd.h (getentropy): Declare.
2996 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2998         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
2999         Remove.
3000         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
3001         (cmd): Remove spoof, nospoof, spoofalert.
3002         (parse_line): Ignore spoof-related lines.
3003         (do_init): Do not process RESOLV_SPOOF_CHECK.
3005 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3007         [BZ #20964]
3008         sunrpc: Always obtain AF_INET addresses from NSS.
3009         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
3010         * sunrpc/rpc_gethostbyname.c: New file.
3011         * sunrpc/Makefile (routines): Add it.
3012         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
3013         * sunrpc/clnt_simp.c (callrpc): Likewise.
3014         * sunrpc/getrpcport.c (getrpcport): Likewise.
3016 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3018         * sunrpc/rpcinfo.c: Remove.
3019         * sunrpc/Makefile: Remove comments referring to rpcinfo.
3021 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3023         [BZ# 19387]
3024         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
3025         addition.
3026         * string/test-memchr.c (do_test): Remove alignment limitation.
3027         (test_main): Add test that trigger BZ# 19387.
3029 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3031         [BZ #7065]
3032         Enable stack protectore if requested by ./configure.
3033         * Makeconfig (+stack-protector): New variable.
3034         (+cflags): Use it.
3036 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3038         [BZ #7065]
3039         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
3040         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
3041         (__rt_sigreturn_stub): Use inhibit_stack_protector.
3042         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3043         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
3045 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3047         [BZ #7065]
3048         * login/Makefile (pt_chown-cflags): Remove.
3049         * nscd/Makefile (CFLAGS-nscd): Likewise.
3050         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3052 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3054         [BZ #7065]
3055         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3056         non-libc-linking testcase.
3058 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3059             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3060             Florian Weimer  <fweimer@redhat.com>
3062         [BZ #7065]
3063         PLT avoidance for __stack_chk_fail*.
3064         * debug/Makefile (CFLAGS-stack_chk_fail.c)
3065         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3066         * debug/stack_chk_fail.c (__stack_chk_fail): Add
3067         __stack_chk_fail_local alias.
3068         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3069         (__stack_chk_fail): Turn into hidden reference to
3070         __stack_chk_fail_local.
3072 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3074         [BZ #7065]
3075         * configure.ac: Add check for unsupported stack-protection level.
3076         (libc_cv_predef_stack_protector): Remove.
3077         (no_ssp): New variable.
3078         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3079         (stack_protector): Set to -fno-stack-protector similarly.
3080         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3081         (libc_cv_asm_set_directive): Likewise.
3082         (libc_cv_protected_data): Likewise.
3083         (libc_cv_z_combreloc): Likewise.
3084         (libc_cv_hashstyle): Likewise.
3085         (libc_cv_has_glob_dat): Likewise.
3086         (libc_cv_output_format): Likewise.
3087         (libc_cv_output_format): Likewise.
3088         (libc_cv_ehdr_start): Likewise.
3089         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3090         (LIBC_LINKER_FEATURE): Likewise.
3091         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3093 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3095         [BZ #7065]
3096         * elf/Makefile (dummy-stack-chk-fail): New.
3097         (librtld.map): Use it.
3099 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3101         [BZ #7065]
3102         Compile the dynamic linker without stack protection.
3103         * elf/Makefile (elide-stack-protector): New.
3104         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3105         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3106         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3107         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3109 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3111         [BZ #7065]
3112         * config.make.in (have-ssp, no-stack-protector): New.
3113         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3114         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3115         (CFLAGS-sbrk.op): Likewise.
3116         (CFLAGS-brk.o): Likewise.
3117         (CFLAGS-brk.op): Likewise.
3118         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3119         (CFLAGS-wordcopy.c): Likewise.
3121 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3123         [BZ #7065]
3124         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3125         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3126         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3127         (__ifunc_resolver): Use it.
3128         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3129         inhibit_stack_protector.
3130         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3131         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3132         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3133         (foo_protected_ifunc): Likewise.
3134         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3135         (foo_protected_ifunc): Likewise.
3136         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3137         * sysdeps/nacl/nacl_interface_query.c
3138         (nacl_interface_query_ifunc): Likewise.
3139         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3140         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3141         Likewise.
3142         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3143         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3144         the generated vDSO syscall resolver.
3146 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3147             Florian Weimer  <fweimer@redhat.com>
3149         [BZ #7065]
3150         Initialize the stack guard earlier when linking statically.
3151         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3152         (__pthread_initialize_minimal): Declare.
3153         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3154         declaration.
3155         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3156         stack canary and apply_irel initialization up.  Call
3157         __pthread_initialize_minimal only if linked in.
3158         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3159         constant values.
3160         (__pthread_initialize_minimal): Remove.
3161         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3162         (__pthread_initialize_minimal_internal): Do not call
3163         __libc_setup_tls.
3165 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3167         [BZ #7065]
3168         * configure.ac (libc_cv_ssp): Move up.
3169         (libc_cv_ssp_strong): Likewise.
3170         (libc_cv_ssp_all): New.
3171         (stack_protector): Augment, adding -fstack-protector-all.
3172         (no_stack_protector): New.
3173         (STACK_PROTECTOR_LEVEL): New.
3174         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3175         * manual/install.texi (--enable-stack-protector): Document it.
3176         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3178 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3180         * README.pretty-printers: Must specify CPPFLAGS-* also.
3181         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3182         (CPPFLAGS-test-mutex-printers.c): Define.
3183         (CPPFLAGS-test-condattr-printers.c): Define.
3184         (CPPFLAGS-test-cond-printers.c): Define.
3185         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3186         (CPPFLAGS-test-rwlock-printers.c): Define.
3188         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3189         (tests): Add tst-cancel-getpwuid_r.
3190         * nss/tst-cancel-getpwuid_r.c: New file.
3192         [BZ #11941]
3193         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3194         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3195         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3196         tst-nodelete-dlclose.
3197         (modules-names): Add tst-nodelete-dlclose-dso and
3198         tst-nodelete-dlclose-plugin.
3199         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3200         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3201         ($(objpfx)tst-nodelete-dlclose): Define.
3202         ($(objpfx)tst-nodelete-dlclose.out): Define.
3204 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3206         * scripts/test_printers_common.py: Log GDB output in case of
3207         Python detection failure.
3209 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3211         * configure.ac: Check for python3 or python.
3212         * configure: Regenerated.
3213         * config.make.in (PYTHON): New variable.
3214         * benchtests/Makefile: Don't define PYTHON.
3215         (bench): Define target only if PYTHON was defined.
3216         * Rules: Don't define PYTHON.
3217         Define pretty printer targets only if PYTHON was defined.
3218         (tests-printers): Add to tests-unsupported if PYTHON is not
3219         found.
3220         (python-flags, python-invoke): Remove.
3221         (tests-printers-out): Use PYTHON instead of python-invoke.
3223 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3225         [BZ #20978]
3226         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3227         Compare name == NULL, not name != NULL.
3229         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3230         trailing whitespace removed.
3231         * scripts/config.guess: Update to version 2016-10-02.
3232         * scripts/config.sub: Update to version 2016-11-19.
3233         * scripts/install-sh: Update to version 2016-01-11.22.
3234         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3235         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3237 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3239         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3240         (do_one_test) Restore original string so iteration works.
3241         * string/string-inlines.c (do_test): Create better input strings.
3242         (test_main) Reduce number of testruns.
3243         * string/string-inlines.c (__old_strsep_1c): New function.
3244         (__old_strsep_2c): Likewise.
3245         (__old_strsep_3c): Likewise.
3246         * string/strsep.c (__strsep): Remove case of small delim string.
3247         Call strcspn directly rather than strpbrk.
3248         * string/bits/string2.h (__strsep): Remove define.
3249         (__strsep_1c): Remove.
3250         (__strsep_2c): Remove.
3251         (__strsep_3c): Remove.
3252         (strsep): Remove.
3253         * sysdeps/unix/sysv/linux/internal_statvfs.c
3254         (__statvfs_getflags): Rename to __strsep.
3256 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3258         * csu/libc-tls.c (_dl_tls_setup): Remove.
3259         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3260         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3261         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3263 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3265         [BZ #7065]
3266         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3267         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3269 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3270             Florian Weimer  <fweimer@redhat.com>
3272         [BZ #7065]
3273         * csu/Makefile (tests): Empty assignment and document it.
3274         (tests-static): Remove.
3275         * csu/tst-empty.c: Move to...
3276         * misc/tst-empty.c: ... here.  Switch to new test driver.
3277         * csu/tst-atomic.c: Move to...
3278         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3279         * csu/tst-atomic-long.c: Move to...
3280         * misc/tst-atomic-long.c: ... here.
3281         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3282         tst-atomic-long.
3283         (tests-static): Add tst-empty.
3285 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3287         * manual/nss.texi: Change incorrect @vtable to @table.
3288         * manual/arith.texi: Convert @tables of variables to @vtables
3289         and remove unnecessary indexing.
3290         * manual/filesys.texi: Likewise.
3291         * manual/llio.texi: Likewise.
3292         * manual/memory.texi: Likewise.
3293         * manual/process.texi: Likewise.
3294         * manual/resource.texi: Likewise.
3295         * manual/search.texi: Likewise.
3296         * manual/signal.texi: Likewise.
3297         * manual/socket.texi: Likewise.
3298         * manual/stdio.texi: Likewise.
3299         * manual/sysinfo.texi: Likewise.
3300         * manual/syslog.texi: Likewise.
3301         * manual/terminal.texi: Likewise.
3302         * manual/time.texi: Likewise.
3303         * manual/users.texi: Likewise.
3305 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3307         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3308         (roundeven): New declaration.
3309         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3310         macro.
3311         * math/Versions (roundeven): New libm symbol at version
3312         GLIBC_2.25.
3313         (roundevenf): Likewise.
3314         (roundevenl): Likewise.
3315         * math/Makefile (libm-calls): Add s_roundevenF.
3316         * math/libm-test.inc (roundeven_test_data): New array.
3317         (roundeven_test): New function.
3318         (main): Call roundeven_test.
3319         * math/test-tgmath.c (NCALLS): Increase to 134.
3320         (F(compile_test)): Call roundeven.
3321         (F(roundeven)): New function.
3322         * manual/arith.texi (Rounding Functions): Document roundeven,
3323         roundevenf and roundevenl.
3324         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3325         * include/math.h (roundeven): Use libm_hidden_proto.
3326         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3327         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3328         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3329         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3330         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3331         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3332         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3333         roundeven.
3334         (CFLAGS-nldbl-roundeven.c): New variable.
3335         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
3336         * sysdeps/nacl/libm.abilist: Update.
3337         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3338         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3339         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3340         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3341         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3342         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3343         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3344         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3345         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3346         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3347         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3348         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3350         Likewise.
3351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3352         Likewise.
3353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3354         Likewise.
3355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3356         Likewise.
3357         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3358         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3359         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3360         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3361         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3363         Likewise.
3364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3365         Likewise.
3366         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3367         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3368         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3370 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3372         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
3373         preprocessor indentation inside #if.
3375 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3377         * math/libm-test.inc (fmt_ftostr): New function.
3378         (print_float, check_float_internal): Replace some uses of
3379         FTOSTR with uses of fmt_ftostr.
3380         (print_max_error, print_complex_max_error, print_function_ulps)
3381         (print_complex_function_ulps): Remove uses of the macros
3382         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
3383         * math/test-double.h (FTOSTR): Define to strfromd.
3384         (PRINTF_EXPR): Delete.
3385         (PRINTF_XEXPR): Likewise.
3386         (PRINTF_NEXPR): Likewise.
3387         * math/test-float.h (FTOSTR): Define to strfromf.
3388         (PRINTF_EXPR): Delete.
3389         (PRINTF_XEXPR): Likewise.
3390         (PRINTF_NEXPR): Likewise.
3391         * math/test-ldouble.h (FTOSTR): Define to strfroml.
3392         (PRINTF_EXPR): Delete.
3393         (PRINTF_XEXPR): Likewise.
3394         (PRINTF_NEXPR): Likewise.
3396 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3398         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3399         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
3400         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3401         (__lll_lock_elision): Decrement adapt_count while unlocking
3402         instead of before locking.
3403         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3404         (__lll_trylock_elision): Likewise.
3405         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
3406         (__lll_unlock_elision): Likewise.
3408 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3410         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
3411         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
3412         Use __libc_tbegin_retry macro.
3414 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3416         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
3417         Add -msoft-float.
3418         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
3419         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3420         Use __libc_t* transaction macros instead of __builtin_t*.
3421         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3422         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3424 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3426         * sysdeps/unix/sysv/linux/s390/elision-lock.c
3427         (__lll_lock_elision): Use atomics to load / store adapt_count.
3428         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3429         (__lll_trylock_elision): Likewise.
3431 2016-12-20  Florian Weimer  <fweimer@redhat.com>
3433         Do not require memset elimination in explicit_bzero test.
3434         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
3435         (enum test_expectation): Add NO_EXPECTATIONS.
3436         (subtests): NO_EXPECTATIONS for ordinary clear.
3437         (check_test_buffer): Handle NO_EXPECTATIONS.
3438         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
3440 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3442         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3443         (fmaxmag): New declaration.
3444         (fminmag): Likewise.
3445         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
3446         macro.
3447         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
3448         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
3449         (fmaxmagf): Likewise.
3450         (fmaxmagl): Likewise.
3451         (fminmag): Likewise.
3452         (fminmagf): Likewise.
3453         (fminmagl): Likewise.
3454         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
3455         * math/s_fmaxmag_template.c: New file.
3456         * math/s_fminmag_template.c: Likewise.
3457         * math/libm-test.inc (fmaxmag_test_data): New array.
3458         (fmaxmag_test): New function.
3459         (fminmag_test_data): New array.
3460         (fminmag_test): New function.
3461         (main): Call fmaxmag_test and fminmag_test.
3462         * math/test-tgmath.c (NCALLS): Increase to 132.
3463         (F(compile_test)): Call fmaxmag and fminmag.
3464         (F(fminmag)): New function.
3465         (F(fmaxmag)): Likewise.
3466         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
3467         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
3468         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
3469         fminmag.
3470         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
3471         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
3472         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3473         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3474         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
3475         and fminmag.
3476         (CFLAGS-nldbl-fmaxmag.c): New variable.
3477         (CFLAGS-nldbl-fminmag.c): Likewise.
3478         * sysdeps/nacl/libm.abilist: Update.
3479         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3480         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3481         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3482         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3483         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3484         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3485         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3486         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3487         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3488         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3489         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3490         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3492         Likewise.
3493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3494         Likewise.
3495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3496         Likewise.
3497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3498         Likewise.
3499         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3500         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3501         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3502         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3503         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3505         Likewise.
3506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3507         Likewise.
3508         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3509         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3510         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3512 2016-12-19  Torvald Riegel  <triegel@redhat.com>
3514         [BZ #20973]
3515         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
3516         wake-up in robust mutexes.
3517         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3519 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3521         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
3522         (CFLAGS-bench-fmaxf.c): New rule.
3523         (CFLAGS-bench-fminf.c): Likewise.
3524         * benchtests/fmaxf-inputs: New file.
3525         * benchtests/fminf-inputs: Likewise.
3527         * benchtests/Makefile (bench-math): Add fmin and fmax.
3528         (CFLAGS-bench-fmax.c): New rule.
3529         (CFLAGS-bench-fmin.c): Likewise.
3530         * benchtests/fmax-inputs: New file.
3531         * benchtests/fmin-inputs: Likewise.
3533         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
3534         parenthesis.
3535         (CMDLINE_PROCESS): Define using function instead of macro.
3536         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
3537         of test-skeleton.
3538         * benchtests/bench-memchr.c: Likewise.
3539         * benchtests/bench-memcmp.c: Likewise.
3540         * benchtests/bench-memcpy-large.c: Likewise.
3541         * benchtests/bench-memcpy.c: Likewise.
3542         * benchtests/bench-memmem.c: Likewise.
3543         * benchtests/bench-memmove-large.c: Likewise.
3544         * benchtests/bench-memmove.c: Likewise.
3545         * benchtests/bench-memset-large.c: Likewise.
3546         * benchtests/bench-memset.c: Likewise.
3547         * benchtests/bench-rawmemchr.c: Likewise.
3548         * benchtests/bench-strcasecmp.c: Likewise.
3549         * benchtests/bench-strcasestr.c: Likewise.
3550         * benchtests/bench-strcat.c: Likewise.
3551         * benchtests/bench-strchr.c: Likewise.
3552         * benchtests/bench-strcmp.c: Likewise.
3553         * benchtests/bench-strcpy.c: Likewise.
3554         * benchtests/bench-strcpy_chk.c: Likewise.
3555         * benchtests/bench-strlen.c: Likewise.
3556         * benchtests/bench-strncasecmp.c: Likewise.
3557         * benchtests/bench-strncmp.c: Likewise.
3558         * benchtests/bench-strncpy.c: Likewise.
3559         * benchtests/bench-strnlen.c: Likewise.
3560         * benchtests/bench-strpbrk.c: Likewise.
3561         * benchtests/bench-strrchr.c: Likewise.
3562         * benchtests/bench-strsep.c: Likewise.
3563         * benchtests/bench-strspn.c: Likewise.
3564         * benchtests/bench-strstr.c: Likewise.
3565         * benchtests/bench-strtok.c: Likewise.
3567 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3569         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
3570         stepping identification.
3571         (init_cpu_features): Add handle of Haswell.
3573 2016-11-25  Jim Meyering  <meyering@fb.com>
3575         [BZ #20386]
3576         Let gcc detect assert(a = 1) errors.
3577         * assert/assert.h (assert): Rewrite, retaining the old definintion
3578         when required, but otherwise putting the expression as-is in an "if"
3579         expression (hence, with no added parentheses) within a statement
3580         expression.
3582 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3584         * benchtests/Makefile (binaries-benchset): Depend on libsupport
3585         DSO.
3587 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
3589         * Rules (python-flags, python-invoke): New.
3590         ($(test-printers-out)): Use $(python-flags).
3592 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3594         * manual/arith.texi (Math Error Reporting): Document that sNaN
3595         arguments are not considered domain errors.
3597 2016-12-16  Zack Weinberg <zackw@panix.com>
3598             Florian Weimer <fweimer@redhat.com>
3599             Nick Mathewson <nickm@torproject.org>
3601         * string/explicit_bzero.c: New routine.
3602         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
3603         * string/Makefile (routines, strop-tests, tests): Add them.
3604         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
3605         * string/string.h [__USE_MISC]: Declare explicit_bzero.
3607         * debug/explicit_bzero_chk.c: New routine.
3608         * debug/Makefile (routines): Add it.
3609         * debug/tst-chk1.c: Test fortification of explicit_bzero.
3610         * string/bits/string3.h: Fortify explicit_bzero.
3612         * manual/string.texi: Document explicit_bzero.
3613         * NEWS: Mention addition of explicit_bzero.
3615         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
3616         data before returning, using explicit_bzero.
3617         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
3618         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3619         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3621         * include/string.h: Redirect internal uses of explicit_bzero
3622         to __explicit_bzero_chk[_internal].
3623         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
3624         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
3625         * sysdeps/arm/nacl/libc.abilist
3626         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3627         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3628         * sysdeps/unix/sysv/linux/arm/libc.abilist
3629         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3630         * sysdeps/unix/sysv/linux/i386/libc.abilist
3631         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3632         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3633         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3634         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3635         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3636         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3637         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3638         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3639         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3644         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3645         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3646         * sysdeps/unix/sysv/linux/sh/libc.abilist
3647         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3648         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3651         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3652         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3653         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3654         Add entries for explicit_bzero and __explicit_bzero_chk.
3656 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3658         * math/fenv.h
3659         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
3660         (FE_SNANS_ALWAYS_SIGNAL): New macro.
3661         * math/test-fe-snans-always-signal.c: New file.
3662         * math/Makefile (tests): Add test-fe-snans-always-signal.
3663         (CFLAGS-test-fe-snans-always-signal.c): New variable.
3664         * manual/arith.texi (Infinity and NaN): Document
3665         FE_SNANS_ALWAYS_SIGNAL.
3667 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3669         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
3670         bracket.
3672 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3674         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
3675         before calling execv.
3677 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3679         [BZ# 20971]
3680         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
3681         overflow in pointer addition.
3682         * string/test-memchr.c (do_test): Add an argument to pass as
3683         the size on memchr.
3684         (test_main): Add check for SIZE_MAX.
3686 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3688         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
3689         (libm-calls): Add w_scalblnF.
3690         * math/w_scalbln.c: Remove.
3691         * math/w_scalblnf.c: Likewise.
3692         * math/w_scalblnl.c: Likewise.
3693         * math/w_scalbln_template.c: New file with type-generic
3694         implementation based on math/w_scalbln.c.
3695         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
3696         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
3698 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
3700         [BZ #20947]
3701         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
3702         either is a signaling NaN.
3703         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
3704         follow fmaxl more closely.
3705         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
3706         when either is a signaling NaN.
3707         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
3708         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
3709         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
3710         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
3711         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
3712         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
3713         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
3714         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
3715         (fmin_test_data): Likewise.
3717 2016-12-15  Andreas Schwab  <schwab@suse.de>
3719         * support/support_test_main.c (support_test_main): Don't shadow
3720         file-local variable test_pid.
3722 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
3724         [BZ #20947]
3725         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
3726         either is a signaling NaN.
3727         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
3729 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
3731         [BZ #20947]
3732         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
3733         when either is a signaling NaN.
3734         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
3736         * bits/long-double.h: New file.
3737         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
3738         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
3739         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
3740         * sysdeps/mips/bits/long-double.h: Likewise.
3741         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
3742         * math/Makefile (headers): Add bits/long-double.h.
3743         * misc/sys/cdefs.h: Include <bits/long-double.h>.
3744         * stdlib/strtold.c: Include <bits/long-double.h> instead of
3745         <bits/wordsize.h>.
3746         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
3747         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
3748         * math/math.h: Do not include <bits/mathdef.h>.
3749         * sysdeps/aarch64/bits/mathdef.h: Remove file.
3750         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
3751         inclusion.
3752         * sysdeps/ia64/bits/mathdef.h: Remove file.
3753         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
3754         * sysdeps/mips/bits/mathdef.h: Likewise.
3755         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3756         * sysdeps/s390/bits/mathdef.h: Likewise.
3757         * sysdeps/sparc/bits/mathdef.h: Likewise.
3758         * sysdeps/x86/bits/mathdef.h: Likewise.
3759         * sysdeps/s390/s390-32/bits/wordsize.h
3760         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
3761         conditional code.
3762         * sysdeps/s390/s390-64/bits/wordsize.h
3763         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3764         Likewise.
3765         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
3766         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3767         Likewise.
3768         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
3769         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3770         Likewise.
3771         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3772         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3773         Likewise.
3775         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
3776         <linux/falloc.h>.
3777         (FALLOC_FL_KEEP_SIZE): Remove.
3778         (FALLOC_FL_PUNCH_HOLE): Likewise.
3779         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
3780         (FALLOC_FL_ZERO_RANGE): Likewise.
3782 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3784         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
3786 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3788         * sysdeps/unix/sysv/linux/renameat.c: New file.
3789         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
3791         * sysdeps/unix/sysv/linux/rename.c: New file.
3792         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
3794 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
3796         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
3797         * string/strtok.c (strtok): Change to tailcall __strtok_r.
3798         * string/strtok_r.c (__strtok_r): Optimize for performance.
3799         * string/string-inlines.c (__old_strtok_r_1c): New function.
3800         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
3802 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3804         * math/Makefile (gen-libm-calls): Add w_log1pF.
3805         (libm-calls): Remove w_log1pF.
3806         * math/w_log1p.c: Remove.
3807         * math/w_log1pf.c: Likewise.
3808         * math/w_log1pl.c: Likewise.
3809         * math/w_log1p_template.c: New file with type-generic
3810         implementation based on math/w_log1p.c.
3811         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
3812         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
3814 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
3816         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
3818 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
3820         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3821         kernel version to 4.9.
3823 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
3825         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
3826         ($(inst_libdir)/libm.a): Fix rule to create the target only.
3828 2016-12-13  Andreas Schwab  <schwab@suse.de>
3830         * sysdeps/powerpc/dl-procinfo.c: Don't define
3831         _dl_powerpc_platforms.
3832         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
3833         constants instead of referencing _dl_powerpc_platforms.
3834         (_dl_platform_string): Remove.
3836 2016-12-13  Florian Weimer  <fweimer@redhat.com>
3838         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
3840 2016-12-13  Florian Weimer  <fweimer@redhat.com>
3842         * Rules (binaries-shared-tests, binaries-pie-tests)
3843         (binaries-static-tests): Link with $(link-extra-libs-tests).
3844         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
3845         Remove $(link-extra-libs-tests).
3847 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3849         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3850         (sysdep_routines): Add strncmp_power9.
3851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3852         (strncmp): Add __strncmp_power9 to list of strncmp functions.
3853         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
3854         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
3855         (strncmp): Add __strncmp_power9 to ifunc list.
3856         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
3858 2016-12-12  Florian Weimer  <fweimer@redhat.com>
3860         [BZ #17252]
3861         Add getentropy, getrandom.
3862         * stdlib/sys/random.h: New file.
3863         (headers): Add it.
3864         * stdlib/Makefile (routines): Add getentropy, getrandom.
3865         (tests): Add tst-getrandom.
3866         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
3867         * stdlib/getentropy.c: New file.
3868         * stdlib/getrandom.c: Likewise.
3869         * stdlib/tst-getrandom.c: Likewise.
3870         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
3871         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
3872         * manual/crypt.texi (Unpredictable Bytes): New section.
3873         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
3874         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
3875         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
3876         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3877         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3878         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3879         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3880         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3881         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3882         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3883         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3884         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3885         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3886         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3887         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3888         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3890         Likewise.
3891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3892         Likewise.
3893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3895         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3896         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3897         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3898         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3899         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3902         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3903         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3904         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3906 2016-12-10  Florian Weimer  <fweimer@redhat.com>
3908         [BZ #20956]
3909         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
3910         as additional compiler barriers.
3911         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
3912         (fn2, do_test): Declare with external linkage.
3913         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
3914         (do_test): Declare with external linkage.
3915         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
3916         (do_test): Declare with external linkage.
3917         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
3918         (do_test): Declare with external linkage.
3920 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
3922         * support/support_test_main.c (support_test_main): Use correct
3923         timeout.
3925 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
3926             Florian Weimer  <fweimer@redhat.com>
3928         [BZ #16421]
3929         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
3930         and __u6_addr32 members.
3931         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
3932         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
3933         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
3934         Use __u6_addr32.
3935         * inet/tst-checks.c: Use <support/test-driver.c>
3936         * inet/tst-checks-posix.c: New file.
3937         * inet/Makefile (tests): Add it.
3938         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
3940 2016-12-09  Florian Weimer  <fweimer@redhat.com>
3942         New subdirectory support for build and test infrastructure.
3943         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
3944         setting install-lib.
3945         * Makeconfig (link-extra-libs-tests): Define.
3946         (+link-pie-tests, +link-static-tests, +link-tests): Use
3947         link-extra-libs-tests.
3948         (rpath-dirs, all-subdirs): Add support.
3949         (built-modules): Add libsupport.
3950         (libsupport): Define.
3951         * support: New directory.
3952         * support/Makefile: New file.
3953         * support/check.c: Likewise.
3954         * support/check.h: Likewise.
3955         * support/delayed_exit.c: Likewise.
3956         * support/ignore_stderr.c: Likewise.
3957         * support/oom_error.c: Likewise.
3958         * support/set_fortify_handler.c: Likewise.
3959         * support/support.h: Likewise.
3960         * support/temp_file-internal.h: Likewise.
3961         * support/temp_file.c: Likewise.
3962         * support/test-driver.c: Likewise.
3963         * support/test-driver.h: Likewise.
3964         * support/test_main.c: Likewise.
3965         * support/write_message.c: Likewise.
3966         * support/xasprintf.c: Likewise.
3967         * support/xcalloc.c: Likewise.
3968         * support/xmalloc.c: Likewise.
3969         * support/xpthread_barrier_destroy.c: Likewise.
3970         * support/xpthread_barrier_init.c: Likewise.
3971         * support/xpthread_barrier_wait.c: Likewise.
3972         * support/xpthread_cancel.c: Likewise.
3973         * support/xpthread_check_return.c: Likewise.
3974         * support/xpthread_cond_wait.c: Likewise.
3975         * support/xpthread_create.c: Likewise.
3976         * support/xpthread_detach.c: Likewise.
3977         * support/xpthread_join.c: Likewise.
3978         * support/xpthread_mutex_lock.c: Likewise.
3979         * support/xpthread_mutex_unlock.c: Likewise.
3980         * support/xpthread_sigmask.c: Likewise.
3981         * support/xpthread_spin_lock.c: Likewise.
3982         * support/xpthread_spin_unlock.c: Likewise.
3983         * support/xrealloc.c: Likewise.
3984         * support/xsignal.h: Likewise.
3985         * support/xthread.h: Likewise.
3986         * support_tempfile.h: Likewise.
3987         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
3988         (TEST_DATA_LIMIT): Remove unused macro.
3989         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
3990         <support/check.h>.
3991         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
3992         (ignore_stderr, set_fortify_handler): Remove.  Now in
3993         <support/support.h>.
3994         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
3995         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
3996         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
3997         (xpthread_join): Remove.  Now in <support/xthread.h>.
3998         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
3999         Introduce legacy wrappers.
4000         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
4001         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
4002         (write_message): Remove.
4003         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
4004         test-skeleton.c.
4005         * io/test-open-tmpfile: Likewise.
4006         * io/tst-posix_fallocate-common.c: Likewise.
4007         * libio/tst-fseek.c: Likewise.
4008         * malloc/tst-malloc-backtrace.c: Likewise.
4009         * malloc/tst-malloc-fork-deadlock.c: Likewise.
4010         * malloc/tst-malloc-thread-exit.c: Likewise.
4011         * nptl/tst-cancel7.c: Likewise.
4012         * nptl/tst-cleanup0.c: Likewise.
4013         * posix/tst-posix_fadvise-common.c: Likewise.
4014         * rt/tst-shm.c: Likewise.
4015         * time/bug-getdate1.c: Likewise.
4016         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4017         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
4018         * elf/Makefile (tst-piemod1.so): Link against libsupport.
4020 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
4022         * Rules [$(run-built-tests) != no] (tests-expected): Add
4023         $(tests-printers).
4024         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
4026 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4028         [BZ #20539]
4029         * math/Makefile (install-lib-ldscripts): Add libm.a.
4030         (install_subdir): Remove.
4031         (install-others): Add.
4032         ($(inst_libdir)/libm.a): Add rule for installation as
4033         linker script.
4034         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
4036 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
4038         * INSTALL: Regenerated.
4039         * Makeconfig: Add comments and whitespace to make the control flow
4040         clearer.
4041         (+link-printers-tests, +link-pie-printers-tests,
4042         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
4043         built-rtld-LDFLAGS, link-libc-rpath,
4044         link-libc-tests-after-rpath-link,
4045         link-libc-printers-tests): New.
4046         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
4047         link-libc-tests): Use the new variables as required.
4048         * Makerules ($(py-const)): New rule.
4049         generated: Add $(py-const).
4050         * README.pretty-printers: New file.
4051         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4052         (others): Depend on $(py-const).
4053         (tests): Depend on $(tests-printers-programs) or
4054         $(tests-printers-out),
4055         as required.  Pass $(tests-printers) to merge-test-results.sh.
4056         * manual/install.texi: Add requirements for testing the pretty
4057         printers.
4058         * nptl/Makefile (gen-py-const-headers, pretty-printers,
4059         tests-printers, CFLAGS-test-mutexattr-printers.c
4060         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4061         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4062         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4063         * nptl/nptl-printers.py: New file.
4064         * nptl/nptl_lock_constants.pysym: Likewise.
4065         * nptl/test-cond-printers.c: Likewise.
4066         * nptl/test-cond-printers.py: Likewise.
4067         * nptl/test-condattr-printers.c: Likewise.
4068         * nptl/test-condattr-printers.py: Likewise.
4069         * nptl/test-mutex-printers.c: Likewise.
4070         * nptl/test-mutex-printers.py: Likewise.
4071         * nptl/test-mutexattr-printers.c: Likewise.
4072         * nptl/test-mutexattr-printers.py: Likewise.
4073         * nptl/test-rwlock-printers.c: Likewise.
4074         * nptl/test-rwlock-printers.py: Likewise.
4075         * nptl/test-rwlockattr-printers.c: Likewise.
4076         * nptl/test-rwlockattr-printers.py: Likewise.
4077         * scripts/gen-py-const.awk: Likewise.
4078         * scripts/test_printers_common.py: Likewise.
4079         * scripts/test_printers_exceptions.py: Likewise.
4081 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4083         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4084         argument.
4085         (Glibc.build_glibc): Strip installed shared libraries if
4086         requested.
4087         (get_parser): Add --strip option.
4088         (main): Update Context call.
4090 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4091             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4093         [BZ #20847]
4094         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4095         array bounds for else branch.
4096         (__execvpe): Style fixes.
4097         * posix/tst-vfork3.c (run_script): New function.
4098         (create_script): Likewise.
4099         (do_test): Use run_script internal function.
4100         (do_prepare): Use create_script internal function.
4102 2016-12-07  Andreas Schwab  <schwab@suse.de>
4104         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4105         (__elision_available): Don't declare.
4106         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4107         (__elision_available): Don't define.
4108         (elision_init): Don't set __elision_available.
4110 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4112         [BZ #20940]
4113         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4114         return Inf for arguments Inf and sNaN.
4115         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4116         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4117         Likewise.
4118         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4119         Likewise.
4120         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4121         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4122         for arguments Inf and sNaN.  When returning a NaN, compute it by
4123         arithmetic on the arguments.
4124         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4125         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4126         arguments.
4128 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4130         [BZ #20916]
4131         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4132         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4133         to compute result.
4134         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4135         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4137 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4139         * include/atomic.h (__atomic_check_size_ls): New.
4140         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4141         atomic_store_release): Use it.
4142         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4143         (elision_adapt, ELIDE_LOCK): Use atomics.
4144         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4145         atomics and improve code comments.
4146         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4147         (__lll_trylock_elision): Likewise.
4149 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4151         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4152         programs.
4154 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4156         [BZ #20916]
4157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4158         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4159         arguments to compute result.
4160         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4161         1 for arguments (sNaN, 0) or (1, sNaN).
4162         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4163         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4165         [BZ #20919]
4166         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4167         NaN first argument when raised to power 0.
4168         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4169         raising to power zero.
4170         * math/w_powf.c (__powf): Likewise.
4171         * math/w_powl.c (__powl): Likewise.
4172         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4173         pow (0, 0) or pow (NaN, 0).
4175 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4177         [BZ #20918]
4178         * configure.ac: Test for static NSS cryptographic libraries and set
4179         libc_cv_static_nss_crypt.
4180         * configure: Regenerate.
4181         * config.make.in (static-nss-crypt): Define.
4182         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4183         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4184         (CFLAGS-tst-linkall-static.c): Define.
4185         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4186         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4187         ($(objpfx)tst-linkall-static): Define.
4188         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4189         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4191 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4193         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4194         (one-hundred, tst-tls-many-dynamic-modules): Define.
4195         (modules-names): Add $(tst-tls-many-dynamic-modules).
4196         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4197         macros.
4198         (tst-tls-manydynamic): Link against libdl, libpthread.
4199         (tst-tls-manydynamic.out): The test needs the test modules at run
4200         time.
4201         * elf/tst-tls-manydynamic.c: New file.
4202         * elf/tst-tls-manydynamic.h: Likewise.
4203         * elf/tst-tls-manydynamicmod.c: Likewise.
4205 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4207         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4208         (TLS_DTV_UNALLOCATED): Add.
4209         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4210         offsets.
4212 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4214         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4216 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4218         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4219         Add -fno-optimize-sibling-calls.
4221 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4223         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4224         New declaration.
4225         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4226         macro.
4227         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4228         New macro.
4229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4231         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4232         (llogbf): Likewise.
4233         (llogbl): Likewise.
4234         * math/Makefile (gen-libm-calls): Add w_llogbF.
4235         (tests): Add test-fp-llogb-constants.
4236         * math/w_llogb_template.c: New file.  Based on
4237         math/w_ilogb_template.c.
4238         * math/libm-test.inc (llogb_test_data): New array.
4239         (llogb_test): New function.
4240         (main): Call llogb_test.
4241         * math/test-fp-llogb-constants.c: New file.  Based on
4242         math/test-fp-ilogb-constants.c.
4243         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4244         (do_test): Call check_return_llogb.
4245         * math/test-tgmath.c (NCALLS): Increase to 126.
4246         (F(compile_test)): Call llogb.
4247         (F(llogb)): New function.
4248         * manual/math.texi (Exponents and Logarithms): Document llogb,
4249         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4250         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4251         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4252         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4253         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4254         (CFLAGS-nldbl-llogb.c): New variable.
4255         * sysdeps/nacl/libm.abilist: Update.
4256         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4257         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4258         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4259         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4260         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4261         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4262         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4263         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4264         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4265         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4266         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4267         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4269         Likewise.
4270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4271         Likewise.
4272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4273         Likewise.
4274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4275         Likewise.
4276         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4277         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4278         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4279         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4280         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4282         Likewise.
4283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4284         Likewise.
4285         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4286         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4287         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4289 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4291         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4292         _Float128 instead of long double.
4293         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4295         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4296         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4297         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4298         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4299         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4300         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4301         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4302         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4303         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4304         Likewise.
4306 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4308         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4309         Remove redirection to __strrchr_ppc.
4311 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4313         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4314         (sysdep_routines): Add strcmp_power9.
4315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4316         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4317         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4318         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4319         (strcmp): Add __strcmp_power9 to ifunc list.
4320         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4322 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4324         * bits/fp-logb.h: New file.
4325         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4326         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4327         * sysdeps/x86/bits/fp-logb.h: Likewise.
4328         * math/Makefile (headers): Add bits/fp-logb.h.
4329         * math/math.h: Include <bits/fp-logb.h>.
4330         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4331         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4332         * bits/mathdef.h (FP_ILOGB0): Remove.
4333         (FP_ILOGBNAN): Likewise.
4334         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4335         (FP_ILOGBNAN): Likewise.
4336         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4337         (FP_ILOGBNAN): Likewise.
4338         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4339         (FP_ILOGBNAN): Likewise.
4340         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4341         (FP_ILOGBNAN): Likewise.
4342         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4343         (FP_ILOGBNAN): Likewise.
4344         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4345         (FP_ILOGBNAN): Likewise.
4346         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4347         (FP_ILOGBNAN): Likewise.
4348         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4349         (FP_ILOGBNAN): Likewise.
4350         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4351         (FP_ILOGBNAN): Likewise.
4353         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
4354         time module.
4355         (Context.__init__): Initialize self.logsdir_old.
4356         (Context.run_builds): Handle bot action.
4357         (Context.bot_cycle): Copy logs directory before running builds.
4358         (Context.bot_run_self): Take argument for whether to check
4359         subprocess result.  Flush stdout before running subprocess.
4360         (Context.bot): New function.
4361         (get_parser): Allow bot action.
4363 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
4365         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
4366         Import email.mime.text, email.utils and smtplib modules.
4367         (Context.__init__): Initialize self.bot_config_json.
4368         (Context.run_builds): Handle bot-cycle action.
4369         (Context.load_bot_config_json): New function.
4370         (Context.part_build_old): Likewise.
4371         (Context.bot_cycle): Likewise.
4372         (Context.bot_build_mail): Likewise.
4373         (Context.bot_run_self): Likewise.
4374         (get_parser): Allow bot-cycle action.
4376 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
4379         Remove redirection to __stpcpy_ppc.
4381 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4383         Remove __libc_memalign from ld.so because it is unused.
4384         * elf/dl-minimal.c: Update comment on the malloc implementation.
4385         (malloc): Renamed from __libc_memalign, replacing the original
4386         malloc implementation.  Replace the align parameter with
4387         MALLOC_ALIGNMENT.
4388         * elf/Versions (ld): Update comment and remove __libc_memalign.
4389         * sysdeps/nacl/ld.abilist: Likewise.
4390         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
4391         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
4392         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
4393         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
4394         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
4395         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
4396         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
4397         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
4398         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
4399         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
4400         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
4401         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
4402         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
4403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
4404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4406         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
4407         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
4408         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
4409         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
4410         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
4411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
4412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
4413         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
4414         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
4415         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
4416         * sysdeps/generic/localplt.data (ld.so): Likewise.
4417         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4418         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4419         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4420         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4421         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4422         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4423         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4424         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
4425         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4427         (ld.so): Likewise.
4428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4429         (ld.so): Likewise.
4430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4431         Likewise.
4432         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4433         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4434         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
4435         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
4436         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4438 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4440         [BZ #16628]
4441         Implement _dl_catch_error, _dl_signal_error in libc.so.
4442         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
4443         (catch_hook): Define as thread-local or regular variable,
4444         depending on DL_ERROR_BOOTSTRAP.
4445         (CATCH_HOOK): Remove.
4446         (dl_signal_error, _dl_catch_error): Use
4447         catch_hook.  Add hidden definition for libc.
4448         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
4449         for DL_ERROR_BOOTSTRAP only.
4450         * elf/dl-error.c: New file.
4451         * elf/dl-error-minimal.c: Likewise.
4452         * elf/tst-latepthread.c: Likewise.
4453         * elf/tst-latepthreadmod.c: Likewise.
4454         * elf/Makefile (routines): Add dl-error.
4455         (dl-routines): Remove dl-error.
4456         (rtld-routines): Add dl-error-minimal.
4457         [build-shared] (tests): Add tst-latepthread.
4458         (module-names): Add tst-latepthreadmod.
4459         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
4460         symbol.
4461         (tst-latepthreadmod.so): Link against libpthread.
4462         (tst-latepthread): Link against libdbl.
4463         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
4464         _dl_catch_error.
4465         [ld] (GLIBC_PRIVATE): Likewise.
4466         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
4467         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
4468         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
4469         directly.
4470         * elf/dl-tsd.c: Remove file.
4471         * elf/rtld.c (_rtld_global_ro): Remove initializers for
4472         _dl_catch_error, _dl_signal_error.
4473         (_dl_initial_error_catch_tsd): Remove definition.
4474         (do_preload): Remove initialization of dl_error_catch_tsd.
4475         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
4476         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
4477         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4478         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4479         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
4480         set dl_error_catch_tsd.
4481         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
4482         _dl_error_catch_tsd member.
4483         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
4484         members.
4485         (_dl_initial_error_catch_tsd): Remove declaration.
4486         (_dl_dprintf): Provide definition for use outside of ld.so.
4487         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
4488         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
4489         prototype for libc.
4490         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
4491         _dl_catch_error.
4492         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4493         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4494         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4495         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4496         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4497         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4498         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4499         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4500         Likewise.
4501         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4503         (ld.so): Likewise.
4504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4505         (ld.so): Likewise.
4506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4507         Likewise.
4508         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4509         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4510         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4511         Likewise.
4512         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4513         Likewise.
4514         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4516 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4518         [BZ #4099]
4519         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
4520         _IO_BUFSIZ (8192).
4522 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
4524         * PROJECTS: Remove file.
4526 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4528         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
4530 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
4531             Steve Ellcey  <sellcey@caviumnetworks.com>
4533         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
4534         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
4535         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
4536         fxstatat.
4537         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
4538         lxstat.
4539         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
4540         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
4541         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
4542         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
4543         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
4544         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
4545         __xstat.
4547 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4549         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
4550         Define.
4551         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
4552         definition.
4554 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4556         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
4557         version and turn into strong alias.  Remove compat symbol.
4559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4560         (__longjmp): Remove.
4562 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
4564         * bits/fp-fast.h: New file.
4565         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
4566         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
4567         * math/Makefile (headers): Add bits/fp-fast.h.
4568         * math/math.h: Include <bits/fp-fast.h>.
4569         * bits/mathdef.h (FP_FAST_FMA): Remove.
4570         (FP_FAST_FMAF): Likewise.
4571         (FP_FAST_FMAL): Likewise.
4572         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
4573         (FP_FAST_FMAF): Likewise.
4574         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
4575         (FP_FAST_FMAF): Likewise.
4576         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
4577         (FP_FAST_FMAF): Likewise.
4578         (FP_FAST_FMAL): Likewise.
4579         * sysdeps/arm/bits/mathdef.h: Remove file.
4580         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
4581         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4582         * sysdeps/tile/bits/mathdef.h: Likewise.
4584 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
4586         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
4587         * math/w_ilogb.c: Remove.
4588         * math/w_ilogbf.c: Likewise.
4589         * math/w_ilogbl.c: Likewise.
4590         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
4591         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
4592         * math/Makefile (gen-libm-calls): Add w_ilogbF.
4593         (libm-calls): Remove w_ilogbF.
4594         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
4595         (LDOUBLE_ilogbl_libm_version): New macro.
4597         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
4599         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
4600         [!__STRICT_ANSI__ && !__cplusplus].
4602 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4604         [BZ #20750]
4605         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
4606         of PIC.
4608 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4609             Yury Norov  <ynorov@caviumnetworks.com>
4610             Steve Ellcey  <sellcey@caviumnetworks.com>
4612         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
4613         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
4614         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
4615         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
4616         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
4617         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
4618         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
4619         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
4620         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
4621         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
4622         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
4623         to get correct reg name for ILP32.
4624         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
4625         (RELA_SIZE): New Macro.
4626         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
4627         to support ILP32.
4628         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
4629         cast for ILP32 mode.
4630         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
4631         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
4632         * sysdeps/aarch64/memset.S (__memset): Ditto.
4633         * sysdeps/aarch64/strchr.S (strchr): Ditto.
4634         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
4635         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
4636         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
4637         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
4638         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
4639         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
4640         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
4641         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
4642         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
4643         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
4644         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
4645         change PTR_MANGLE call to use register numbers instead of names.
4646         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
4647         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
4648         ILP32 mode, change PTR_MANGLE calls to use register numbers.
4649         * sysdeps/aarch64/start.S (_start): Ditto.
4650         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
4651         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
4652         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
4653         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
4654         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
4655         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
4656         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
4657         Make defined values dependent on __ILP32__.
4658         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
4659         (sem_t): Change __align type.
4660         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
4661         PTR_SIZE): New Macros.
4662         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
4663         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
4664         Set when in ILP32 mode.
4665         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
4666         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
4667         Set elf flags for ILP32.
4668         (add_system_dir): Set ILP32 library directories.
4669         * sysdeps/unix/sysv/linux/aarch64/init-first.c
4670         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
4671         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
4672         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
4673         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
4674         New Macros.
4675         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
4677 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4679         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
4680         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
4681         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
4683 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
4685         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
4686         <asm/cachectl.h>.
4688 2016-11-27  Zack Weinberg  <zackw@panix.com>
4690         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
4691         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
4693 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4695         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
4696         error_t to fix usage in C++ programs.
4698 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
4700         * scripts/build-many-glibcs.py: Import datetime module.
4701         (Context.__init__): Load JSON build state.  Initialize list of
4702         status logs.
4703         (Context.run_builds): Update saved build state.
4704         (Context.add_makefile_cmdlist): Update list of status logs.
4705         (Context.load_build_state_json): New function.
4706         (Context.store_build_state_json): Likewise.
4707         (Context.clear_last_build_state): Likewise.
4708         (Context.update_build_state): Likewise.
4709         (CommandList.status_logs): Likewise.
4711 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
4713         * scripts/build-many-glibcs.py (Context.__init__): Save text of
4714         script being executed.
4715         (Context.get_script_text): New function.
4716         (Context.exec_self): Likewise.
4717         (Context.checkout): Re-exec script if changed by checkout process.
4719 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
4721         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4722         (setpayloadsig): New declaration.
4723         * math/Versions (setpayloadsig): New libm symbol at version
4724         GLIBC_2.25.
4725         (setpayloadsigf): Likewise.
4726         (setpayloadsigl): Likewise.
4727         * math/Makefile (libm-calls): Add s_setpayloadsigF.
4728         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
4729         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
4730         (setpayloadsig_test_data): New array.
4731         (setpayloadsig_test): New function.
4732         (main): Call setpayloadsig_test.
4733         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
4734         setpayloadsigf and setpayloadsigl.
4735         * manual/libm-err-tab.pl: Update comment on interfaces without
4736         ulps tabulated.
4737         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
4738         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
4739         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
4740         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
4741         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
4742         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
4743         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4744         setpayloadsig.
4745         (CFLAGS-nldbl-setpayloadsig.c): New variable.
4746         * sysdeps/nacl/libm.abilist: Update.
4747         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4748         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4749         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4750         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4751         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4752         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4753         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4754         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4755         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4756         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4757         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4758         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4760         Likewise.
4761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4762         Likewise.
4763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4764         Likewise.
4765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4766         Likewise.
4767         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4768         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4769         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4770         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4771         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4773         Likewise.
4774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4775         Likewise.
4776         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4777         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4778         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4780         * scripts/build-many-glibcs.py: Import json module.
4781         (Context.__init__): Take replace_sources argument.  Load
4782         versions.json.
4783         (Context.load_versions_json): New function.
4784         (Context.store_json): Likewise.
4785         (Context.store_versions_json): Likewise.
4786         (Context.set_component_version): Likewise.
4787         (Context.checkout): Update versions.json.  Check for and handle
4788         changes of version.  Prefer previously explicitly specified
4789         version to default version.
4790         (Context.checkout_vcs): Return a revision identifier.
4791         (Context.git_checkout): Likewise.
4792         (Context.gcc_checkout): Likewise.
4793         (get_parser): Add --replace-sources option.
4794         (main): Pass replace_sources argument to Context call.
4796 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4798         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
4799         * nptl/allocatestack.c (allocate_stack): Likewise.
4800         (__reclaim_stacks): Likewise.
4801         (setxid_signal_thread): Obtain pid through syscall.
4802         * nptl/nptl-init.c (sigcancel_handler): Likewise.
4803         (sighandle_setxid): Likewise.
4804         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
4805         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4806         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4807         Likewise.
4808         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4809         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
4810         comment.
4811         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
4812         * nptl/descr.h (struct pthread): Change comment about pid value.
4813         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
4814         pid assert.
4815         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
4816         Do not set pid value.
4817         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
4818         pid cache check.
4819         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
4820         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
4821         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
4822         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
4823         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
4824         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4825         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
4826         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
4827         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
4828         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
4829         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
4830         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4831         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
4832         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4833         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
4834         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
4835         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4836         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
4837         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
4838         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
4839         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
4840         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4841         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
4842         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4843         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
4844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4846         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4847         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4848         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4849         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
4850         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4851         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
4852         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
4853         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
4854         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4855         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
4856         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4857         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
4858         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
4859         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4860         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
4861         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4864         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4865         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4866         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4867         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4868         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4869         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
4870         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4871         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
4872         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
4873         struct access.
4874         (clone_test): Remove function.
4875         (do_test): Rewrite to take in consideration pid is not cached anymore.
4877 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
4879         * bits/flt-eval-method.h: New file.
4880         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
4881         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
4882         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
4883         * math/Makefile (headers): Add bits/flt-eval-method.h.
4884         * math/math.h: Include <bits/flt-eval-method.h>.
4885         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
4886         [__USE_ISOC99] (double_t): Likewise.
4887         * bits/mathdef.h (float_t): Remove.
4888         (double_t): Likewise.
4889         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
4890         (double_t): Likewise.
4891         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
4892         (double_t): Likewise.
4893         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
4894         (double_t): Likewise.
4895         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
4896         (double_t): Likewise.
4897         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
4898         (double_t): Likewise.
4899         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
4900         (double_t): Likewise.
4901         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
4902         (double_t): Likewise.
4903         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
4904         (double_t): Likewise.
4905         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
4906         (double_t): Likewise.
4907         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
4908         (double_t): Likewise.
4909         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
4910         (double_t): Likewise.
4911         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
4912         (double_t): Likewise.
4913         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
4914         (double_t): Likewise.
4916 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
4918         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
4919         instead of PIC.
4921 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
4923         [BZ #20859]
4924         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
4925         (-0x7fffffff) instead of 0x80000001.
4926         * math/test-fp-ilogb-constants.c: New file.
4927         * math/Makefile (tests): Add test-fp-ilogb-constants.
4929 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
4931         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
4932         (_init): Use it in place of hardcoded R_MIPS_JALR.
4933         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
4934         (_init): Use it in place of hardcoded R_MIPS_JALR.
4935         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
4936         (_init): Use it in place of hardcoded R_MIPS_JALR.
4938 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
4940         [BZ #20787]
4941         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
4942         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
4943         (double_t): Do not define to double if [__x86_64__] when
4944         __FLT_EVAL_METHOD__ is nonzero.
4945         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
4946         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
4947         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4948         test-flt-eval-method-387 and test-flt-eval-method-sse.
4949         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
4950         variable.
4951         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
4953 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
4955         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
4956         use of -fno-isolate-erroneous-paths options for tilepro.
4958 2016-11-23  Florian Weimer  <fweimer@redhat.com>
4960         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
4961         structure initialization is no longer needed.
4963 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
4965         [BZ #20855]
4966         * bits/mathdef.h (float_t): Define to float.
4967         * math/test-flt-eval-method.c: New file.
4968         * math/Makefile (tests): Add test-flt-eval-method.
4969         (CFLAGS-test-flt-eval-method.c): New variable.
4971 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
4973         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
4974         and __fstatfs.  Make them aliases of __fstatfs64 if
4975         STATFS_IS_STATFS64 is set to non-zero.
4976         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
4977         and __statfs64.
4978         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
4979         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
4980         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
4981         for __statfs and statfs.
4982         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
4983         to 0.
4984         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
4985         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
4986         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
4987         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4988         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4989         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
4992         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
4993         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4994         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
4995         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
4997 2016-11-22  Andreas Schwab  <schwab@suse.de>
4999         * misc/mkstemp.c: Include <fcntl.h>.
5000         * misc/mkstemps.c: Likewise.
5001         * misc/mkostemp.c: Likewise.
5002         * misc/mkostemps.c: Likewise.
5004 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
5006         [BZ #20847]
5007         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5008         array bounds.
5009         (__execvpe): Likewise.
5011 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
5013         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
5014         -fno-isolate-erroneous-paths options for tilepro.
5016 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
5018         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
5019         to 0 when in 32 bit mode.
5020         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
5021         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5022         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5023         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5025         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5026         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
5027         XSTAT_IS_XSTAT64 test.
5028         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
5029         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
5030         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
5031         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
5032         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
5033         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
5034         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
5035         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
5036         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
5037         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
5038         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
5040 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
5042         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5043         (setpayload): New declaration.
5044         * math/Versions (setpayload): New libm symbol at version
5045         GLIBC_2.25.
5046         (setpayloadf): Likewise.
5047         (setpayloadl): Likewise.
5048         * math/Makefile (libm-calls): Add s_setpayloadF.
5049         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5050         test_Ff_b1_data.
5051         (RUN_TEST_Ff_b1): New macro.
5052         (RUN_TEST_LOOP_Ff_b1): Likewise.
5053         (canonicalize_test_data): Update type.
5054         (setpayload_test_data): New array.
5055         (setpayload_test): New function.
5056         (main): Call setpayload_test.
5057         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5058         setpayloadf and setpayloadl.
5059         * manual/libm-err-tab.pl: Update comment on interfaces without
5060         ulps tabulated.
5061         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5062         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5063         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5064         Likewise.
5065         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5066         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5067         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5068         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5069         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5070         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5071         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5072         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5073         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5074         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5075         setpayload.
5076         (CFLAGS-nldbl-setpayload.c): New variable.
5077         * sysdeps/nacl/libm.abilist: Update.
5078         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5079         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5080         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5081         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5082         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5083         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5084         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5085         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5086         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5087         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5088         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5089         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5091         Likewise.
5092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5093         Likewise.
5094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5095         Likewise.
5096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5097         Likewise.
5098         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5099         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5100         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5101         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5102         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5104         Likewise.
5105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5106         Likewise.
5107         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5108         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5111 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5113         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5114         * include/unistd.h: Extend comment about __access_noerrno return
5115         semantics.
5116         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5117         (access_common): Correct typo for EACCES.
5119 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5121         * sysdeps/tile/math-tests.h: New file.
5123         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5124         (__old_set_dataplane): Rename from set_dataplane and make a
5125         compatibility symbol.
5126         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5127         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5128         sys/dataplane.h.
5130 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5132         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5133         script quote words in command output to log suitably for input to
5134         the shell.
5136 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5137             Maciej W. Rozycki  <macro@imgtec.com>
5139         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5140         `.Lno_weak_fn' label.
5141         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5142         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5144 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5145             Yury Norov  <ynorov@caviumnetworks.com>
5147         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5148         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5149         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5150         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5151         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5152         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5153         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5154         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5155         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5156         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5157         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5158         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5159         (sysdep_routines): Remove oldgetrlimit64.
5160         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5161         (sysdep_routines): Likewise.
5162         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5163         (sysdep_routines): Likewise.
5164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5165         [$(subdir) = resource] (sysdep_routines): Likewise.
5166         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5167         [$(subdir) = resource] (sysdep_routines): Likewise.
5168         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5169         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5170         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5171         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5172         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5173         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5174         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5175         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5176         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5177         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5178         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5179         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5180         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5181         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5182         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5183         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5184         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5185         setrlimit and getrlimit.
5186         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5187         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5188         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5191         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5192         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5193         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5194         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5195         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5196         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5197         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5198         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5199         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5200         (__old_getrlimit64): Add compatibility symbol.
5201         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5203 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5205         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5206         newly built gmp, mpfr and mpc.
5208         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5210 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5212         * conform/Makefile (linknamespace-libs): Rename to
5213         linknamespace-libs-thr.
5214         (linknamespace-libs-posix): New variable.
5215         (linknamespace-libs-xsi): Likewise.
5216         (linknamespace-libs-XPG3): Include libcrypt.a.
5217         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5218         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5219         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5220         (linknamespace-libs-XOPEN2K): Likewise.
5221         (linknamespace-libs-XOPEN2K8): Likewise.
5222         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5224         [BZ #20829]
5225         * stdio-common/Versions (__snprintf): Add to version
5226         GLIBC_PRIVATE.
5227         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5228         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5229         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5230         of snprintf.
5231         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5233 2016-11-16  Zack Weinberg  <zackw@panix.com>
5235         * string/string.h: Remove obsolete comment stating that
5236         strcoll_l and strxfrm_l have not yet been standardized.
5238 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5240         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5241         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5242         __access_noerrno.
5243         * io/access.c (__access_noerrno): New function.
5244         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5245         (hurd_fail_seterrno): Likewise.
5246         (access_common): Likewise.
5247         (__access_noerrno): Likewise.
5248         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5249         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5250         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5251         macro.
5253 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5255         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5256         Only declare fpregs if [__SH_FPU_ANY__].
5258 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5260         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5261         Make code unconditional.
5262         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5264 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5266         * manual/sysinfo.texi (S_APPEND): Delete.
5267         (S_IMMUTABLE): Likewise.
5269 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5270             Magnus Granberg  <zorry@gentoo.org>
5271             Mike Frysinger  <vapier@gentoo.org>
5273         [BZ #20662]
5274         * configure.ac (libc_cv_predef_stack_protector): Also check for
5275         __stack_chk_fail_local symbols.
5276         * configure: Regenerated.
5278 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5280         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5281         (libc_hidden_def): Remove redefinition.
5282         (__sigsetjmp): Add hidden definition.
5283         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5284         (libc_hidden_def): Remove redefinition.
5285         (__sigsetjmp): Add hidden definition.
5287 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5289         * scripts/build-many-glibcs.py (os.path): Do not import.
5290         (Context): Inherit explicitly from object.  Remove blank line
5291         between class and docstring.
5292         (Config): Likewise.
5293         (Glibc): Likewise.
5294         (Command): Likewise.
5295         (CommandList): Likewise.
5296         (Context.write_files): Store chmod mode in a variable.
5298         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5299         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5300         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5302 2016-11-14  Zack Weinberg  <zackw@panix.com>
5304         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5305         creating or re-creating it.
5307         * string/bits/string2.h: Fix typo in comment.
5309 2016-11-14  Zack Weinberg  <zackw@panix.com>
5311         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5312         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5313         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5314         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5315         of redirected function names.
5317         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5318         as well.  Document that MESSAGE must be a single string literal.
5320 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5322         * scripts/build-many-glibcs.py: New file.
5324         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5325         (do_test): Disable -Wmaybe-uninitialized around uses of
5326         except_mask.
5328         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5330 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
5332         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5333         (atomic_store_release): Provide tilepro-specific implementations.
5335 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
5337         * math/math.h (__MATH_TG): New macro.
5338         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5339         [__USE_ISOC99] (signbit): Likewise.
5340         [__USE_ISOC99] (isfinite): Likewise.
5341         [__USE_ISOC99] (isnan): Likewise.
5342         [__USE_ISOC99] (isinf): Likewise.
5343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5346         __MATH_TG and __MATH_EVAL_FMT2.
5347         * sysdeps/generic/math_private.h (fabs_tg): Define using
5348         __MATH_TG.
5349         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5350         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5351         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5352         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5353         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5354         macro.
5355         (__iscanonical): Likewise.
5356         (iscanonical): Define using __MATH_TG.
5358 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5360         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5361         guards.
5363         * sysdeps/unix/sysv/linux/access.c: New file.
5364         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
5366 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
5368         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
5369         and __WORDSIZE32_PTRDIFF_LONG.
5371 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5373         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5375 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5377         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
5378         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
5379         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
5380         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
5381         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
5382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
5383         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
5384         * sysdeps/unix/sysv/linux/truncate.c: New file.
5385         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
5386         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5387         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
5388         Remove.
5389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
5390         Likewise.
5392         * posix/tst-truncate-common.c: New file.
5393         * posix/tst-truncate.c: Use tst-truncate-common.c.
5394         * posix/tst-truncate64.c: Likewise and add LFS tests.
5395         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
5396         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
5397         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
5398         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
5399         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
5400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
5401         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
5402         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
5403         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
5404         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5405         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
5406         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
5407         Remove.
5408         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
5409         Likewise.
5411 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
5413         [BZ #20790]
5414         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
5415         to MAXLINESIZE.
5416         * sunrpc/bug20790.x: New file.
5417         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
5418         variable.
5419         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
5420         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
5422         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
5424         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
5426         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
5427         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
5428         calloc, realloc, free, memalign and __libc_memalign rather than
5429         making them optional.
5431         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
5432         for libc.so.
5434 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5436         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
5437         ptw-lseek64.
5438         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
5439         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
5440         Likewise.
5441         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
5442         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
5443         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
5444         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
5445         * sysdeps/unix/sysv/linux/lseek.c: New file.
5446         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
5447         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
5448         __libc_lseek64 from auto-generation.
5449         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5450         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
5452 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5454         * nptl/tst-basic1.c (tf, do_test): Use write_message.
5455         * nptl/tst-cleanup1.c (do_test): Likewise.
5456         * nptl/tst-cleanup3.c (do_test): Likewise.
5457         * nptl/tst-key1.c (do_test): Likewise.
5458         * nptl/tst-key2.c (tf, do_test): Likewise.
5459         * nptl/tst-key3.c (tf, do_test): Likewise.
5460         * nptl/tst-stdio1.c (do_test): Likewise.
5461         * nptl/tst-stdio2.c (do_test): Likewise.
5463         * nptl/tst-kill3.c (handler): Use write_message in place of write.
5464         * nptl/tst-kill6.c (handler): Likewise.
5465         * nptl/tst-tls2.c (CB): Likewise.
5466         * nptl/tst-tls3.c (CB): Likewise.
5468 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
5470         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
5472 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
5473             Steve Ellcey  <sellcey@caviumnetworks.com>
5475         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
5476           __ASSUME_ST_INO_64_BIT as 0
5477         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
5478         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
5479           over the code where __ASSUME_ST_INO_64_BIT is used.
5480         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5481         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5482         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5484 2016-11-07  Florian Weimer  <fweimer@redhat.com>
5486         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5487         Document ABI exposure of the __kind offset.
5488         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5489         Mention reason for the __kind offset exposure in the ABI.
5490         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5491         Likewise.
5492         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5493         Likewise.
5494         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5495         Likewise.
5496         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
5497         (struct __pthread_mutex_s): Likewise.
5498         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5499         Likewise.
5500         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5501         Likewise.
5502         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5503         Likewise.
5504         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5505         Likewise.
5506         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5507         Likewise.
5508         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5509         Likewise.
5510         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5511         (struct __pthread_mutex_s): Likewise.
5512         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5513         (struct __pthread_mutex_s): Likewise.
5514         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
5515         Likewise.
5517 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
5519         * test-skeleton.c: Document do_test usage.
5521 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
5523         * iconv/gconv.h (__gconv_info): Define __data element using a
5524         zero-length array.
5526 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
5528         * math/test-tgmath2.c: Split up test function.
5530 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5532         * Rules (tests-expected): New variable, depending on
5533         $(run-built-tests).
5534         (tests): Pass $(tests-expected) to merge-test-results.sh, not
5535         $(tests).
5537         * Rules [$(run-built-tests) = no] (tests): Do not depend on
5538         $(tests-unsupported).
5540 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5542         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5543         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
5545 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5547         [BZ #20768]
5548         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
5549         __fegetenv instead of fegetenv.
5551         [BZ #14139]
5552         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
5553         (find_files): Obtain platform name from libm-test-ulps-name and
5554         store in %pplatforms.
5555         (canonicalize_platform): Remove.
5556         (print_platforms): Use $pplatforms directly.
5557         (by_platforms): Do not allow for platforms missing from
5558         %pplatforms.
5559         * sysdeps/aarch64/libm-test-ulps-name: New file.
5560         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
5561         * sysdeps/arm/libm-test-ulps-name: Likewise.
5562         * sysdeps/generic/libm-test-ulps-name: Likewise.
5563         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
5564         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
5565         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
5566         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
5567         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
5568         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
5569         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
5570         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
5571         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
5572         * sysdeps/nios2/libm-test-ulps-name: Likewise.
5573         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
5574         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
5575         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
5576         * sysdeps/sh/libm-test-ulps-name: Likewise.
5577         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
5578         * sysdeps/tile/libm-test-ulps-name: Likewise.
5579         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
5581         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
5583         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
5584         (test-xfail-check-execstack): New variable.
5586         * sysdeps/mips/localplt.data: New file.
5588 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
5589             Steve Ellcey  <sellcey@caviumnetworks.com>
5591         * bits/wordsize.h: Add documentation.
5592         * sysdeps/aarch64/bits/wordsize.h : New file
5593         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
5594         definitions.
5595         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
5596         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
5597         with #if instead of #ifdef.
5598         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
5599         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
5600         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
5601         Add or change defines.
5602         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
5603         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5604         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
5605         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
5606         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5607         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5608         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
5609         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
5610         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
5611         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5612         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
5613         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
5614         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
5615         * sysdeps/x86/bits/wordsize.h: Likewise.
5617 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
5618             Kevin Petit  <kevin.petit@arm.com>
5620         * sysdeps/aarch64/memchr.S (__memchr): New file.
5622 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5624         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
5626 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
5628         [BZ #19398]
5629         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
5630         $(linknamespace-symlists-tests).
5632 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
5634         * time/tst-strptime2.c: Ignore -Wformat-length warning.
5636 2016-11-02  Florian Weimer  <fweimer@redhat.com>
5637             Carlos O'Donell  <carlos@redhat.com>
5639         [Bug #20729]
5640         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
5641         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
5642         for -Os related change.
5644 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
5646         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
5648 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
5650         [BZ #19673]
5651         * manual/math.texi (Exponents and Logarithms): Correct description
5652         of clog10.
5654 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
5656         [Bz #20729]
5657         * locale/weight.h: Include libc-internal.h.
5658         * locale/weightwc.h: Likewise.
5659         * nptl/nptl_dbP.h: Likewise.
5661 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
5663         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
5664         when it is MACH_PORT_NULL.
5666 2016-10-31  Andreas Schwab  <schwab@suse.de>
5668         [BZ #20707]
5669         * posix/glob.c (glob): Initialize pglob before checking for
5670         GLOB_BRACE.  Don't call glob recursively if pattern contains no
5671         valid brace expression despite GLOB_BRACE.
5672         * posix/globtest.sh: Test it.
5674 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
5676         [BZ #20729]
5677         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
5678         Define.
5679         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
5680         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
5681         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
5682         for seq2.back_us and seq1.back_us only for -Os compiles.
5683         * locale/weightwc.h (findix): Likewise.
5684         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
5685         DB_GET_FIELD_ADDRESS only for -Os compiles.
5686         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
5687         for slen only for -Os compiles.
5688         * string/strcoll_l.c (get_next_seq): Ignore
5689         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
5690         for -Os compiles.
5692         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
5693         * include/crypt.h: New file.
5695 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5697         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
5698         from test-skeleton.c.
5699         (statclass): Replace calls to write with calls to write_message.
5701 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
5703         * math/math.h
5704         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
5705         New macro.
5706         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
5707         Likewise.
5708         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
5709         Likewise.
5710         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
5711         SNANL.
5712         * math/test-double.h (snan_value_MACRO): New macro.
5713         * math/test-float.h (snan_value_MACRO): Likewise.
5714         * math/test-ldouble.h (snan_value_MACRO): Likewise.
5715         * math/libm-test.inc (issignaling_test_data): Add tests of
5716         snan_value_MACRO.
5718 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5720         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
5721         behavior when eliding a lock not held by the current thread.
5722         * sysdeps/powerpc/nptl/elide.h: Likewise.
5724 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5726         [BZ #20728]
5727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
5728         branch to _exit() by a function call.
5730 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5732         * malloc/malloc.c: Update chunk layout comments.
5733         (chunk_main_arena): Update comment.
5735 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5737         * crypt/sha256.c, crypt/sha256-block.c,
5738         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
5739         sha256_process_block to __sha256_process_block.
5740         * crypt/sha512.c, crypt/sha512-block.c,
5741         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
5742         sha512_process_block to __sha512_process_block.
5744 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
5746         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
5748         * math/test-nan-overflow.c: Include stdlib.h for malloc.
5750 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
5752         [BZ #20019]
5753         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
5754         definition in unrelocated shared library.
5755         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5757 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5759         [BZ #20729]
5760         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
5761         * sysdeps/unix/sysv/linux/i386/Makefile
5762         (uses-6-syscall-arguments): Define.
5763         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
5764         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
5765         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
5766         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
5767         Likewise.
5768         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
5769         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
5770         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
5771         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
5772         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
5773         (CFLAGS-fallocate64.os): Likewise.
5774         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
5775         (CFLAGS-pthread_rwlock_timedrdlock.os)
5776         (CFLAGS-pthread_rwlock_timedwrlock.o)
5777         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
5778         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
5779         (CFLAGS-sem_timedwait.os): Likewise.
5781 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5783         * elf/tst-linkall-static.c: New file.
5784         * elf/Makefile (tests-static): Add tst-linkall-static.
5785         (tst-linkall-static): Link against static libraries.
5787 2016-10-27  Florian Weimer  <fweimer@redhat.com>
5789         * malloc/malloc.c (sysmalloc): Initialize previous size field of
5790         mmaped chunks.
5792 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5794         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
5795         members to mchunk_prev_size, mchunk_size.
5796         (chunk_main_arena): Reverse sense and rename from
5797         chunk_non_main_arena.
5798         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
5799         mchunk_size instead of size.
5800         (set_non_main_arena): Define.
5801         (chunksize): Use chunksize_nomask instead of direct member access.
5802         (chunksize_nomask): Define.
5803         (next_chunk): Use chunksize instead of direct member access.
5804         (prev_size, set_prev_size): Define.
5805         (prev_chunk): Use prev_size instead of direct member access.
5806         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
5807         (inuse_bit_at_offset, set_inuse_bit_at_offset)
5808         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
5809         (mchunk_prev_size, mchunk_size): Poison tokens.
5810         (unlink): Use chunksize_nomask, prev_size accessors.
5811         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
5812         (do_check_free_chunk): Use prev_size accessor.
5813         (sysmalloc): Use set_prev_size, set_head accessors.
5814         (munmap_chunk, mremap_chunk): Use prev_size accessor.
5815         (__libc_free): Use chunksize_nomask accessor.
5816         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
5817         chunk_main_arena accessors.
5818         (_int_free): Use chunksize_nomask, prev_size accessors.
5819         (malloc_consolidate): Use chunksize, prev_size accessors.
5820         (_int_realloc): Use chunksize_nomask accessor.
5821         (_int_memalign): Use set_prev_size accessor.
5822         (__malloc_info): Use chunksize_nomask accessor.
5823         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
5824         accessors.
5825         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
5826         (heap_trim): Use chunksize_nomask, prev_size accessors.
5828 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
5830         [BZ #19380]
5831         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
5832         for inexact results.
5833         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
5834         of inexact result where mpfr_subnormalize is the only inexact
5835         step.
5836         * stdlib/tst-strtod-round-data.h: Regenerated.
5837         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
5838         Define to 0.
5839         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
5841 2016-10-27  David S. Miller  <davem@davemloft.net>
5843         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
5845 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5847         * malloc/malloc.c (do_set_mallopt_check): New function.
5848         (do_set_mmap_threshold): Likewise.
5849         (do_set_mmaps_max): Likewise.
5850         (do_set_top_pad): Likewise.
5851         (do_set_perturb_byte): Likewise.
5852         (do_set_trim_threshold): Likewise.
5853         (do_set_arena_max): Likewise.
5854         (do_set_arena_test): Likewise.
5855         (__libc_mallopt): Use them.
5857 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
5859         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5860         (canonicalize): New declaration.
5861         * math/Versions (canonicalize): New libm symbol at version
5862         GLIBC_2.25.
5863         (canonicalizef): Likewise.
5864         (canonicalizel): Likewise.
5865         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
5866         * math/s_canonicalize_template.c: New file.
5867         * math/libm-test.inc: Update comment on functions tested and
5868         testing of NaN payloads.
5869         (TEST_NAN_PAYLOAD): New macro.
5870         (NO_TEST_INLINE): Update value.
5871         (XFAIL_TEST): Likewise.
5872         (ERRNO_UNCHANGED): Likewise.
5873         (ERRNO_EDOM): Likewise.
5874         (ERRNO_ERANGE): Likewise.
5875         (IGNORE_RESULT): Likewise.
5876         (NON_FINITE): Likewise.
5877         (TEST_SNAN): Likewise.
5878         (NO_TEST_MATHVEC): Likewise.
5879         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
5880         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
5881         (struct test_Ffp_b1_data): New type.
5882         (RUN_TEST_Ffp_b1): New macro.
5883         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5884         (canonicalize_test_data): New array.
5885         (canonicalize_test): New function.
5886         (main): Call canonicalize_test.
5887         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
5888         canonicalizef and canonicalizel.
5889         * manual/libm-err-tab.pl: Update comment on interfaces without
5890         ulps tabulated.
5891         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
5892         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
5893         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5894         canonicalize.
5895         (CFLAGS-nldbl-canonicalize.c): New variable.
5896         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
5897         to ...
5898         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
5899         ... here.
5900         (do_test): Also test canonicalizel.
5901         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
5902         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
5903         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
5904         file.
5905         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
5906         Use libm_hidden_def.
5907         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
5908         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
5909         (do_test): Also test canonicalizel.
5910         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
5911         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
5912         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
5913         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
5914         libm_hidden_def.
5915         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
5916         macro.
5917         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
5918         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
5919         * sysdeps/nacl/libm.abilist: Update.
5920         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5921         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5923         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5924         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5925         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5926         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5927         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5928         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5929         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5930         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5931         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5933         Likewise.
5934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5935         Likewise.
5936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5937         Likewise.
5938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5939         Likewise.
5940         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5941         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5942         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5943         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5944         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5946         Likewise.
5947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5948         Likewise.
5949         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5950         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5951         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5953         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
5954         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5955         getpayload.
5956         (CFLAGS-nldbl-getpayload.c): New variable.
5958 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5960         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
5961         integer from the format string.
5963 2016-10-26  Florian Weimer  <fweimer@redhat.com>
5965         [BZ #19473]
5966         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
5967         declarations.
5968         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
5969         weak aliases.
5970         * malloc/hooks.c (__malloc_get_state): Remove definition.
5971         (malloc_get_state): New stub implementation as
5972         compatibility symbol.
5973         (malloc_set_state): Rename from __malloc_set_state.  Turn into
5974         compat symbol.
5975         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
5976         malloc_set_state.
5977         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
5979 2016-10-26  Florian Weimer  <fweimer@redhat.com>
5981         * iconvdata/iso646.c (enum variant): Drop illegal_var.
5982         (names): Turn into concatenation of strings.
5983         (gconv_init): Adapt iteration over names.
5985 2016-10-26  Florian Weimer  <fweimer@redhat.com>
5987         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
5988         make const.
5989         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
5990         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
5991         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
5992         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
5993         character in sbconv.
5994         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
5995         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
5996         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
5998 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6000         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
6002         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
6003         (M_TRIM_THRESHOLD): Likewise.
6005         * manual/memory.texi (M_ARENA_TEST): Add documentation.
6006         (M_ARENA_MAX): Likewise.
6007         * malloc/malloc.c: Remove obsolete comment.
6009         * manual/memory.texi: Add environment variable alternatives to
6010         setting mallopt parameters.
6012 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
6014         * include/atomic.h
6015         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
6016         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
6018 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6020         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
6021         * stdlib/tst-strfrom.h: New file.
6022         * stdlib/tst-strfrom.c: New file.
6023         * stdlib/tst-strfrom-locale.c: New file.
6025         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
6026         * stdlib/bug-strtod2.c: Likewise.
6027         * stdlib/tst-strtod-round-skeleton.c: Likewise.
6028         * stdlib/tst-strtod6.c: Likewise.
6029         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
6031 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6033         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
6034         * manual/arith.texi: Document strfromd, strfromf, strfroml.
6035         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
6036         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
6037         * stdlib/stdlib.h (strfromd): New declaration.
6038         (strfromf): Likewise.
6039         (strfroml): Likewise.
6040         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
6041         strfrom.
6042         * stdlib/strfromd.c: New file.
6043         * stdlib/strfromf.c: Likewise.
6044         * stdlib/strfroml.c: Likewise.
6045         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
6046         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
6047         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
6048         * sysdeps/arm/nacl/libc.abilist: Update.
6049         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6050         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6051         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6052         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6053         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6054         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6055         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6056         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6057         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6058         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6061         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6062         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6067         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6068         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6069         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6070         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6071         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6074         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6075         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6076         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6078 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6080         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6081         instead of cmpli.
6082         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6083         instead of cmpli.
6085 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6087         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6088         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6089         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6090         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6091         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6092         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6094 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6096         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6097         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6098         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6099         SYSCALL_LL64_PRW.
6100         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6101         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6102         __ASSUME_PRW_DUMMY_ARG.
6103         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6104         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6105         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6106         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6107         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6108         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6110 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6112         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6114 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6116         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6117         "C++", to override a potential extern "C" directive around the
6118         header file inclusion.
6120 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6122         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6124 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6126         * sysdeps/powerpc/fpu/fenv_private.h:
6127         (_FPU_MASK_ALL): Rename to...
6128         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6129         XE FPSCR bits.
6131         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6133         (_FPU_MASK_ROUNDING): Rename to...
6134         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6135         NI bits.
6137         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6138         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6139         bits and rounding bits.
6141         (__libc_feholdbits_ppc): New inline function to mask, set,
6142         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6143         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6144         (libc_feholdexcept_setround_ppc): Likewise.
6146         (__libc_femergeenv_ppc): New function to dynamically mask both
6147         old and new FP environments and merge.
6148         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6149         (libc_feresetround_ppc): Likewise.
6150         (libc_feupdateenv_test_ppc): Likewise.
6151         (libc_feupdateenv_ppc): Likewise.
6153         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6154         of ISA RN bits, and update macro names.
6155         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6156         effectively the same as the previously mentioned function.
6158         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6159         usage with fe_resetround_ppc.
6161         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6162         to be used.
6163         (libc_feholdexcept_setround_ctxf): Likewise.
6164         (libc_feholdexcept_setround_ctxl): Likewise.
6166 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6168         [BZ #20715]
6169         * math/math.h [__cplusplus] (iszero): Define as function template.
6170         * math/Makefile [CXX] (tests): Add test-math-iszero.
6171         (CFLAGS-test-math-iszero.cc): Set.
6172         * math/test-math-iszero.cc: New file.
6174 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6176         [BZ #20660]
6177         * sysdeps/arm/e_sqrt.c: New file.
6178         * sysdeps/arm/e_sqrtf.c: Likewise.
6180 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6182         [BZ #20718]
6183         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6184         not use floating-point comparisons to test sign.
6185         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6186         Likewise.
6188         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6189         (getpayload): New declaration.
6190         * math/Versions (getpayload): New libm symbol at version
6191         GLIBC_2.25.
6192         (getpayloadf): Likewise.
6193         (getpayloadl): Likewise.
6194         * math/Makefile (libm-calls): Add s_getpayloadF.
6195         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6196         (struct test_f_f_data): Add comment.
6197         (RUN_TEST_fp_f): New macro.
6198         (RUN_TEST_LOOP_fp_f): Likewise.
6199         (getpayload_test_data): New array.
6200         (getpayload_test): New function.
6201         (main): Call getpayload_test.
6202         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6203         descriptor.
6204         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6205         getpayloadf and getpayloadl.
6206         * manual/libm-err-tab.pl: Update comment on interfaces without
6207         ulps tabulated.
6208         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6209         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6210         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6211         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6212         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6213         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6214         * sysdeps/nacl/libm.abilist: Update.
6215         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6216         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6217         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6218         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6219         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6220         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6221         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6222         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6223         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6224         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6225         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6226         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6228         Likewise.
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6230         Likewise.
6231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6232         Likewise.
6233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6234         Likewise.
6235         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6236         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6237         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6238         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6239         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6241         Likewise.
6242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6243         Likewise.
6244         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6245         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6246         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6248 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6250         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6251         tst-fallocate{64}.
6252         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6253         on syscall return.
6255 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6257         [BZ #20689]
6258         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6259         usable.
6261 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6263         * sysdeps/generic/nan-high-order-bit.h: New file.
6264         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6265         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6266         * sysdeps/hppa/math_private.h: Remove file.
6267         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6268         not define here.
6269         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6270         <nan-high-order-bit.h>.
6271         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6272         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6273         <nan-high-order-bit.h>.
6274         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6275         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6276         <nan-high-order-bit.h>.
6277         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6278         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6279         <nan-high-order-bit.h>.
6280         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6281         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6282         <nan-high-order-bit.h>.
6283         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6284         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6285         <nan-high-order-bit.h>.
6286         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6287         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6288         <nan-high-order-bit.h>.
6289         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6290         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6291         <nan-high-order-bit.h>.
6292         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6293         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6294         <nan-high-order-bit.h>.
6295         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6296         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6297         <nan-high-order-bit.h>.
6298         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6299         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6300         <nan-high-order-bit.h>.
6301         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6302         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6303         <nan-high-order-bit.h>.
6304         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6305         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6306         <nan-high-order-bit.h>.
6307         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6308         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6309         <nan-high-order-bit.h>.
6310         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6311         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6312         <nan-high-order-bit.h>.
6313         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6314         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6315         <nan-high-order-bit.h>.
6316         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6317         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6318         <nan-high-order-bit.h>.
6319         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6320         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6321         <nan-high-order-bit.h>.
6322         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6324 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6326         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6328 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6330         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6331         abort-instr.h.
6332         (EFAULT): Remove conditional define.
6333         (ENOSYS): Likewise.
6334         (atomic_compare_and_exchange_val_acq): Use instruction nullification
6335         instead of conditional branch instructions.
6337 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
6339         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6340         (totalordermag): New declaration.
6341         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6342         New macro.
6343         * math/Versions (totalordermag): New libm symbol at version
6344         GLIBC_2.25.
6345         (totalordermagf): Likewise.
6346         (totalordermagl): Likewise.
6347         * math/Makefile (libm-calls): Add s_totalordermagF.
6348         * math/libm-test.inc (totalordermag_test_data): New array.
6349         (totalordermag_test): New function.
6350         (main): Call totalordermag_test.
6351         * math/test-tgmath.c (NCALLS): Increase to 125.
6352         (F(compile_test)): Call totalordermag.
6353         (F(totalordermag)): New function.
6354         * manual/arith.texi (FP Comparison Functions): Document
6355         totalordermag, totalordermagf and totalordermagl.
6356         * manual/libm-err-tab.pl: Update comment on interfaces without
6357         ulps tabulated.
6358         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6359         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6360         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6361         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6362         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6363         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6364         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6365         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6366         totalordermag.
6367         (CFLAGS-nldbl-totalordermag.c): New variable.
6368         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
6369         (do_test): Also test totalordermagl.
6370         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
6371         Likewise.
6372         * sysdeps/nacl/libm.abilist: Update.
6373         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6374         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6375         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6376         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6377         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6378         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6379         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6380         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6381         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6382         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6383         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6384         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6386         Likewise.
6387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6388         Likewise.
6389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6390         Likewise.
6391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6392         Likewise.
6393         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6394         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6395         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6396         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6397         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6399         Likewise.
6400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6401         Likewise.
6402         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6403         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6404         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6406 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
6408         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
6409         boolean.
6411 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
6413         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
6414         raising FE_INVALID with feraisexcept in case where part of
6415         argument is infinite, subtract that part of argument from itself.
6416         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
6417         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
6418         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6420 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6422         * math/libm-test.inc (totalorder_test_data): Add more tests.
6424 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6426         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
6427         Undefine weak_alias and add a comment why mips64 require
6428         versioning.
6430 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6432         [BZ #20647]
6433         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
6434         maximum CPUID level is less than 2.
6436 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6438         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6439         (totalorder): New declaration.
6440         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
6441         New macro.
6442         * math/Versions (totalorder): New libm symbol at version
6443         GLIBC_2.25.
6444         (totalorderf): Likewise.
6445         (totalorderl): Likewise.
6446         * math/Makefile (libm-calls): Add s_totalorderF.
6447         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
6448         string.
6449         * math/libm-test.inc (PAYLOAD_DIG): New macro.
6450         (qnan_value_pl): Likewise.
6451         (snan_value_pl): Likewise.
6452         (qnan_value): Define using qnan_value_pl.
6453         (snan_value): Define using snan_value_pl.
6454         (struct test_ff_i_data): Add comment about which tests use this
6455         structure.
6456         (RUN_TEST_ff_b): New macro.
6457         (RUN_TEST_LOOP_ff_b): Likewise.
6458         (totalorder_test_data): New array.
6459         (totalorder_test): New function.
6460         (main): Call totalorder_test.
6461         * math/test-tgmath.c (NCALLS): Increase to 122.
6462         (F(compile_test)): Call totalorder.
6463         (F(totalorder)): New function.
6464         * manual/arith.texi (FP Comparison Functions): Document
6465         totalorder, totalorderf and totalorderl.
6466         * manual/libm-err-tab.pl: Update comment on interfaces without
6467         ulps tabulated.
6468         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
6469         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
6470         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
6471         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
6472         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
6473         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
6474         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
6475         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6476         totalorder.
6477         (CFLAGS-nldbl-totalorder.c): New variable.
6478         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
6479         file.
6480         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6481         Add test-totalorderl-ldbl-128ibm.
6482         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
6483         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
6484         test-totalorderl-ldbl-96.
6485         * sysdeps/nacl/libm.abilist: Update.
6486         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6487         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6488         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6489         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6490         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6491         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6492         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6493         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6494         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6495         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6496         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6497         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6499         Likewise.
6500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6501         Likewise.
6502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6503         Likewise.
6504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6505         Likewise.
6506         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6507         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6508         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6509         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6510         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6512         Likewise.
6513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6514         Likewise.
6515         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6516         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6517         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6519 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6521         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
6522         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
6523         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
6524         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
6525         remove ENOSYS implementation.
6526         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
6527         Consolidate all Linux implementations.
6529 2016-10-11  Florian Weimer  <fweimer@redhat.com>
6531         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
6532         * resolv/herror.c (herror): Cast away const-ness.
6533         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
6534         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
6536 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
6538         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
6539         instead of M_NAN + M_NAN.
6540         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6542 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6544         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
6545         unused variable 'p'.
6547 2016-10-09  Alan Modra  <amodra@gmail.com>
6548             Andreas Schwab  <schwab@linux-m68k.org>
6550         [BZ #20554]
6551         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
6552         [PIC && !SHARED]: Set up PIC register for PLT call.
6554 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
6556         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
6557         conditional on value of [__FLT_EVAL_METHOD__].
6558         * math/test-iseqsig-excess-precision.c: New file.
6559         * math/Makefile (tests): Add test-iseqsig-excess-precision.
6561 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6563         * math/s_iseqsig_template.c: Include math-private.h.
6565         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
6566         * posix/tst-posix_fadvise.c: New file.
6567         * posix/tst-posix_fadvise64.c: Likewise.
6568         * posix/tst-posix_fadvise-common.c: Likewise.
6569         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6570         (__ASSUME_FADVISE64_64_6ARG): Define.
6571         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6572         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
6573         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6574         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
6575         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
6576         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
6577         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
6578         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6579         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
6580         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
6581         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
6582         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
6583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
6584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
6585         Likewise.
6586         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
6587         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
6588         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
6589         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6590         Alias to __posix_fadvise64_l32.
6591         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
6592         Add compat definition to posix_fadvise64.
6593         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6594         Add versioned definition to posix_fadvise64.
6595         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
6596         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
6597         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
6598         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
6599         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
6601         * io/Makefile (tests): Add tst-posix_fallocate and
6602         tst-posix_fallocate64.
6603         * io/tst-posix_fallocate-common.c: New file.
6604         * io/tst-posix_fallocate.c: Likewise.
6605         * io/tst-posix_fallocate64.c: Likewise.
6606         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
6607         file.
6608         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
6609         Likewise.
6610         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
6611         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
6612         Likewise.
6613         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
6614         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
6615         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
6616         SYSCALL_LL to pass both offset and len arguments.
6617         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
6618         Likewise.
6619         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
6620         __libc_pwrite64 alias used by posix_fallocate64.
6622         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6623         tst-fallocate64.
6624         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6625         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6626         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6627         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6628         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6629         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6630         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6631         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6632         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6633         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6634         macro on offset argument.
6635         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6636         SYSCALL_LL64 on offset argument.
6638         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6639         tst-fallocate64.
6640         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6641         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6642         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6643         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6644         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6645         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6646         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6647         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6648         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6649         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6650         macro on offset argument.
6651         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6652         SYSCALL_LL64 on offset argument.
6653         * test-skeleton.c (FAIL_RET): Add macro.
6654         (FAIL_EXIT): Likewise.
6655         (FAIL_EXIT1): Likewise.
6656         (_FAIL): Likewise.
6658 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6660         [BZ #20629]
6661         resolv: Remove RES_USEBSTRING and its implementation.
6662         * resolv/resolv.h (RES_USEBSTRING): Remove.
6663         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
6664         (digitvalue, encode_bitstring, decode_bitstring): Remove.
6665         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
6666         (labellen): Remove extended label types support.
6667         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
6668         * resolv/res_init.c (res_setoptions): Likewise.
6669         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
6671 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6673         resolv: Remove RES_NOIP6DOTINT and its implementation.
6674         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
6675         (RES_NOIP6DOTINT): Remove.
6676         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
6677         handling.
6678         * resolv/res_debug.c (p_option): Likewise.
6679         * resolv/res_init.c (res_setoptions): Likewise.
6680         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
6682 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6684         resolv: Deprecate unimplemented flags.
6685         * misc/sys/cdefs.h (__glibc_macro_warning1)
6686         (__glibc_macro_warning): Define.
6687         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
6688         (RES_KEEPTSIG): Mark as deprecated.
6689         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
6690         RES_NOCHECKNAME, RES_KEEPTSIG.
6691         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
6693 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6695         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
6696         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
6697         Use strong_alias to create symbols for glibc verison 2.19.
6699 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6701         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
6703 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6705         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
6707 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6709         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
6711 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6713         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6714         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
6715         in header for using it as type for ifunc function because __GI_* symbols
6716         for ppc32 do not target the ifunc symbols.
6717         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6719 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6721         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
6722         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
6723         libc_ifunc_hidden_def.
6724         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
6725         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
6726         Redirect ifunced function in header for using it as type of ifunc'ed
6727         function. Redefine libc_hidden_def to use fallback non ifunc'ed
6728         function for __GI_* symbol.
6729         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
6730         * include/libc-symbols.h
6731         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
6733 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6735         [BZ #20478]
6736         * sysdeps/s390/multiarch/ifunc-resolve.h
6737         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
6738         to create ifunc symbols.
6739         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
6740         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
6741         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
6742         for using it as type for ifunc function.
6743         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6744         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6745         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6746         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6747         * sysdeps/s390/multiarch/strcat.c: Likewise.
6748         * sysdeps/s390/multiarch/strchr.c: Likewise.
6749         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6750         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6751         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6752         * sysdeps/s390/multiarch/strlen.c: Likewise.
6753         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6754         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6755         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6756         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6757         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6758         * sysdeps/s390/multiarch/strspn.c: Likewise.
6759         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6760         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6761         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6762         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6763         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6764         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6765         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6766         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
6767         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
6768         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6769         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
6770         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
6772 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6774         * include/libc-symbols.h (__ifunc_resolver):
6775         New macro is used by __ifunc* macros.
6776         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
6777         depending on HAVE_GCC_IFUNC.
6778         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
6779         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
6780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6781         Redirect ifunced function in header for using as type for ifunc function.
6782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
6783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
6784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
6785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
6786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6787         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6788         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6789         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6790         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6791         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6792         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6793         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6794         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6795         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
6798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
6800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6801         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6802         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6803         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6804         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6805         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6806         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6807         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6808         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6809         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6810         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6811         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6812         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6813         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
6814         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
6816         Add libc_hidden_def() and use libc_ifunc_hidden() macro
6817         instead of libc_ifunc() macro.
6818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
6819         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6821 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6823         * config.h.in (HAVE_GCC_IFUNC): New undef.
6824         * configure.ac: Add check if gcc supports attribute ifunc feature.
6825         * configure: Regenerated.
6826         * manual/install.texi: Add recommendation for gcc with
6827         indirect-function support.
6828         * INSTALL: Regenerated.
6830 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
6832         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
6833         macro.
6834         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6835         (__iseqsig): New declaration.
6836         * math/s_iseqsig_template.c: New file.
6837         * math/Versions (__iseqsigf): New libm symbol at version
6838         GLIBC_2.25.
6839         (__iseqsig): Likewise.
6840         (__iseqsigl): Likewise.
6841         * math/libm-test.inc (iseqsig_test_data): New array.
6842         (iseqsig_test): New function.
6843         (main): Call iseqsig_test.
6844         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
6845         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
6846         * manual/libm-err-tab.pl: Update comment on interfaces without
6847         ulps tabulated.
6848         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
6849         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
6850         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
6851         * sysdeps/nacl/libm.abilist: Update.
6852         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6853         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6854         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6855         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6856         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6857         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6858         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6859         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6860         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6861         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6862         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6863         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6865         Likewise.
6866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6867         Likewise.
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6869         Likewise.
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6871         Likewise.
6872         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6873         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6874         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6875         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6876         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6878         Likewise.
6879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6880         Likewise.
6881         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6882         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6883         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6885 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6887         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
6888         do_sincos_2, sloww, sloww1): Update comments.
6890         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
6891         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
6893         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
6894         K boolean and rename it.
6895         (__sin): Adjust.
6896         (__cos): Adjust.
6898 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
6899             Siddhesh Poyarekar  <siddhesh@sourceware.org>
6901         * manual/nss.texi: Fix typos in the manual.
6903 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
6905         * manual/contrib.texi: Fix typos in the manual.
6907         * manual/maint.texi: Fix typos in the manual.
6909         * manual/install.texi: Fix typos in the manual.
6910         * INSTALL: Regenerated.
6912         * manual/lang.texi: Fix typos in the manual.
6914         * manual/probes.texi: Fix typos in the manual.
6916         * manual/threads.texi: Fix typos in the manual.
6918         * manual/debug.texi: Fix typos in the manual.
6920         * manual/crypt.texi: Fix typos in the manual.
6922         * manual/conf.texi: Fix typos in the manual.
6924         * manual/sysinfo.texi: Fix typos in the manual.
6926         * manual/users.texi: Fix typos in the manual.
6928         * manual/job.texi: Fix typos in the manual.
6930         * manual/process.texi: Fix typos in the manual.
6932         * manual/argp.texi: Fix typos in the manual.
6933         * manual/getopt.texi: Likewise.
6934         * manual/startup.texi: Likewise.
6936         * manual/signal.texi: Fix typos in the manual.
6938         * manual/setjmp.texi: Fix typos in the manual.
6940         * manual/resource.texi: Fix typos in the manual.
6942         * manual/time.texi: Fix typos in the manual.
6944         * manual/arith.texi: Fix typos in the manual.
6946         * manual/math.texi: Fix typos in the manual.
6948         * manual/syslog.texi: Fix typos in the manual.
6950         * manual/terminal.texi: Fix typos in the manual.
6952         * manual/socket.texi: Fix typos in the manual.
6954         * manual/filesys.texi: Fix typos in the manual.
6956         * manual/llio.texi: Fix typos in the manual.
6958         * manual/stdio.text: Fix typos in the manual.
6960 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6962         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
6963         instead of K1.
6965         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
6966         SHIFT_QUADRANT and make it bool.
6967         (do_sincos_2): Likewise.
6968         (sloww): Likewise.
6969         (sloww1): Likewise.
6970         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
6971         (__cos): Likewise.
6973 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6975         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6977 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
6979         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
6980         Define to __WORDSIZE, not conditional on [LONG_MAX ==
6981         0x7fffffffL].
6982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6984 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6986         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
6987         inline by __inline__.
6988         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
6989         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
6990         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
6991         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
6992         sigset_t from signal.h.
6993         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
6994         which is already required.
6996 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
6998         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7000 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
7002         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
7003         (struct tcp_repair_window): New type.
7005 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7007         * libio/tst-memstream3.c: Include string.h.
7009 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7011         [BZ #18241]
7012         [BZ #20181]
7013         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
7014         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
7015         write position is at the end the buffer.
7016         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
7017         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
7018         (_IO_str_seekoff): Set correct offset from negative displacement and
7019         set EINVAL for invalid ones.
7020         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
7021         buffer length.
7022         (_IO_wstr_switch_to_get_mode): New function.
7023         (_IO_wstr_seekoff): Set correct offset from negative displacement and
7024         set EINVAL for invalid ones.
7025         * libio/tst-memstream3.c: New file.
7026         * libio/tst-wmemstream3.c: Likewise.
7027         * manual/examples/memstrm.c: Remove warning when priting size_t.
7029 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7031         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
7032         macro to use __builtin_fma.
7033         * sysdeps/x86_64/fpu/dla.h: Remove file.
7035         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7036         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
7037         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
7039 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
7041         [BZ #20292]
7042         * elf/Makefile (routines): Add dl-addr-obj.
7043         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
7044         tst-_dl_addr_inside_object.
7045         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
7046         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7047         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
7048         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7049         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7050         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7051         * elf/dl-open.c: Likewise.
7052         * elf/dl-addr-obj.c: New file.
7053         * elf/tst-_dl_addr_inside_object.c: New file.
7055 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7057         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7058         <bits/iscanonical.h>.
7059         * bits/iscanonical.h: New file.
7060         * math/s_iscanonicall.c: Likewise.
7061         * math/Versions (__iscanonicall): New libm symbol at version
7062         GLIBC_2.25.
7063         * math/libm-test.inc (iscanonical_test_data): New array.
7064         (iscanonical_test): New function.
7065         (main): Call iscanonical_test.
7066         * math/Makefile (headers): Add bits/iscanonical.h.
7067         (type-ldouble-routines): Add s_iscanonicall.
7068         * manual/arith.texi (Floating Point Classes): Document
7069         iscanonical.
7070         * manual/libm-err-tab.pl: Update comment on interfaces without
7071         ulps tabulated.
7072         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7073         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7074         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7075         Likewise.
7076         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7077         test-iscanonical-ldbl-128ibm.
7078         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7079         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7080         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7081         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7082         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7083         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7084         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7086         Likewise.
7087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7088         Likewise.
7089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7090         Likewise.
7091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7092         Likewise.
7093         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7094         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7096 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7098         * string/bits/string3.h: Remove C++ style comments.
7100 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7102         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7103         instead of ternary condition.
7104         (do_sincos_2): Likewise.
7105         (__sin): Likewise.
7106         (__cos): Likewise.
7107         (slow): Likewise.
7108         (sloww): Likewise.
7109         (sloww1): Likewise.
7110         (bsloww): Likewise.
7111         (bsloww1): Likewise.
7113         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7114         instead of ternary condition.
7115         (do_sin_slow): Likewise.
7116         (do_sincos_1): Likewise.
7117         (do_sincos_2): Likewise.
7118         (__cos): Likewise.
7119         (sloww): Likewise.
7120         (sloww1): Likewise.
7121         (sloww2): Likewise.
7122         (bsloww): Likewise.
7123         (bsloww1): Likewise.
7124         (bsloww2): Likewise.
7126         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7127         check from here...
7128         (slow2): ... and here...
7129         (__sin): ... to here.
7131 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7133         * math/math.h
7134         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7135         Cast argument to its own type.
7136         * math/test-iszero-excess-precision.c: New file.
7137         * math/Makefile (tests): Add test-iszero-excess-precision.
7138         (CFLAGS-test-iszero-excess-precision.c): New variable.
7140 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7142         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7143         field, add err field.
7144         (__spawni_child): Report error through err member instead of pipe.
7145         (__spawnix): Likewise.
7147 2016-09-28  Zack Weinberg  <zackw@panix.com>
7149         * scripts/check-installed-headers.sh: Generalize treatment of
7150         sys/elf.h to all target architectures.
7152         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7153         deleted typedef ucontext_t.
7155 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7157         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7158         (__INTERNAL_SYSCALL1): Likewise.
7159         (__INTERNAL_SYSCALL2): Likewise.
7160         (__INTERNAL_SYSCALL3): Likewise.
7161         (__INTERNAL_SYSCALL4): Likewise.
7162         (__INTERNAL_SYSCALL5): Likewise.
7163         (__INTERNAL_SYSCALL6): Likewise.
7164         (__INTERNAL_SYSCALL7): Likewise.
7165         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7166         (__INTERNAL_SYSCALL_NARGS): Likewise.
7167         (__INTERNAL_SYSCALL_DISP): Likewise.
7168         (INTERNAL_SYSCALL_CALL): Likewise.
7169         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7170         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7171         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7172         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7173         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7174         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7175         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7176         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7177         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7178         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7179         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7180         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7181         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7183 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7185         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7186         macro.
7187         * math/libm-test.inc (iszero_test_data): New array.
7188         (iszero_test): New function.
7189         (main): Call iszero_test.
7190         * manual/arith.texi (Floating Point Classes): Document iszero.
7191         * manual/libm-err-tab.pl: Update comment on interfaces without
7192         ulps tabulated.
7194 2016-09-23  Zack Weinberg  <zackw@panix.com>
7196         * scripts/check-installed-headers.sh: New script.
7197         * Rules: In each directory that defines header files to be installed,
7198         run check-installed-headers.sh on them as a special test.
7199         * Makefile: Likewise for the headers installed at top level.
7201         * include/aliases.h, include/alloca.h, include/argz.h
7202         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7203         * include/elf.h, include/envz.h, include/err.h
7204         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7205         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7206         * include/link.h, include/malloc.h, include/mcheck.h
7207         * include/mntent.h, include/netinet/ether.h
7208         * include/nss.h, include/obstack.h, include/printf.h
7209         * include/pty.h, include/resolv.h, include/rpc/auth.h
7210         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7211         * include/rpc/clnt.h, include/rpc/des_crypt.h
7212         * include/rpc/key_prot.h, include/rpc/netdb.h
7213         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7214         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7215         * include/rpc/rpc_msg.h, include/rpc/svc.h
7216         * include/rpc/svc_auth.h, include/rpc/xdr.h
7217         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7218         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7219         * include/rpcsvc/ypupd.h, include/shadow.h
7220         * include/stdio_ext.h, include/sys/epoll.h
7221         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7222         * include/sys/prctl.h, include/sys/profil.h
7223         * include/sys/statfs.h, include/sys/sysctl.h
7224         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7225         * sysdeps/arm/nacl/include/bits/setjmp.h
7226         * sysdeps/mips/include/sys/asm.h
7227         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7228         * sysdeps/unix/sysv/linux/include/sys/timex.h
7229         * sysdeps/x86/fpu/include/bits/fenv.h:
7230         Add #ifndef _ISOMAC guard around internal declarations.
7231         Add multiple-inclusion guard if not already present.
7233 2016-09-23  Zack Weinberg  <zackw@panix.com>
7235         * sysdeps/generic/sys/ucontext.h
7236         * sysdeps/arm/sys/ucontext.h
7237         * sysdeps/i386/sys/ucontext.h
7238         * sysdeps/m68k/sys/ucontext.h
7239         * sysdeps/mips/sys/ucontext.h
7240         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7241         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7242         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7243         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7244         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7245         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7246         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7247         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7248         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7249         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7250         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7251         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7252         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7253         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7254         Include both bits/sigcontext.h and bits/sigstack.h.
7255         Fix grammar error in comment, if present.
7257         * bits/sigstack.h
7258         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7259         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7260         * sysdeps/unix/sysv/linux/bits/sigstack.h
7261         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7262         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7263         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7264         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7265         * bits/sigcontext.h
7266         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7267         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7268         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7269         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7270         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7271         as well as signal.h, if this was not already allowed.  Request
7272         definition of size_t if necessary.  Minimize semantically-null
7273         differences across files.
7275 2016-09-23  Zack Weinberg  <zackw@panix.com>
7277         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7278         Remove all logic conditional on __need macros.  Move all the
7279         conditionally defined types to their own headers...
7280         * time/bits/types/clock_t.h: Define clock_t here.
7281         * time/bits/types/clockid_t.h: Define clockid_t here.
7282         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7283         * time/bits/types/struct_timespec.h: Define struct timespec here.
7284         * time/bits/types/struct_timeval.h: Define struct timeval here.
7285         * time/bits/types/struct_tm.h: Define struct tm here.
7286         * time/bits/types/time_t.h: Define time_t here.
7287         * time/bits/types/timer_t.h: Define timer_t here.
7288         * time/Makefile: Install the new headers.
7290         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7291         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7292         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7293         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7294         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7295         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7296         * sysdeps/unix/sysv/linux/bits/resource.h
7297         * sysdeps/unix/sysv/linux/bits/timex.h
7298         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7299         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7300         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7301         * sysdeps/unix/sysv/linux/sys/acct.h
7302         * sysdeps/unix/sysv/linux/sys/timerfd.h
7303         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7304         * time/sys/time.h, time/sys/timeb.h
7305         Use the new bits/types headers.
7307         * include/time.h: Remove __need logic.
7308         * include/bits/time.h
7309         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7310         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7311         * include/bits/types/struct_itimerspec.h
7312         * include/bits/types/struct_timespec.h
7313         * include/bits/types/struct_timeval.h
7314         * include/bits/types/struct_tm.h:
7315         New wrapper headers.
7317 2016-09-23  Zack Weinberg  <zackw@panix.com>
7319         * sysdeps/mach/hurd/net/if_ppp.h
7320         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7321         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7322         if __USE_MISC is defined, to ensure struct ifreq is declared.
7324         * inet/netinet/ether.h: Condition all function prototypes
7325         on __USE_MISC, to ensure struct ether_addr is declared.
7327         * socket/bits/types/struct_osockaddr.h: New header.
7328         * include/bits/types/struct_osockaddr.h: New wrapper.
7329         * socket/Makefile: Install the new header.
7330         * socket/sys/socket.h, inet/protocols/talkd.h:
7331         Refer to bits/types/struct_osockaddr.h for the definition of
7332         struct osockaddr.
7334 2016-09-23  Zack Weinberg  <zackw@panix.com>
7336         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7337         * inet/protocols/routed.h, inet/protocols/talkd.h
7338         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7339         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7340         * sysdeps/generic/netinet/if_ether.h
7341         * sysdeps/generic/netinet/in_systm.h
7342         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7343         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7344         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7345         * sysdeps/mach/hurd/net/if_arp.h
7346         * sysdeps/mach/hurd/net/if_ppp.h
7347         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7348         * sysdeps/unix/sysv/linux/bits/in.h
7349         * sysdeps/unix/sysv/linux/net/ethernet.h
7350         * sysdeps/unix/sysv/linux/net/if_arp.h
7351         * sysdeps/unix/sysv/linux/net/if_ppp.h
7352         * sysdeps/unix/sysv/linux/net/if_shaper.h
7353         * sysdeps/unix/sysv/linux/net/route.h
7354         * sysdeps/unix/sysv/linux/netinet/if_ether.h
7355         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7356         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7357         * sysdeps/unix/sysv/linux/netipx/ipx.h
7358         * sysdeps/unix/sysv/linux/sys/acct.h
7359         * include/arpa/nameser.h, include/resolv.h:
7360         Change all uses of u_char to unsigned char,
7361         u_short and ushort to unsigned short, u_int and uint to unsigned int,
7362         u_long and ulong to unsigned long, u_int8_t to uint8_t,
7363         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7364         and u_int64_t and u_quad_t to uint64_t.
7366         * mach/sys/reboot.h: Remove two casts of integer literals
7367         to the types they already have.
7369         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
7370         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7371         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
7372         from referring to 'unsigned char' to 'uint8_t' for consistency with
7373         the macro definition below.
7375         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
7376         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
7377         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
7378         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
7379         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
7380         * sysdeps/unix/sysv/linux/sys/acct.h
7381         * include/arpa/nameser.h, include/resolv.h:
7382         Fix indentation disrupted by mechanical edits.
7384         * inet/protocols/talkd.h, resolv/arpa/nameser.h
7385         * sysdeps/generic/netinet/in_systm.h
7386         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7387         * sysdeps/gnu/netinet/udp.h
7388         * sysdeps/unix/sysv/linux/net/ethernet.h
7389         * sysdeps/unix/sysv/linux/net/if_arp.h
7390         * sysdeps/unix/sysv/linux/net/if_ppp.h
7391         * sysdeps/unix/sysv/linux/net/if_shaper.h
7392         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7393         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7394         * sysdeps/unix/sysv/linux/netipx/ipx.h
7395         * sysdeps/unix/sysv/linux/sys/acct.h
7396         Include stdint.h for uintNN_t definitions.
7397         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
7399 2016-09-23  Zack Weinberg  <zackw@panix.com>
7401         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
7402         * sysdeps/unix/sysv/linux/netrose/rose.h:
7403         Include sys/socket.h and netax25/ax25.h.
7405         * inet/netinet/icmp6.h, inet/netinet/ip6.h
7406         * resolv/arpa/nameser_compat.h:
7407         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
7409         * sysdeps/unix/sysv/linux/sys/quota.h:
7410         Use __caddr_t instead of caddr_t.
7411         * sysdeps/unix/sysv/linux/sys/timerfd.h:
7412         Use __clockid_t instead of clockid_t.
7414         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
7416         * argp/argp.h: Check whether _LIBC is defined before expanding it.
7417         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
7418         expanding it.
7420         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
7421         Define __glibc_c99_flexarr_available to 1 when the compiler
7422         supports C99-compatible flexible array members, 0 otherwise.
7423         * sysdeps/unix/sysv/linux/bits/socket.h
7424         * sysdeps/mach/hurd/bits/socket.h
7425         * bits/socket.h: Use __glibc_c99_flexarr_available in
7426         definitions of struct cmsghdr and CMSG_DATA.
7428 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7430         * manual/nss.texi (NSS Modules Interface): Adjust function return
7431         type to enum nss_status.  Document errnop argument.  Clarify
7432         h_errnop semantics.  Fix cross-reference formatting.
7433         (NSS Module Function Internals): Mention that *errnop needs to be
7434         set on failure, but not to zero.
7436 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7438         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
7439         (get_random_name): New functions.
7440         (check_wrapper_flags_mode): Use linkat to give the new file a name
7441         determined by get_random_name.
7442         (do_test): Add calls to test open64 and openat64.
7444 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7446         * test-skeleton.c: Remove #include <stdarg.h>.
7448 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
7450         [BZ #19826]
7451         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
7452         initialization of static TLS entries.
7453         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
7454         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7456 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7458         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
7459         _hurd_malloc_fork_prepare.
7460         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
7461         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
7462         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
7463         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
7464         (_hurd_fork_child_hook): Drop malloc_fork_child.
7465         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
7466         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
7467         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
7468         after locking locks (notably hurd_dtable_lock). Call
7469         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
7470         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
7471         __malloc_fork_unlock_child.
7472         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
7474 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
7476         * soft-fp/extendhftf2.c: New.
7477         * soft-fp/fixhfti.c: Likewise.
7478         * soft-fp/fixunshfti.c: Likewise.
7479         * soft-fp/floattihf.c: Likewise.
7480         * soft-fp/floatuntihf.c: Likewise.
7481         * soft-fp/half.h: Likewise.
7482         * soft-fp/trunctfhf2.c: Likewise.
7484 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
7486         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
7487         macro.
7488         * math/libm-test.inc (issubnormal_test_data): New array.
7489         (issubnormal_test): New function.
7490         * manual/arith.texi (Floating Point Classes): Document
7491         issubnormal.
7492         * manual/libm-err-tab.pl: Update comment on interfaces without
7493         ulps tabulated.
7495         * sysdeps/generic/stdint.h: Define
7496         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7497         <bits/libc-header-start.h> instead of including <features.h>.
7498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
7499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
7500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
7501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
7502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
7503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
7504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
7505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
7506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
7507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
7508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
7509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
7510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
7511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
7512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
7513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
7514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
7515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
7516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
7517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
7518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
7519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
7520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
7521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
7522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
7523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
7524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
7525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
7526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
7527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
7528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
7529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
7530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
7531         * manual/arith.texi (Integers): Document these macros for types
7532         specified by width properties.
7533         * manual/lang.texi (Width of Type): Document these macros for
7534         other standard typedefs.
7535         * stdlib/tst-width-stdint.c: New file.
7536         * stdlib/Makefile (tests): Add tst-width-stdint.
7538 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7540         [BZ #20016]
7541         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
7542         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
7543         Move ...
7544         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
7545         ... here, as compatibility symbols in a new file.
7546         * resolv/Makefile (libresolv-routines): Add compat-hooks.
7547         * resolv/res_init.c (__res_vinit): Adjust member names.
7548         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
7549         * resolv/resolv.h (res_sendhookact, res_send_qhook)
7550         (res_send_rhook): Remove.
7551         (struct __res_state): Rename qhook, rhook members.
7553 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7555         malloc: Use __libc_lock wrappers.
7556         * malloc/arena.c (list_lock, free_list_lock): Define using
7557         __libc_lock_define_initialized.
7558         (arena_lock): Adjust formatting.
7559         * malloc/malloc.c (struct malloc_state): Define mutex using
7560         __libc_lock_define.
7561         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
7562         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
7563         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
7564         (mutex_unlock, mutex_trylock): Remove.
7565         (__pthread_initialize): Remove unused macro.
7566         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
7567         (mutex_unlock, mutex_trylock): Remove.
7569 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7571         [BZ #20592]
7572         Remove RR type classification macros.
7573         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
7574         (ns_t_udp_p, ns_t_xfr_p): Remove.
7576 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7578         Remove misleading version information.
7579         * resolv/arpa/nameser.h (__NAMESER): Remove.
7580         * resolv/arpa/nameser_compat.h (__BIND): Remove.
7582 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7584         Remove the always-defined BIND_4_COMPAT macro.
7585         * resolv/arpa/nameser.h: Unconditionally include
7586         <arpa/nameser_compat.h>.
7587         (BIND_4_COMPAT): Remove.
7588         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
7590 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7592         [BZ #20591]
7593         Remove obsolete DNSSEC support.
7594         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
7595         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
7596         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
7597         (ns_verify_tcp, ns_verify_tcp_init): Remove.
7598         (ns_cert_types): Add comment.
7599         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
7600         separately.
7601         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
7602         (dst_s_dns_key_id): Remove.
7603         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
7604         variables.
7606 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7608         [BZ #20524]
7609         * manual/string.texi (String/Array Comparison): Clarify the
7610         strverscmp behavior.
7612 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7614         * test-skeleton.c (xasprintf): Add function.
7615         * io/tst-open-tmpfile.c: New test.
7616         * io/Makefile (tests): Add it.
7618 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7620         Avoid running $(CXX) during build to obtain header file paths.
7621         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
7622         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
7623         * Makerules (cstdlib, cmath): Remove variables.  Use
7624         $(c++-cstdlib-header), $(c++-cmath-header) instead.
7625         * configure: Regenerate.
7627 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7629         * Makeconfig (all-object-suffixes): Include .op only if
7630         $(build-profile).
7632 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7634         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
7635         conditionals.  Do not define PATH_MAX.
7637 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7639         * posix/Makefile (tests): Add tst-spawn3.
7640         * posix/tst-spawn3.c: New file.
7641         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
7642         if it is already opened for open action.
7644         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
7645         all signals when executing the clone vfork child.
7646         (SIGALL_SET): Remove macro.
7648         * nptl/Makefile (tests): Add tst-exec5.
7649         * nptl/tst-exec5.c: New file.
7650         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
7651         asynchronous cancellation.
7653 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7655         * hurd/exc2signal.c: #include <hurd/signal.h>
7656         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
7657         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
7658         accordingly.
7659         * mach/mach_error.c (mach_error): Fix old-style function definition.
7660         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
7662 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7664         * math/Makefile (libm-calls): Remove s_nanF.
7665         (gen-libm-calls): Add s_nanF.
7667         * math/s_nan.c: Refactor into ...
7668         * math/s_nan_template.c: New file.
7670         * math/s_nanf.c: Removed.
7671         * math/s_nanl.c: Removed.
7672         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
7673         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
7675         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7676         (LDOUBLE_nanl_libm_version): New macro.
7678         * sysdeps/generic/math-type-macros-double.h:
7679         (M_STRTO_NAN): New macro.
7680         * sysdeps/generic/math-type-macros-float.h: Likewise.
7681         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7683         * sysdeps/generic/math-type-macros.h: Document
7684         M_STRTO_NAN.
7686 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7688         * math/s_nanf.c: Remove __nanf undef.
7689         * math/s_nan.c: Remove __nan undef.
7690         * math/s_nanl.c: Remove __nanl undef.
7692         * sysdeps/generic/math_private.h (__nan): Remove macro
7693         override.
7694         (__nanf): Likewise.
7695         (__nanl): Likewise.
7697 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7699         * math/Makefile (gen-all-calls): New variable.
7700         (generated): Replace gen-libm-calls with gen-all-calls.
7701         (gen-libm-templates.stmp): Likewise.  Also, ensure
7702         the output directory exists or is created and add
7703         dependency on the Makefile.
7704         (calls): Move s_ldexpF into gen-calls.
7705         (gen-calls): New variable.
7707         * math/s_ldexpf.c: Removed.
7708         * math/s_ldexpl.c: Removed.
7709         * math/s_ldexp.c: Refactored into ...
7710         * math/s_ldexp_template.c: New file.
7712         * sysdeps/generic/math-type-macros-double.h: Remove
7713         redundant fall-through definition of declare_mgen_alias.
7714         (declare_mgen_alias_2): New macro.
7716         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
7717         New macro for function aliased to two exported symbols.
7719         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
7720         new template file.
7721         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7723 2016-09-20  Florian Weimer  <fweimer@redhat.com>
7725         * Makeconfig (all-object-suffixes): Remove .og.
7726         * Makerules (elide-routines.og): Remove.
7727         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
7728         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
7729         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
7731 2016-09-20  Florian Weimer  <fweimer@redhat.com>
7733         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
7734         .os objects.
7736 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7738         [BZ #20615]
7739         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
7740         fpu directory by non-fpu.
7741         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
7742         on non-fpu directory from a fpu directory.
7744 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
7746         * include/limits.h: Define
7747         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7748         <bits/libc-header-start.h> instead of including <features.h>.
7749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
7750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
7751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
7752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
7753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
7754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
7755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
7756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
7757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7758         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
7759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
7760         * manual/lang.texi (Width of Type): Document these macros.
7761         * stdlib/tst-width.c: New file.
7762         * stdlib/Makefile (tests): Add tst-width.
7764 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7766         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
7767         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
7769 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7771         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
7772         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
7773         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
7775 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7777         [BZ #18243]
7778         * rt/Makefile (test): Add tst-shm-cancel.
7779         * rt/tst-shm-cancel.c: New file.
7780         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
7782         [BZ #18243]
7783         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
7784         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
7785         definition.
7786         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
7787         uncontended case.
7788         * nptl/sem_wait.c (__new_sem_wait): Likewise.
7789         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
7790         (tf): Fix check for uncontended case.
7791         (do_test): Likewise.
7792         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
7793         (tf): Fix check for uncontended case.
7794         (do_test): Likewise.
7795         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
7796         (tf): Fix check for uncontended case.
7797         (do_test): Likewise.
7798         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
7799         (tf): Fix check for uncontended case.
7800         (do_test): Likewise.
7802         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
7803         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
7805         [BZ #15765]
7806         * nptl/Makefile (tests): Add tst-sem16.
7807         * nptl/tst-sem16.c: New file.
7808         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
7810         * nptl/sem_open.c (sem_open): Init pad value to 0.
7811         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
7812         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
7814 2016-09-15  Florian Weimer  <fweimer@redhat.com>
7816         [BZ #20611]
7817         * inet/Makefile (routines): Add inet6_scopeid_pton.
7818         (tests): Add tst-inet6_scopeid_pton.
7819         * inet/inet6_scopeid_pton.c: New file.
7820         * inet/net-internal.h: Likewise.
7821         * inet/tst-inet6_scopeid_pton.c: New test.
7822         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
7823         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
7824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7826 2016-09-14  Florian Weimer  <fweimer@redhat.com>
7828         Remove support for compiling wrappers with PTW.
7829         * sysdeps/nptl/Makeconfig: Drop ptw- support.
7830         * nptl/Makefile (pthread-compat-wrappers): Define.
7831         (libpthread-routines): Use pthread-compat-wrappers.
7832         * sysdeps/unix/sysv/linux/alpha/Makefile
7833         (libpthread-routines, libpthread-shared-only-routines): Remove
7834         ptw- prefix.
7835         * sysdeps/s390/nptl/Makefile
7836         (libpthread-routines, libpthread-shared-only-routines): Likewise.
7837         * sysdeps/ia64/nptl/Makefile
7838         (libpthread-routines, libpthread-shared-only-routines): Likewise.
7839         * sysdeps/nacl/Makefile (libpthread-routines): Use
7840         pthread-compat-wrappers to filter the routines list instead of the
7841         ptw- prefix.
7843 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7845         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
7846         with L() and remove explicit suffix, convert real literals
7847         which can be equivalentally substituted with integers, and
7848         transform -L(x) to L(-x).
7850         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7851         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7852         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7853         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7854         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7855         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7856         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7857         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7858         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7859         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7860         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7861         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7862         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7863         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7864         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7865         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7866         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7867         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7868         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7869         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7870         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7871         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7872         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7873         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7874         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7875         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7876         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7877         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7878         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7879         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7880         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7881         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7882         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7883         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7884         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7885         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7886         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7887         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7888         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7889         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7890         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7891         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7892         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7893         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7894         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7895         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7896         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7897         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7898         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7899         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7901 2016-09-13  Florian Weimer  <fweimer@redhat.com>
7903         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
7905 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7907         * malloc/Makefile (tests): Remove individual static test names
7908         and just add all of tests-static.
7910         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
7912 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
7914         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
7915         file.
7917         * sysdeps/sparc/fpu/fegetmode.c: New file.
7918         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
7920         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
7921         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
7923         * sysdeps/s390/fpu/fegetmode.c: New file.
7924         * sysdeps/s390/fpu/fesetmode.c: Likewise.
7926         * sysdeps/powerpc/fpu/fegetmode.c: New file.
7927         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
7928         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
7929         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
7930         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
7931         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
7933         * sysdeps/mips/fpu/fegetmode.c: New file.
7934         * sysdeps/mips/fpu/fesetmode.c: Likewise.
7936         * sysdeps/m68k/fpu/fegetmode.c: New file.
7937         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
7939         * sysdeps/ia64/fpu/fegetmode.c: New file.
7940         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
7942         * sysdeps/hppa/fpu/fegetmode.c: New file.
7943         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
7945         * sysdeps/arm/fegetmode.c: New file.
7946         * sysdeps/arm/fesetmode.c: Likewise.
7948         * sysdeps/alpha/fpu/fegetmode.c: New file.
7949         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
7951         * sysdeps/aarch64/fpu/fegetmode.c: New file.
7952         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
7954         * math/fegetmode.c: New file.
7955         * math/fesetmode.c: Likewise.
7956         * sysdeps/i386/fpu/fegetmode.c: Likewise.
7957         * sysdeps/i386/fpu/fesetmode.c: Likewise.
7958         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
7959         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
7960         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
7961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
7962         declaration.
7963         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
7964         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
7965         typedef.
7966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7967         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7968         (femode_t): New typedef.
7969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7970         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7971         (femode_t): New typedef.
7972         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7973         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7974         (femode_t): New typedef.
7975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7976         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7977         (femode_t): New typedef.
7978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7979         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7980         (femode_t): New typedef.
7981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7982         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7983         (femode_t): New typedef.
7984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7985         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7986         (femode_t): New typedef.
7987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7988         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7989         (femode_t): New typedef.
7990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7991         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7992         (femode_t): New typedef.
7993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7994         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7995         (femode_t): New typedef.
7996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
7997         declaration.
7998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7999         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8000         (femode_t): New typedef.
8001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8002         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8003         (femode_t): New typedef.
8004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8005         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8006         (femode_t): New typedef.
8007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8008         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8009         (femode_t): New typedef.
8010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8011         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8012         (femode_t): New typedef.
8013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8014         * manual/arith.texi (FE_DFL_MODE): Document macro.
8015         (fegetmode): Document function.
8016         (fesetmode): Likewise.
8017         * math/Versions (fegetmode): New libm symbol at version
8018         GLIBC_2.25.
8019         (fesetmode): Likewise.
8020         * math/Makefile (libm-support): Add fegetmode and fesetmode.
8021         (tests): Add test-femode and test-femode-traps.
8022         * math/test-femode-traps.c: New file.
8023         * math/test-femode.c: Likewise.
8024         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
8025         alias for __fe_dfl_env.
8026         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
8027         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
8028         (__fe_dfl_mode): Likewise.
8029         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
8030         version GLIBC_2.25.
8031         * sysdeps/nacl/libm.abilist: Update.
8032         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8033         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8034         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8035         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8036         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8037         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8038         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8039         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8040         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8041         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8042         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8043         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8045         Likewise.
8046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8047         Likewise.
8048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8049         Likewise.
8050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8051         Likewise.
8052         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8053         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8054         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8055         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8056         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8058         Likewise.
8059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8060         Likewise.
8061         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8062         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8063         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8065 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8067         [BZ #20495]
8068         [BZ #20508]
8069         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8070         processors, set Use_dl_runtime_resolve_slow and set
8071         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8072         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8073         New.
8074         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8075         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8076         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8077         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8078         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8079         if Use_dl_runtime_resolve_opt is set.  Use
8080         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8081         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8082         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8083         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8084         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8085         New.
8086         (_dl_runtime_resolve_opt): Likewise.
8087         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8088         defined.
8090 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8092         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8093         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8095 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8097         Convert malloc to __libc_lock.  Automated part, using this Perl
8098         s/// command:
8099           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8100             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8101         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8102         conversion.
8104 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8106         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8107         (linknamespace-symlists-tests): Likewise.
8108         (linknamespace-header-tests): Likewise.
8110 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8112         [BZ #19810]
8113         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8114         * elf/tst-noload.c: New test case.
8115         * elf/Makefile (tests): Add tst-noload.
8117 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8119         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8121         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8122         not any more.
8124         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8126 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8128         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8129         (do_cos_slow): Likewise.
8130         (do_sin): Likewise.
8131         (do_sin_slow): Likewise.
8132         (slow): Likewise.
8133         (slow1): Likewise.
8134         (slow2): Likewise.
8135         (sloww): Likewise.
8136         (sloww1): Likewise.
8137         (sloww2): Likewise.
8138         (bsloww): Likewise.
8139         (bsloww1): Likewise.
8140         (bsloww2): Likewise.
8141         (cslow2): Likewise.
8143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8145         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8146         arguments.  Consolidate input partitioning from callers here.
8147         (do_cos_slow): Likewise.
8148         (do_sin): Likewise.
8149         (do_sin_slow): Likewise.
8150         (do_sincos_1): Remove the no longer necessary input partitioning.
8151         (do_sincos_2): Likewise.
8152         (__sin): Likewise.
8153         (__cos): Likewise.
8154         (slow1): Likewise.
8155         (slow2): Likewise.
8156         (sloww1): Likewise.
8157         (sloww2): Likewise.
8158         (bsloww1): Likewise.
8159         (bsloww2): Likewise.
8160         (cslow2): Likewise.
8162 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8164         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8165         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8166         outside of allocated array.
8168 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8170         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8171         instead of MB_CUR_MAX to avoid variable-length array.
8173 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8175         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8176         (type-double-routines): Add k_rem_pio2.
8177         (type-float-routines): Add k_rem_pio2f.
8179         * sysdeps/generic/math_private.h:
8180         (__kernel_rem_pio2l): Removed.
8182         * math/k_rem_pio2l.c: Removed.
8183         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8184         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8185         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8186         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8188 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8190         * math/Makefile (gen-libm-calls): Add s_fmin
8191         (libm-calls): Remove above.
8193         * math/s_fmin.c: Refactor into ...
8194         * math/s_fmin_template.c: New file.
8196         * math/s_fminf.c: Removed.
8197         * math/s_fminl.c: Removed.
8198         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8199         (LDOUBLE_fmin_libm_version): New macro.
8201         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8202         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8204 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8206         * math/Makefile: (gen-libm-calls): Add s_fmax.
8207         (libm-calls): Remove above.
8209         * math/s_fmax.c: Refactor into ...
8210         * math/s_fmax_template.c: New file.
8211         * math/s_fmaxf.c: Removed.
8212         * math/s_fmaxl.c: Removed.
8214         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8215         (LDOUBLE_fmaxl_libm_version): New macro.
8217         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8218         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8220         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8221         s_fmin.c to pick the aarch64 version of the file.
8222         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8223         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8225 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8227         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8228         (libm-calls): Remove above.
8230         * math/s_nextdown.c: Refactor into ...
8231         * math/s_nextdown_template.c: New file.
8232         * math/s_nextdownf.c: Removed.
8233         * math/s_nextdownl.c: Removed.
8235         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8237 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8239         * math/Makefile (gen-libm-calls): Add s_fdim.
8240         (libm-calls): Move to above.
8242         * math/s_fdim.c: Renamed and refactored into to ...
8243         * math/s_fdim_template.c: New file.
8244         * math/s_fdiml.c: Removed.
8245         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8246         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8248         * sysdeps/generic/math-type-macros-double.h:
8249         (declare_mgen_alias): Don't declare if already declared.
8250         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8251         Likewise.
8253         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8254         (declare_mgen_alias): Don't declare if already declared.
8255         (M_LIBM_NEED_COMPAT): Likewise.
8256         (declare_mgen_libm_compat): Likewise.
8257         (LDOUBLE_fdiml_libm_version): New macro.
8259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8260         Include math/s_fdim.c now that ldbl-opt version is not needed.
8261         (declare_mgen_alias): New macro to disable aliasing.
8263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8264         (declare_mgen_alias): Likewise.
8265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8266         (declare_mgen_alias): Likewise.
8267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8268         (declare_mgen_alias): Likewise.
8269         (M_LIBM_NEED_COMPAT): Likewise.
8271 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8273         [BZ #20525]
8274         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8275         Include <linux/quota.h>.
8276         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8277         and btodb.
8278         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8279         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8280         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8281         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8282         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8283         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8284         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8285         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8286         types.
8287         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8288         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8290 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8292         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8293         (gammal_positive): Fix spacing.
8294         (__ieee754_gammal_r): Likewise.
8296 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8298         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8299         (_Float128): Define as long double, always.
8300         (L): Apply long double type suffix, always.
8302         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8303         _Float128, excepting comments.
8305         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8306         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8307         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8308         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8309         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8310         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8311         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8312         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8313         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8314         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8315         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8316         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8317         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8318         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8319         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8320         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8321         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8322         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8323         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8324         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8325         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8326         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8327         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8328         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8329         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8330         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8331         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8332         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8333         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8334         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8335         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8336         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8337         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8338         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8339         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8340         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8341         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8342         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8343         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8344         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8345         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8346         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8347         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8348         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8349         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8350         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8351         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8352         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8353         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8354         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8355         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8356         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8357         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8358         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8359         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8360         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8361         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8362         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8363         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8364         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8365         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8366         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8367         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8368         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8369         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8370         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8371         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8372         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8374         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
8375         _Float128, and include math_private.h.
8376         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8378         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
8379         long double semantics.
8380         (_Float128): Likewise.
8381         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
8382         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8383         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8384         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8386 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8388         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
8389         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
8390         * sysdeps/s390/configure: Regenerated.
8391         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
8392         instruction for raising over-/underflow if z196 zarch is supported
8393         by default.
8394         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
8396 2016-08-30  Svante Signell  <svante.signell@gmail.com>
8398         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
8399         it point to a dumb buffer for RPC to fill it.
8401 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8403         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
8404         instead of if/else.
8405         (do_sin_slow): Likewise.
8406         (do_sincos_1): Use fabs instead of if/else.
8407         (do_sincos_2): Likewise.
8408         (__sin): Likewise.
8409         (__cos): Likewise.
8410         (slow2): Likewise.
8411         (sloww): Likewise.
8412         (sloww1): Likewise.  Drop argument M.
8413         (sloww2): Use fabs instead of if/else.
8414         (bsloww): Likewise.
8415         (bsloww1): Likewise.
8416         (bsloww2): Likewise.
8418         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
8419         fall through comment.
8420         (do_sincos_1): Likewise.
8422         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
8423         Consolidate switch cases 0 and 2.
8425 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8427         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
8428         (libm-calls): Remove the above.
8430         * math/s_cexp_template.c: Update using type-generic macros.
8431         * math/s_clog10_template.c: Likewise.
8432         * math/s_cpow_template.c: Likewise.
8433         * math/s_clog_template.c: Likewise.
8434         * math/s_cproj_template.c: Likewise.
8435         * math/s_csqrt_template.c: Likewise.
8437         * math/s_cexp.c: Removed.
8438         * math/s_cexpf.c: Removed.
8439         * math/s_cexpl.c: Removed.
8440         * math/s_clog10.c: Removed.
8441         * math/s_clog10f.c: Removed.
8442         * math/s_clog10l.c: Removed.
8443         * math/s_cpow.c: Removed.
8444         * math/s_cpowf.c: Removed.
8445         * math/s_cpowl.c: Removed.
8446         * math/s_clog.c: Removed.
8447         * math/s_clogf.c: Removed.
8448         * math/s_clogl.c: Removed.
8449         * math/s_cproj.c: Removed.
8450         * math/s_cprojf.c: Removed.
8451         * math/s_cprojl.c: Removed.
8452         * math/s_csqrt.c: Removed.
8453         * math/s_csqrtf.c: Removed.
8454         * math/s_csqrtl.c: Removed.
8456         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
8457         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
8458         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
8459         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
8460         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
8461         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
8463         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
8464         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
8465         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
8466         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
8467         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
8468         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
8469         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
8470         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
8471         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
8472         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
8473         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
8475         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
8476         version.
8478         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
8479         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
8480         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
8481         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
8483 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8485         * s_cexp_template.c: Copy of s_cexp.c.
8486         * s_clog_template.c: Copy of s_clog.c.
8487         * s_clog10_template.c: Copy of s_clog10.c.
8488         * s_cpow_template.c: Copy of s_cpow.c.
8489         * s_cproj_template.c: Copy of s_cproj.c.
8490         * s_csqrt_template.c: Copy of s_csqrt.c.
8492 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8494         [BZ #20517]
8495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8496         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
8497         exported.
8499 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
8501         * math/fetestexceptflag.c: New file.
8502         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
8503         Stefan Liebler.
8504         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8505         (fetestexceptflag): New function declaration.
8506         * manual/arith.texi (fetestexceptflag): Document function.
8507         * math/Versions (fetestexceptflag): New libm symbol at version
8508         GLIBC_2.25.
8509         * math/Makefile (libm-support): Add fetestexceptflag.
8510         (tests): Add test-fetestexceptflag.
8511         * math/test-fetestexceptflag.c: New file.
8512         * sysdeps/nacl/libm.abilist: Update.
8513         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8514         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8515         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8516         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8517         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8518         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8519         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8520         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8521         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8522         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8523         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8524         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8526         Likewise.
8527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8528         Likewise.
8529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8530         Likewise.
8531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8532         Likewise.
8533         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8534         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8535         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8536         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8537         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8539         Likewise.
8540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8541         Likewise.
8542         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8543         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8544         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8546 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8548         [BZ #20432]
8549         Avoid strong references to malloc-internal symbols when linking
8550         statically, to support statically interposed mallocs.
8551         * include/libc-symbols.h (call_function_static_weak): New macro.
8552         * malloc/Makefile (tests): Add tst-interpose-nothread,
8553         tst-interpose-thread, tst-interpose-static-nothread,
8554         tst-interpose-static-thread.
8555         (tests-static): Add tst-interpose-static-nothread,
8556         tst-interpose-static-thread.
8557         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
8558         tst-interpose-aux-thread.o.
8559         (test-extras): Add tst-interpose-aux-nothread,
8560         tst-interpose-aux-thread.
8561         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
8562         tst-interpose-aux-nothread.o.
8563         (tst-interpose-thread, tst-interpose-static-thread): Link with
8564         tst-interpose-aux-thread.o and libthread.
8565         * malloc/tst-interpose-aux-nothread.c: New file.
8566         * malloc/tst-interpose-aux-thread.c: Likewise.
8567         * malloc/tst-interpose-aux.c: Likewise.
8568         * malloc/tst-interpose-aux.h: Likewise.
8569         * malloc/tst-interpose-nothread.c: Likewise.
8570         * malloc/tst-interpose-skeleton.c: Likewise.
8571         * malloc/tst-interpose-static-nothread.c: Likewise.
8572         * malloc/tst-interpose-static-thread.c: Likewise.
8573         * malloc/tst-interpose-thread.c: Likewise.
8574         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
8575         * sysdeps/mach/hurd/fork.c (__fork): Only call
8576         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8577         __malloc_fork_unlock_child if defined.
8578         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8580 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8582         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
8583         timespec C99 designated initialization.
8585 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8587         [BZ #19946]
8588         Avoid expected SIGALRM signals.
8589         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
8590         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
8591         (xpthread_create, xpthread_detach, xpthread_join)
8592         (delayed_exit_thread, delayed_exit): New functions.
8593         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
8594         (tf): Use xpthread_cond_wait.
8595         (do_test): Likewise.  Replace alarm with delayed_exit.
8596         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8597         (do_test): Call delayed_exit.  Report failure.
8598         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8599         (do_test): Call delayed_exit.
8600         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8601         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
8602         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8603         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
8604         error.
8605         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8606         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
8607         error.
8608         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
8609         (do_test): Call delayed_exit.
8610         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
8611         (do_test): Call delayed_exit.
8612         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
8613         (do_test): Call delayed_exit instead of alarm.  Use
8614         xpthread_mutex_lock.
8615         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
8616         (do_test): Call delayed_exit instead of alarm.  Use
8617         xpthread_mutex_lock.
8618         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
8619         (do_test): Call delayed_exit instead of alarm.
8620         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
8621         (do_test): Call delayed_exit instead of alarm.  Use
8622         xpthread_spin_lock.
8623         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
8624         (do_test): Call delayed_exit instead of alarm.  Use
8625         xpthread_join.
8627 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8629         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
8630         adjust CFA when allocating register save area on re-aligned
8631         stack.
8633 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8635         * string/tst-cmp.c: New test.
8636         * string/Makefile (tests): Add it.
8638 2016-08-25  Mark Wielaard  <mark@klomp.org>
8640         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
8641         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
8642         (check_tree_recurse): Use newly defined accessors.
8643         (check_tree): Likewise.
8644         (maybe_split_for_insert): Likewise.
8645         (__tfind): Likewise.
8646         (__tdelete): Likewise.
8647         (trecurse): Likewise.
8648         (tdestroy_recurse): Likewise.
8649         (__tsearch): Likewise. And add asserts for malloc alignment.
8650         (__twalk): Cast root to node in case CHECK_TREE is defined.
8652 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8654         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
8656 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8658         * math/Makefile (libm-gen-calls): Add
8659         catan, catanh, ctan, ctanh.
8660         (libm-calls): Remove the above.
8662         * math/s_catan_template.c: Update using type-generic macros.
8663         * math/s_catanh_template.c: Likewise.
8664         * math/s_ctan_template.c: Likewise.
8665         * math/s_ctanh_template.c: Likewise.
8667         * math/s_catanf.c: Removed.
8668         * math/s_catan.c: Removed.
8669         * math/s_catanl.c: Removed.
8670         * math/s_catanhf.c: Removed.
8671         * math/s_catanh.c: Removed.
8672         * math/s_catanhl.c: Removed.
8673         * math/s_ctanf.c: Removed.
8674         * math/s_ctan.c: Removed.
8675         * math/s_ctanl.c: Removed.
8676         * math/s_ctanhf.c: Removed.
8677         * math/s_ctanh.c: Removed.
8678         * math/s_ctanhl.c: Removed.
8680         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
8681         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
8682         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
8683         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
8684         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
8685         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
8687         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
8688         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
8689         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
8690         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
8692 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8694         * s_catan_template.c: Copy of s_catan.c.
8695         * s_catanh_template.c: Copy of s_catanh.c.
8696         * s_ctan_template.c: Copy of s_ctan.c.
8697         * s_ctanh_template.c: Copy of s_ctanh.c.
8699 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8701         * math/Makefile (gen-libm-calls): Move
8702         casin, casinh, csin, csinh here.
8703         (libm-calls): Remove the above.
8705         * math/s_casin_template.c: Update using type-generic macros.
8706         * math/s_casinh_template.c: Likewise.
8707         * math/s_csin_template.c: Likewise.
8708         * math/s_csinh_template.c: Likewise.
8709         * math/k_casinh_template.c: Likewise.
8711         * math/s_casinf.c: Removed.
8712         * math/s_casin.c: Removed.
8713         * math/s_casinl.c: Removed.
8714         * math/s_casinh.c: Removed.
8715         * math/s_casinhf.c: Removed.
8716         * math/s_casinhl.c: Removed.
8717         * math/s_csin.c: Removed.
8718         * math/s_csinf.c: Removed.
8719         * math/s_csinl.c: Removed.
8720         * math/s_csinh.c: Removed.
8721         * math/s_csinhf.c: Removed.
8722         * math/s_csinhl.c: Removed.
8723         * math/k_casinh.c: Removed.
8724         * math/k_casinhf.c: Removed.
8725         * math/k_casinhl.c: Removed.
8727         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
8728         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
8729         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
8730         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
8732         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
8733         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
8734         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
8735         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
8736         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
8737         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
8738         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
8739         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
8741         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
8742         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
8743         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
8744         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
8746         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
8747         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
8748         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
8749         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
8751 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8753         * s_casin_template.c: Copy of s_casin.c.
8754         * s_casinh_template.c: Copy of s_casinh.c.
8755         * s_csin_template.c: Copy of s_csin.c.
8756         * s_csinh_template.c: Copy of s_csinh.c.
8757         * k_casinh_template.c: Copy of k_casinh.c.
8759 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8761         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
8763 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8765         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
8766         (mul_split) Remove, rename as mul_splitl, remove
8767         redundant float.h include, and include via mul_splitl.h
8769         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8770         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8771         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8772         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8773         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8775         * math/mul_splitl.h: New file.
8777         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
8778         Move into mul_split.h, and remove redundant float.h include.
8780         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8781         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8782         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8783         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
8785         * math/mul_split.h: New file.
8787 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8789         * math/Makefile (libm-gen-calls): Move
8790         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
8791         (libm-calls): Remove above.
8793         * math/s_cacos_template.c: Update using type-generic macros.
8794         * math/s_cacosh_template.c: Likewise.
8795         * math/s_ccos_template.c: Likewise.
8796         * math/s_ccosh_template.c: Likewise.
8798         * math/s_cacosf.c: Removed.
8799         * math/s_cacos.c: Removed.
8800         * math/s_cacosl.c: Removed.
8801         * math/s_cacoshf.c: Removed.
8802         * math/s_cacosh.c: Removed.
8803         * math/s_cacoshl.c: Removed.
8804         * math/s_ccosf.c: Removed.
8805         * math/s_ccos.c: Removed.
8806         * math/s_ccosl.c: Removed.
8807         * math/s_ccoshf.c: Removed.
8808         * math/s_ccosh.c: Removed.
8809         * math/s_ccoshl.c: Removed.
8811         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
8812         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
8813         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
8814         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
8815         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
8816         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
8818         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
8819         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
8820         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
8821         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
8823         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
8824         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
8825         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
8826         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
8828 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8830         * s_cacos_template.c: Copy of s_cacos.c.
8831         * s_cacosh_template.c: Copy of s_cacosh.c.
8832         * s_ccos_template.c: Copy of s_ccos.c.
8833         * s_ccosh_template.c: Copy of s_ccosh.c.
8835 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8837         * stdlib/tst-strtod-round-skeleton.c:
8838         Refactored from tst-strtod-round.c.
8840         (L_): New macro to apply literal modifier.
8841         (FNPFX): New macro to select str or wcs prefix.
8842         (CHAR): New macro to choose wchar_t or char.
8843         (STRM): New macro to choose printf for tested character type.
8845         (STRTO): New macro to choose appropriate string -> real function.
8846         (FNPFXS): Stringitized version of FNPFX.
8847         (STR): Support for above macro.
8848         (STRX): Likewise.
8850         (TEST): Update with above macros.
8851         (test): Likewise.
8852         (GEN_ONE_TEST): Likewise.
8853         (test_in_one_mode): Likewise.
8855         * stdlib/tst-strtod-round.c: New file.
8856         * wcsmbs/tst-wcstod-round.c: New file.
8858         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
8859         (tst-wcstod-round): Add libm depencency for fesetround.
8861 2016-08-19  Zack Weinberg  <zackw@panix.com>
8863         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
8865 2016-08-18  Torvald Riegel  <triegel@redhat.com>
8867         [BZ #20477]
8868         * resolv/res_hconf.c (do_init): Use atomic access.
8869         * resolv/res_hconf.h: Add comments.
8870         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
8871         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
8872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8874 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8876         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8877         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
8878         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8879         Likewise.
8881 2016-08-18  Florian Weimer  <fweimer@redhat.com>
8883         [BZ #16907]
8884         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
8885         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
8886         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
8887         (__attribute__): Remove definition.
8889 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8891         * sysdeps/ieee754/ldbl-128/e_asinl.c:
8892         Remove unused sqrtl declaration.
8894 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8896         * math/Makefile: (gen-libm-templates.stmp): New rule.
8897         (libm-calls): Move carg conj cimag and cabs into ...
8898         (gen-libm-calls): New variable.
8899         (generated): Inform Make objects from gen-libm-calls
8900         may be generated.
8902         * sysdeps/generic/math-type-macros.h: New file.
8903         * sysdeps/generic/math-type-macros-float.h: Likewise.
8904         * sysdeps/generic/math-type-macros-double.h: Likewise.
8905         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8906         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
8907         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
8909         * math/cabs.c: Refactor into
8910         * math/cabs_template.c: new file.
8911         * math/cabsf.c: Removed.
8912         * math/cabsl.c: Removed.
8913         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
8914         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
8916         * math/carg.c: Refactor into
8917         * math/carg_template.c: new file.
8918         * math/cargf.c: Removed.
8919         * math/cargl.c: Removed.
8920         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
8921         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
8923         * math/conj.c: Refactor into
8924         * math/conj_template.c: new file.
8925         * math/conjf.c: Removed.
8926         * math/conjl.c: Removed.
8927         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
8928         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
8930         * math/cimag.c: Refactor into
8931         * math/cimag_template.c: new file.
8932         * math/cimagf.c: Removed.
8933         * math/cimagl.c: Removed.
8934         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8935         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8937         * math/cimag.c: Refactor into
8938         * math/cimag_template.c: new file.
8939         * math/cimagf.c: Removed.
8940         * math/cimagl.c: Removed.
8941         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8942         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8944 2016-08-17  Florian Weimer  <fweimer@redhat.com>
8946         Reduce time to expected nptl/tst-once5 failure.
8947         * nptl/tst-once5.cc (TIMEOUT): Define.
8949 2016-08-17  Florian Weimer  <fweimer@redhat.com>
8951         [BZ #20452]
8952         Avoid additional copies of objects in libc.a in static libraries.
8953         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
8954         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
8955         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
8956         rt-sysdep.
8957         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
8958         Add nptl-sysdep.
8959         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
8960         Add ptw-sysdep.
8961         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
8962         rt-sysdep.
8963         * sysdeps/unix/sysv/linux/alpha/Makefile
8964         (libpthread-shared-only-routines): Add ptw-sysdep,
8965         ptw-sigprocmask, ptw-rt_sigaction.
8966         * sysdeps/unix/sysv/linux/ia64/Makefile
8967         (librt-shared-only-routines): Add rt-sysdep.
8968         * sysdeps/unix/sysv/linux/i386/Makefile
8969         (libpthread-shared-only-routines): Add libc-do-syscall.
8970         * sysdeps/unix/sysv/linux/microblaze/Makefile
8971         (libpthread-shared-only-routines): Add sysdep.
8972         * sysdeps/unix/sysv/linux/powerpc/Makefile
8973         (librt-shared-only-routines): Add rt-sysdep.
8974         (libpthread-shared-only-routines): Add sysdep.
8975         * sysdeps/unix/sysv/linux/s390/Makefile
8976         (librt-shared-only-routines): Add rt-sysdep.
8977         * sysdeps/unix/sysv/linux/sparc/Makefile
8978         (librt-shared-only-routines): Add rt-sysdep.
8979         (libpthread-shared-only-routines): Add sysdep.
8980         * sysdeps/unix/sysv/linux/tile/Makefile
8981         (libpthread-shared-only-routines): Likewise.
8983 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
8985         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
8986         Mask implicit bit out of unpacked value.
8987         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
8988         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
8989         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
8991         * sysdeps/sparc/fpu/fesetexcept.c: New file.
8993         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
8995         * sysdeps/s390/fpu/fesetexcept.c: New file.
8997         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
8998         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
8999         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
9001         * sysdeps/mips/fpu/fesetexcept.c: New file.
9003         * sysdeps/m68k/fpu/fesetexcept.c: New file.
9005         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9007         * sysdeps/hppa/fpu/fesetexcept.c: New file.
9009         * sysdeps/arm/fesetexcept.c: New file.
9011         * sysdeps/alpha/fpu/fesetexcept.c: New file.
9013         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
9015         * math/fesetexcept.c: New file.
9016         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
9017         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
9018         * math/fenv.h: Define
9019         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9020         <bits/libc-header-start.h> instead of including <features.h>.
9021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
9022         declaration.
9023         * manual/arith.texi (fesetexcept): Document function.
9024         * math/Versions (fesetexcept): New libm symbol at version
9025         GLIBC_2.25.
9026         * math/Makefile (libm-support): Add fesetexcept.
9027         (tests): Add test-fesetexcept and test-fesetexcept-traps.
9028         * math/test-fesetexcept.c: New file.
9029         * math/test-fesetexcept-traps.c: Likewise.
9030         * sysdeps/nacl/libm.abilist: Update.
9031         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9032         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9033         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9034         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9035         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9036         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9037         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9038         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9039         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9040         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9041         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9042         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9044         Likewise.
9045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9046         Likewise.
9047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9048         Likewise.
9049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9050         Likewise.
9051         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9052         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9053         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9054         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9055         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9057         Likewise.
9058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9059         Likewise.
9060         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9061         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9062         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9064 2016-08-16  Florian Weimer  <fweimer@redhat.com>
9066         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9067         New.
9068         (do_test): Apply default_stack_size_in_mb if not set.
9069         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9071 2016-08-15  Andreas Schwab  <schwab@suse.de>
9073         [BZ #20435]
9074         CVE-2016-6323
9075         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9076         as .cantunwind.
9078 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9080         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9081         comment from fraiseexcpt.c.
9083         * math/test-fexcept.c (feraiseexcept_exact): New function.
9084         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9085         (test_except): Likewise.
9087 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9089         [BZ #20455]
9090         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9091         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9092         to be restored.
9094         * math/test-fexcept-traps.c: New file.
9095         * math/test-fexcept.c: Likewise.
9096         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9097         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9098         macro.
9099         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9100         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9102 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9104         * include/atomic.h (atomic_fetch_and_relaxed,
9105         atomic_fetch_and_release, atomic_fetch_or_release,
9106         atomic_fetch_xor_release): New.
9108 2016-08-06  Christian Seiler  <christian@iwakd.de>
9110         [BZ #20444]
9111         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9112         MACH_PORT_NULL.
9114 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9116         * math/s_fdim.c: Avoid alias renamed.
9117         * math/s_fdimf.c: Likewise.
9118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9119         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9120         Add s_fdimf-vis3, s_fdim-vis3.
9121         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9122         (CFLAGS-s_fdim-vis3.c): Likewise.
9123         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9124         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9126 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9129         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9130         Remove s_fdimf-vis3, s_fdim-vis3.
9131         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9132         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9139         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9140         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9142 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9144         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9145         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9146         -Wa,-Av9a -mvis.
9148 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9150         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9151         LIT() to individual constants in simple expressions
9152         after splitting on spaces.
9153         (_apply_lit): Rename replaced version, and use it to
9154         apply to what appears to be a token.
9156         * math/libm-test.inc: Fix many, many issues with
9157         spacing.
9159 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9161         * math/math.h: Move comment about <bits/mathdef.h> definitions
9162         above inclusion of <bits/mathdef.h>.  Do not mention
9163         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9165 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9167         * include/atomic.h (atomic_exchange_relaxed): New.
9169 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9171         * math/e_scalb.c: Do not include <fenv.h>.
9172         (invalid_fn): Do calculation resulting in NaN instead of raising
9173         FE_INVALID and returning a NaN explicitly.
9174         * math/e_scalbf.c: Do not include <fenv.h>.
9175         (invalid_fn): Do calculation resulting in NaN instead of raising
9176         FE_INVALID and returning a NaN explicitly.
9177         * math/e_scalbl.c: Do not include <fenv.h>.
9178         (invalid_fn): Do calculation resulting in NaN instead of raising
9179         FE_INVALID and returning a NaN explicitly.
9181 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9183         * po/de.po: Updated from Translation Project.
9184         * po/fi.po: Likewise.
9185         * po/sv.po: Likewise.
9187 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9189         [BZ #20452]
9190         Use sysdep.o from libc.a in static libraries.
9191         * sysdeps/unix/sysv/linux/i386/Makefile
9192         (libpthread-shared-only-routines): Add sysdep.
9193         (librt-shared-only-routines): Likewise.
9195 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9197         * math/tgmath.h (nextdown): Define if
9198         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9199         (nextup): Likewise.
9201         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9202         macro.
9203         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9204         Document.
9205         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9206         Document macro.
9207         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9208         (exp10f): Likewise.
9209         (exp10l): Likewise.
9210         * math/bits/mathcalls.h (exp10): Declare if
9211         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9213         * manual/arith.texi (nextup): Fix typo in last change.
9215 2016-08-03  Zack Weinberg  <zackw@panix.com>
9217         [BZ #19239]
9218         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9219         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9220         define major, minor, and makedev to issue deprecation warnings on use.
9221         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9222         previously-activated deprecation warnings for these macros and prevent
9223         subsequent inclusions of this header from having any effect.
9224         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9225         including <sys/sysmacros.h>, and undefine it again afterward.
9227 2016-08-03  Zack Weinberg  <zackw@panix.com>
9229         * sysdeps/generic/sys/sysmacros.h: Delete file.
9230         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9231         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9232         * bits/sysmacros.h: ... here; this encoding is now the generic
9233         encoding.  Now defines only the following macros:
9234         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9235         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9236         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9238         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9239         bits/sysmacros.h and the above new macros to generate the
9240         public implementations of major, minor, and makedev.
9241         * misc/tst-makedev.c: New test.
9242         * include/sys/sysmacros.h: New wrapper.
9244         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9245         (routines): Add makedev.
9246         (tests): Add tst-makedev.
9247         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9248         gnu_dev_makedev.
9249         * posix/Makefile (headers): Remove sys/sysmacros.h.
9250         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9252         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9253         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9254         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9255         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9256         * sysdeps/unix/sysv/linux/arm/libc.abilist
9257         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9258         * sysdeps/unix/sysv/linux/i386/libc.abilist
9259         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9260         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9261         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9262         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9263         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9264         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9265         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9266         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9267         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9272         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9273         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9274         * sysdeps/unix/sysv/linux/sh/libc.abilist
9275         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9276         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9279         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9280         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9281         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9282         Add GLIBC_2.25.
9284         * include/features.h (__glibc_clang_prereq): New macro.
9285         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9286         (__attribute_deprecated_msg__): New macros.
9288 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9290         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9291         macro.
9292         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9293         * manual/arith.texi (issignaling): Document as ISO from TS
9294         18661-1:2014.
9295         (nextup): Likewise.
9296         (nextupf): Likewise.
9297         (nextupl): Likewise.
9298         (nextdown): Likewise.
9299         (nextdownf): Likewise.
9300         (nextdownl): Likewise.
9301         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9302         macro.
9303         * math/math.h: Define
9304         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9305         <bits/libc-header-start.h> instead of including <features.h>.
9306         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9307         [__USE_GNU].
9308         * math/bits/mathcalls.h (nextdown): Declare if
9309         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9310         (nextup): Likewise.
9311         (__issignaling): Likewise.
9313 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9315         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9316         check, and remove __glibc_likely hint
9317         from FP_INFINITE check.
9318         * s_csinhf.c (__csinhf): Likewise.
9320         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9321         hint from FP_INFINITE check.
9322         * s_csinhl.c (__csinhl): Likewise.
9324 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9326         * math/Makefile (libm-calls): Insert F placeholder into
9327         object names.  Move w_lgamma_compat* routines into
9328         (libm-compat-calls): New variable.
9329         (libm-compat-calls-ldouble-yes): New variable.
9330         (calls): Insert F placeholder.
9331         (generated): Redefine using new type-foreach macro call.
9332         (routines): Likewise.
9334         (types): New variable to hold a list of symbolic names
9335         for each type supported by the target machine.
9336         (libm-routines): Redefine using new types variable.
9337         (type-foreach): macro to replace fooF with the
9338         appropriately suffixed foo for each types.
9340         (type-ldouble-suffix): New variable.
9341         (type-ldouble-routines): Likewise.
9342         (type-ldouble-yes): Likewise.
9343         (type-double-suffix): Likewise.
9344         (type-double-routines): Likewise.
9345         (type-float-suffix): Likewise.
9346         (type-float-routines): Likewise.
9348         (dbl-only-routines): Remove.
9349         (long-c-yes): Likewise.
9350         (long-m-routines): Likewise.
9351         (long-m-support): Likewise.
9352         (long-m-yes): Likewise.
9353         (test-longdouble-yes): Likewise.
9355         (test-float.o): Simplify by increasing the scope of the
9356         recipe which adds libm-test.stmp to the vector types.
9357         (test-ifloat.o): Likewise.
9358         (test-float-finite.o): Likewise.
9359         (test-double.o): Likewise
9360         (test-idouble.o): Likewise.
9361         (test-double-finite.o): Likewise.
9362         (test-ldouble.o): Likewise
9363         (test-ildoubl.o): Likewise.
9364         (test-ldouble-finite.o): Likewise.
9366         (libm-tests): Redefine type tests using foreach and the
9367         list of types in types.
9369         (CPPFLAGS-test-ildoubl.c): Rename to
9370         (CPPFLAGS-test-ildouble.c): New variable
9372         * math/test-ildoubl.c: Rename to
9373         * math/test-ildouble.c: New file.
9375 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9377         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
9378         Use fabsl instead of fabs.
9379         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
9380         Likewise.
9381         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
9382         Add long double suffix to constant to ensure proper
9383         promotion to long double.
9385 2016-08-03  Tom Tromey  <tom@tromey.com>
9387         [BZ #20311]
9388         * nptl_db/Makefile (headers): Add proc_service.h.
9389         * nptl_db/proc_service.h: Add include guard.  Use
9390         __BEGIN/__END_DECLS.
9391         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
9392         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
9393         arguments.
9396 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9398         [BZ #17730]
9399         Avoid using memalign for TCB allocations.
9400         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
9401         (_dl_allocate_tls_storage): Use malloc and manual alignment.
9402         Avoid alignment gap in the TLS_DTV_AT_TP case.
9403         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
9404         determine the pointer to free.
9405         * nptl/tst-tls3-malloc.c: New test.
9406         * nptl/Makefile (tests): Add it.
9407         (tst-tls3-malloc): Link with libdl, libpthread.
9408         (LDFLAGS-tst-tls3-malloc): Set.
9409         (tst-tls3-malloc.out): Depend on DSO used in test.
9411 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9413         [BZ #17730]
9414         Avoid using memalign for TLS allocations.
9415         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
9416         is_static member with to_free member.
9417         (union dtv): Use struct dtv_pointer.
9418         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
9419         dtv_pointer instead of is_static.
9420         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
9421         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
9422         instead of val.
9423         (allocate_dtv_entry): New function.
9424         (allocate_and_init): Return struct dtv_pointer.  Call
9425         allocate_dtv_entry instead of __libc_memalign.
9426         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
9427         instead of val.
9428         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
9429         instead of is_static.  Adjust call to allocate_and_init.
9430         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
9431         struct dtv_pointer instead of val.
9433 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9435         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
9436         (MALLOC_ALIGN_MASK): Move ...
9437         * malloc/malloc-internal.h: ... to here.
9438         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
9440 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9442         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
9443         (UDP_ENCAP_GTP1U): Likewise.
9445         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
9446         (PF_MAX): Update value.
9447         (AF_QIPCRTR): New macro.
9449 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9451         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
9452         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9453         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9454         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9455         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9456         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9457         s_truncf-vis3, s_trunc-vis3.
9458         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9459         (CFLAGS-s_ceil-vis3.c): Likewise.
9460         (CFLAGS-s_floorf-vis3.c): Likewise.
9461         (CFLAGS-s_floor-vis3.c): Likewise.
9462         (CFLAGS-s_truncf-vis3.c): Likewise.
9463         (CFLAGS-s_trunc-vis3.c): Likewise.
9464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
9465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
9467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
9469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
9471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9472         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
9473         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9474         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
9475         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9477 2016-08-02  David S. Miller  <davem@davemloft.net>
9479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9480         (__nearbyint_vis3): Don't check for sNaN before float register is
9481         loaded with the incoming argument.
9482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9483         (__nearbyintf_vis3): Likewise.
9484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
9485         Likewise.
9486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
9487         Likewise.
9489         * string/test-strncmp.c (do_test_limit): Make sure the test data
9490         stream is aligned as required for the type "CHAR".
9491         (do_test): Likewise.
9493 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9495         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
9496         by beq instructions jumping to the end of the function.
9497         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
9498         clobber list. Use "i" constraint instead of "X".
9499         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
9500         of "X".
9502 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
9504         * bits/libc-header-start.h: New file.
9505         * Makefile (headers): Add bits/libc-header-start.h.
9506         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
9507         (__GLIBC_USE): New macro.
9508         * libio/stdio.h: Define
9509         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9510         <bits/libc-header-start.h> instead of including <features.h>.
9511         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
9512         (open_memstream): Likewise.
9513         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
9514         (__asprintf): Likewise.
9515         (asprintf): Likewise.
9516         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
9517         (getdelim): Likewise.
9518         (getline): Likewise.
9519         * string/string.h: Define
9520         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9521         <bits/libc-header-start.h> instead of including <features.h>.
9522         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
9523         (strndup): Likewise.
9524         * wcsmbs/wchar.h: Define
9525         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9526         <bits/libc-header-start.h> instead of including <features.h>.
9527         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
9528         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
9530 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9532         Support linking against compatibility symbols, for use in tests.
9533         * include/libc-symbols.h (symbol_version_reference): New macro.
9534         (symbol_version): Use it.
9535         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
9536         (compat_symbol): Use compat_symbol_reference.
9537         (compat_symbol_1, compat_symbol_2): Remove.
9538         (compat_symbol_reference, compat_symbol_reference_1)
9539         (compat_symbol_reference_2): New macro.  Use
9540         symbol_version_reference.
9542 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9544         [BZ #19469]
9545         * malloc/Makefile (CPPFLAGS): Compile tests with
9546         -DTEST_NO_MALLOPT.
9547         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
9549 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
9551         [BZ #20033]
9552         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
9553         finite version.
9554         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
9555         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
9556         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
9557         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
9558         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
9559         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
9560         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
9561         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
9562         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
9563         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
9564         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
9565         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
9566         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
9567         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
9568         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
9569         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
9570         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
9571         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
9572         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
9573         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
9574         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
9575         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
9576         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
9577         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
9578         in zero power.
9580 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9582         [BZ #20370]
9583         * malloc/arena.c (get_free_list): Update comment.  Assert that
9584         arenas on the free list have no attached threads.
9585         (remove_from_free_list): New function.
9586         (reused_arena): Call it.
9588 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
9590         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
9591         when it is a NaN.
9592         [_IEEE_FP_INEXACT] Remove.
9593         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
9594         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
9595         when it is a NaN.
9596         [_IEEE_FP_INEXACT] Remove.
9597         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
9598         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
9599         when it is a NaN.
9600         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
9601         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
9602         when its absolute value is greater than 0x1.0p52.
9603         [_IEEE_FP_INEXACT] Remove.
9604         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
9605         when its absolute value is greater than 0x1.0p23.
9606         [_IEEE_FP_INEXACT] Remove.
9608 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
9610         * version.h (RELEASE): Set to "development"
9611         (VERSION): Set to 2.24.90.
9612         * NEWS: Add 2.25 section.
9614         * version.h (RELEASE): Set to "stable"
9615         (VERSION): Set to 2.24.
9616         * include/features.h (__GLIBC_MINOR__): Set to 24.
9618         * NEWS: Add 2.24 fixed bugs.
9619         * po/libc.pot: Regenerate.
9621 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
9623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9624         [$(subdir) = math] (libm-sysdep_routines): Remove.
9625         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9626         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9627         s_truncf-vis3, s_trunc-vis3.
9628         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
9630         file.
9631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
9632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
9633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
9637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
9638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
9640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
9641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
9642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
9643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
9644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
9645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
9646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
9650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
9651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
9652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
9653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9654         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
9659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9660         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9661         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
9662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9664         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
9665         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
9666         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
9667         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
9668         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9669         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9670         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
9671         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
9672         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
9673         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
9675 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
9677         [BZ #20384]
9678         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
9679         test-double-libmvec-sincos-avx-main.o,
9680         test-double-libmvec-sincos-avx2-main.o,
9681         test-double-libmvec-sincos-main.o,
9682         test-float-libmvec-sincosf-avx-main.o,
9683         test-float-libmvec-sincosf-avx2-main.o and
9684         test-float-libmvec-sincosf-main.o.
9685         test-float-libmvec-sincosf-avx512-main.o.
9686         ($(objpfx)test-double-libmvec-sincos): Also link with
9687         $(objpfx)test-double-libmvec-sincos-main.o.
9688         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
9689         $(objpfx)test-double-libmvec-sincos-avx-main.o.
9690         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
9691         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
9692         ($(objpfx)test-float-libmvec-sincosf): Also link with
9693         $(objpfx)test-float-libmvec-sincosf-main.o.
9694         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
9695         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
9696         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
9697         test-double-libmvec-sincos-avx512-main.o and
9698         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
9699         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
9700         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
9701         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
9702         (CFLAGS-test-double-libmvec-sincos.c): Removed.
9703         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
9704         (CFLAGS-test-double-libmvec-sincos-main.c): New.
9705         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
9706         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
9707         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
9708         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
9709         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
9710         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
9711         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
9712         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
9713         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
9714         -DREQUIRE_AVX2.
9715         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
9716         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
9717         -DREQUIRE_AVX512F.
9718         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
9719         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
9720         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
9721         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
9722         file.
9723         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
9724         Likewise.
9725         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
9726         Likewise.
9727         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
9728         Likewise.
9729         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
9730         Likewise.
9731         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
9732         Likewise.
9733         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
9734         Likewise.
9735         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
9736         Likewise.
9738 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
9740         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
9742 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
9744         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
9745         and typo in a comment about AT_HWCAP entry.
9747 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9749         * sysdeps/aarch64/libm-test-ulps: Updated.
9751 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9753         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
9754         of r13 as it is not restored in mvcle case.
9756 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
9758         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
9759         Rename "ret" to "__ret".
9760         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
9761         inline_syscall5, inline_syscall6): Likewise.
9763 2016-07-19   Will Newton  <will.newton@gmail.com>
9765         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
9766         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
9767         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
9768         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
9769         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
9771 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
9773         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
9774         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
9775         -mfpmath=387 with $(rtld-CFLAGS).
9776         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
9777         $(rtld-CFLAGS).
9779 2016-07-18   Ross Burton  <ross.burton@intel.com>
9780              Khem Raj  <raj.khem@gmail.com>
9782         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
9783         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
9784         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
9785         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
9786         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
9787         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
9788         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
9789         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
9790         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
9791         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
9792         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
9793         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
9794         R_METAG_TLS_DTPOFF): New.
9796 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9797             Matt Clay  <mclay@lycos.com>
9799         [BZ #20357]
9800         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
9801         to call __mpsin/__mpcos and to negate values.
9802         * math/auto-libm-test-in: Add test.
9803         * math/auto-libm-test-out: Regenerate.
9805 2016-07-18  Zack Weinberg  <zackw@panix.com>
9807         * grp/Makefile: Don't install the internal header grp-merge.h.
9809 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9811         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9813 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9815         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
9817 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9819         [BZ #15368]
9820         * sysdeps/unix/sysv/linux/nptl-signals.h
9821         (__nptl_clear_internal_signals): New function.
9822         (__libc_signal_block_all): Likewise.
9823         (__libc_signal_block_app): Likewise.
9824         (__libc_signal_restore_set): Likewise.
9825         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
9826         implementation.
9827         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
9828         the cached pid/tid value in pthread structure.
9830 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
9832         [BZ #20347]
9833         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9835 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
9837         [BZ #20348]
9838         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
9839         preadv64, pwrite64 and pwritev64.
9841 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
9843         [BZ #20350]
9844         * posix/tst-preadwrite.c: Renamed to ...
9845         * posix/tst-preadwrite-common.c: This.
9846         (PREAD): Removed.
9847         (PWRITE): Likewise.
9848         (STRINGIFY): Likewise.
9849         (STRINGIFY2): Likewise.
9850         (do_prepare): Make it static and remove function arguments.
9851         (do_test): Likewise.
9852         (PREPARE): Updated.
9853         (TEST_FUNCTION): New.
9854         (name): Make it static.
9855         (fd): Likewise.
9856         (do_prepare): Use create_temp_file.
9857         (do_test): Renamed to ...
9858         (do_test_with_offset): This.  Make it static and accept offset.
9859         Properly check return value of PWRITE and PREAD.  Return bytes
9860         read.  Don't close fd nor unlink name.
9861         * posix/tst-preadwrite.c: Rewrite.
9862         * posix/tst-preadwrite64.c: Likewise.
9864 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
9866         [BZ #20309]
9867         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
9868         -mtls-dialect=gnu2 works.
9869         * configure: Regenerated.
9870         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
9871         (tests): Add tst-gnu2-tls1.
9872         (modules-names): Add tst-gnu2-tls1mod.
9873         ($(objpfx)tst-gnu2-tls1): New.
9874         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
9875         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
9876         * elf/tst-gnu2-tls1.c: New file.
9877         * elf/tst-gnu2-tls1mod.c: Likewise.
9878         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
9879         bytes for push in the PLT entry to align the stack.
9881 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9883         [BZ #20349]
9884         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
9886 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9888         [BZ #18707]
9889         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
9890         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
9892 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9894         * sysdeps/unix/sysv/linux/sysdep.h
9895         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
9896         guards.
9897         * misc/tst-preadvwritev-common.c: New file.
9898         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
9899         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
9900         a check for files larger than 2GB.
9902         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9903         (__ASSUME_OFF_DIFF_OFF64): Remove define.
9904         * sysdeps/unix/sysv/linux/pread.c
9905         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
9906         __OFF_T_MATCHES_OFF64_T.
9907         * sysdeps/unix/sysv/linux/pread64.c
9908         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
9909         * sysdeps/unix/sysv/linux/preadv.c
9910         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
9911         * sysdeps/unix/sysv/linux/preadv64.c
9912         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
9913         * sysdeps/unix/sysv/linux/pwrite.c
9914         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
9915         * sysdeps/unix/sysv/linux/pwrite64.c
9916         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
9917         * sysdeps/unix/sysv/linux/pwritev.c
9918         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
9919         * sysdeps/unix/sysv/linux/pwritev64.c
9920         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
9922 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
9924         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9925         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
9927 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
9929         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
9931 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
9933         [BZ #20240]
9934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
9935         (CFLAGS-s_modf-ppc32.c): New variable.
9936         (CFLAGS-s_modff-ppc32.c): Likewise.
9937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9938         (CFLAGS-s_modf-ppc64.c): Likewise.
9939         (CFLAGS-s_modff-ppc64.c): Likewise.
9941 2016-07-07  Andreas Schwab  <schwab@suse.de>
9943         [BZ #20263]
9944         * nptl/tst-robust10.c: New test.
9945         * nptl/Makefile (tests): Add tst-robust10.
9947 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
9949         [BZ #20263]
9950         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
9952 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9954         * sysdeps/s390/linkmap.h (struct link_map_machine):
9955         Remove member gotplt and add member jmprel.
9956         * sysdeps/s390/s390-32/dl-machine.h
9957         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
9958         instead of gotplt with &got[3].
9959         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
9960         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9962 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
9964         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
9966 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9968         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
9969         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
9970         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9971         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
9972         * libio/vtables.c (_IO_vtable_check)
9973         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9974         * libio/libioP.h (IO_set_accept_foreign_vtables)
9975         [!PTR_MANGLE]: Do not call PTR_MANGLE.
9977 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
9979         [BZ #20314]
9980         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
9981         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
9982         $(common-objpfx)cmath.
9983         ($(common-objpfx)cstdlib): New target.
9984         ($(common-objpfx)cmath): Likewise.
9986 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
9988         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
9990 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9992         [BZ #20327]
9993         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
9994         are not part of the string.
9996 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9998         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
9999         * nptl/tst-cancel4-common.h (fifoname): New variable.
10000         (fifofd): Likewise.
10001         (cl_fifo): New function.
10002         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
10003         SIGINT.
10004         (tf_open): Add early cancel test.
10006 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10008         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
10010 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
10012         * sysdeps/generic/ldsodefs.h
10013         (dl_symbol_visibility_binds_local_p): New inline function.
10014         * elf/dl-addr.c (determine_info): Treat hidden and internal
10015         symbols as local.
10016         * elf/dl-lookup.c (do_lookup_x): Likewise.
10017         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
10019 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
10021         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
10022         invalid exception for a sNaN input.
10023         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10024         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10025         (__nearbyint_vis3): Likewise
10026         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10027         (__nearbyintf_vis3): Likewise
10028         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
10029         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10030         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
10031         Likewise.
10032         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
10033         Likewise.
10035 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
10037         [BZ #20139]
10038         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
10039         (HAVE_AVX512DQ_ASM_SUPPORT): This.
10040         * sysdeps/x86_64/configure.ac: Require assembler from binutils
10041         2.24 or above.
10042         (HAVE_AVX512_ASM_SUPPORT): Removed.
10043         (HAVE_AVX512DQ_ASM_SUPPORT): New.
10044         * sysdeps/x86_64/configure: Regenerated.
10045         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
10046         check unconditional.
10047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10048         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10049         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10050         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10051         Likewise.
10052         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10053         Likewise.
10054         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10055         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10056         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10057         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10058         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10059         Likewise.
10060         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10061         Likewise.
10062         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10063         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10064         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10065         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10066         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10067         Likewise.
10068         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10069         Likewise.
10070         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10071         Likewise.
10072         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10073         Likewise.
10074         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10075         Likewise.
10076         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10077         Likewise.
10078         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10079         Likewise.
10080         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10081         Likewise.
10082         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10083         Likewise.
10084         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10085         Likewise.
10086         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10087         Likewise.
10089 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10091         [BZ #20024]
10092         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10094         of this implementation of vector function.
10095         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10096         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10097         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10098         Likewise.
10099         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10100         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10101         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10102         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10103         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10104         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10105         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10106         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10107         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10108         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10109         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10110         for testing vector sincos with fixed ABI.
10111         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10112         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10113         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10114         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10115         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10116         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10117         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10118         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10119         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10120         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10121         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10122         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10123         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10124         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10125         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10126         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10128 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10130         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10132 2016-06-30  Anton Blanchard  <anton@samba.org>
10134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10135         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10136         s_sinf-ppc64.
10137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10140         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10142 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10146         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10147         e_expf-ppc64.
10148         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10149         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10150         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10151         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10153 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10155         [BZ #20277]
10156         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10157         when SHARED is defined.
10159 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10161         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10162         (index_arch_Prefer_ERMS): Likewise.
10163         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10164         __memcpy_erms for Prefer_ERMS.
10165         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10166         (__memmove_erms): Enabled for libc.a.
10167         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10168         __memmove_erms or Prefer_ERMS.
10169         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10170         __mempcpy_erms for Prefer_ERMS.
10171         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10172         __memset_erms for Prefer_ERMS.
10174 2016-06-30  Andreas Schwab  <schwab@suse.de>
10176         [BZ #20262]
10177         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10178         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10179         of memory.
10181 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10183         [BZ #18645]
10184         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10185         (test-extras): Add tst-cleanupx4aux.
10186         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10187         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10188         tst-cleanupx4aux.o.
10189         * nptl/tst-cleanupx4aux.c: New file.
10191 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10193         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10195 2016-06-29  Andreas Schwab  <schwab@suse.de>
10197         [BZ #20260]
10198         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10199         address before the beginning of the string as an integer to avoid
10200         array-bounds warning.
10202 2016-06-28  Richard Henderson  <rth@redhat.com>
10204         * elf/elf.h (EM_BPF): New.
10205         (EM_NUM): Update.
10206         (R_BPF_NONE, R_BPF_MAP_FD): New.
10208         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10209         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10210         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10211         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10212         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10213         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10214         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10215         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10216         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10217         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10218         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10219         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10220         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10221         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10222         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10223         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10224         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10225         (EM_NUM): Update.
10227 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10229         [BZ #18960]
10230         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10231         Set _nl_current_LC_CATEGORY_used to two instead of one.
10233 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10235         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10236         (do_test): ... this.
10237         (TEST_FUNCTION): New macro.
10238          Include test-skeleton.c.
10239         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10240         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10242 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10244         [BZ #15479]
10245         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10246         floating-point environment rather than just control word.
10247         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10248         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10249         floating-point environment, with "invalid" exceptions merged in,
10250         rather than just control word.
10251         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10252         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10253         "inexact" exceptions.
10255         [BZ #15479]
10256         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10257         floating-point environment rather than just control word.
10258         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10259         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10260         floating-point environment, with "invalid" exceptions merged in,
10261         rather than just control word.
10262         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10263         * math/libm-test.inc (floor_test_data): Do not allow spurious
10264         "inexact" exceptions.
10266         [BZ #15479]
10267         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10268         floating-point environment rather than just control word.
10269         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10270         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10271         floating-point environment, with "invalid" exceptions merged in,
10272         rather than just control word.
10273         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10274         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10275         "inexact" exceptions.
10277 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10279         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10280         __libc_vfork.
10281         (__vfork) [IS_IN (libc)]: Remove alias.
10282         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10283         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10284         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10286 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10288         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10289         of atomic_compare_and_exchange_bool_rel.
10290         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10291         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10292         catomic_compare_and_exchange_bool_rel): Remove.
10293         * sysdeps/aarch64/atomic-machine.h
10294         (atomic_compare_and_exchange_bool_rel): Likewise.
10295         * sysdeps/alpha/atomic-machine.h
10296         (atomic_compare_and_exchange_bool_rel): Likewise.
10297         * sysdeps/arm/atomic-machine.h
10298         (atomic_compare_and_exchange_bool_rel): Likewise.
10299         * sysdeps/mips/atomic-machine.h
10300         (atomic_compare_and_exchange_bool_rel): Likewise.
10301         * sysdeps/microblaze/atomic-machine.h
10302         ( __arch_compare_and_exchange_bool_8_rel,
10303         __arch_compare_and_exchange_bool_16_rel): Likewise.
10304         * sysdeps/powerpc/atomic-machine.h
10305         ( __arch_compare_and_exchange_bool_8_rel,
10306         __arch_compare_and_exchange_bool_16_rel): Likewise.
10307         * sysdeps/powerpc/powerpc32/atomic-machine.h
10308         ( __arch_compare_and_exchange_bool_32_rel,
10309         __arch_compare_and_exchange_bool_64_rel): Likewise.
10310         * sysdeps/powerpc/powerpc64/atomic-machine.h
10311         ( __arch_compare_and_exchange_bool_32_rel,
10312         __arch_compare_and_exchange_bool_64_rel): Likewise.
10313         * sysdeps/tile/atomic-machine.h
10314         (atomic_compare_and_exchange_bool_rel): Likewise.
10316 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10318         [BZ #20296]
10319         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10320         when either argument is a NaN.
10321         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10322         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10324         * math/libm-test.inc (snan_value_ld): New macro.
10325         (isgreater_test_data): Add sNaN tests.
10326         (isgreaterequal_test_data): Likewise.
10327         (isless_test_data): Likewise.
10328         (islessequal_test_data): Likewise.
10329         (islessgreater_test_data): Likewise.
10330         (isunordered_test_data): Likewise.
10331         (nextafter_test_data): Likewise.
10332         (nexttoward_test_data): Likewise.
10333         (remainder_test_data): Likewise.
10334         (remquo_test_data): Likewise.
10335         (significand_test_data): Likewise.
10336         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10338 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10340         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10341         environment macros are defined.
10342         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10344 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10346         [BZ #20191]
10347         Implement vtable verification in libio.
10348         * Makerules (shlib.lds): Place __libc_IO_vtables section.
10349         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10350         * debug/vdprintf_chk.c (__vdprintf_chk): Call
10351         _IO_new_file_init_internal instead of _IO_file_init.
10352         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10353         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10354         * libio/Makefile (routines): Add vtables.
10355         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10356         (_IO_init): Remove, not for internal use.
10357         (_IO_init_internal): Declare, internal replacement for _IO_init.
10358         (_IO_file_init): Remove, not for internal use.
10359         (_IO_new_file_init): Remove, not for internal use.
10360         (_IO_new_file_init_internal): Declare, internal replacement for
10361         _IO_new_file_init.
10362         (_IO_old_file_init): Remove, not for internal use.
10363         (_IO_old_file_init_internal): Declare, internal replacement for
10364         _IO_old_file_init.
10365         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
10366         internal use.
10367         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
10368         Declare.
10369         (libio_vtable): New macro.
10370         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
10371         functions.
10372         * libio/fileops.c (_IO_new_file_init_internal): Rename from
10373         _IO_new_file_init.
10374         (_IO_new_file_init): New externally visible wrapper which disables
10375         vtable verification.
10376         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
10377         Define as vtables.
10378         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
10379         (_IO_init): New externally visible wrapper which disables
10380         vtable verification.
10381         * libio/iofdopen.c (_IO_new_fdopen): Call
10382         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
10383         comment.
10384         * libio/iofopen.c (__fopen_internal): Call
10385         _IO_new_file_init_internal instead of _IO_file_init.
10386         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
10387         Define as vtables.
10388         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
10389         _IO_new_file_init_internal instead of _IO_file_init.
10390         * libio/iopopen.c (_IO_new_popen): Likewise.
10391         (_IO_proc_jumps): Define as vtable.
10392         * libio/iovdprintf.c (_IO_vdprintf): Call
10393         _IO_new_file_init_internal instead of _IO_file_init.
10394         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
10395         (__open_memstream): Call _IO_init_internal instead of _IO_init.
10396         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
10397         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
10398         _IO_old_file_init.
10399         (_IO_old_file_init): New externally visible wrapper which disables
10400         vtable verification.
10401         (_IO_old_file_jumps): Define as vtable.
10402         * libio/oldiofdopen.c (_IO_old_fdopen): Call
10403         _IO_old_file_init_internal instead of _IO_old_file_init.
10404         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10405         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10406         (_IO_old_proc_jumps): Define as vtable.
10407         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
10408         Define as vtables.
10409         * libio/vtables.c: New file.
10410         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
10411         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
10412         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
10413         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
10414         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
10415         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
10416         instead of _IO_init.
10418 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10420         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
10422 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10424         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
10425         potentially unused.
10427 2016-06-22  Florian Weimer  <fweimer@redhat.com>
10429         * test-skeleton.c (write_message): New function.
10430         * malloc/tst-mallocfork2.c (write_message): Remove.
10431         * debug/tst-longjmp_chk2.c (write_indented): New function.
10432         (write_message): Remove.
10433         (stackoverflow_handler): Call write_indented.
10435 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
10437         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
10438         "inexact" exceptions after fnstenv.
10439         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10440         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10441         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10443 2015-06-22  Zack Weinberg  <zackw@panix.com>
10445         * sysdeps/generic/bits/hwcap.h: Moved to ...
10446         * bits/hwcap.h: Here.
10448 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
10450         * sysdeps/aarch64/memcpy.S (memcpy):
10451         Further tuning for performance.
10453 2016-06-21  Florian Weimer  <fweimer@redhat.com>
10455         [BZ #20284]
10456         * malloc/arena.c (reused_arena): Do not return NULL if we start
10457         out with a non-corrupted arena.
10459 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10461         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
10462         * misc/tst-preadvwritev.c: New file.
10463         * misc/tst-preadvwritev64.c: Likewise.
10464         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
10465         usage.
10466         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
10467         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
10468         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
10469         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
10471 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
10473         [BZ #19654]
10474         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10475         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
10476         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
10477         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
10478         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
10479         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
10480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
10481         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
10482         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
10483         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
10484         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
10485         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
10486         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
10487         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
10488         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
10489         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
10490         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
10491         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
10492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
10493         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
10494         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
10495         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
10496         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
10497         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
10498         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
10499         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
10501 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10503         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
10504         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
10506 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10508         * sysdeps/aarch64/memcpy.S (memcpy):
10509         Rewrite of optimized memcpy and memmove.
10510         * sysdeps/aarch64/memmove.S (memmove): Remove
10511         memmove code (merged into memcpy.S).
10513 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10515         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
10516         * sysdeps/generic/dl-dtv.h: New file.
10517         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10518         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
10519         (dtv_t): Remove.
10520         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10521         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
10522         (dtv_t): Remove.
10523         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10524         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
10525         (dtv_t): Remove.
10526         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10527         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
10528         (dtv_t): Remove.
10529         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10530         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
10531         (dtv_t): Remove.
10532         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10533         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
10534         (dtv_t): Remove.
10535         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10536         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
10537         (dtv_t): Remove.
10538         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
10539         (dtv_t): Remove.
10540         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10541         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
10542         (dtv_t): Remove.
10543         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10544         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
10545         (dtv_t): Remove.
10546         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10547         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
10548         (dtv_t): Remove.
10549         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10550         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
10551         (dtv_t): Remove.
10552         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10553         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
10554         (dtv_t): Remove.
10555         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10556         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
10557         (dtv_t): Remove.
10558         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10559         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
10560         (dtv_t): Remove.
10561         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10562         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
10563         (dtv_t): Remove.
10565 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10567         Revert symbol poisoning of  __malloc_initialize_hook.
10568         * include/stdc-predef.h (__malloc_initialize_hook): Remove
10569         poisoning.
10570         * malloc/Makefile: Remove un-poisoning.
10571         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
10572         instead of old__malloc_initialize_hook.
10573         * malloc/malloc-hooks.h: Likewise.
10574         * malloc/malloc.c: Likewise.
10575         * malloc/mcheck-init.c: Likewise.
10577 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
10579         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
10581 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
10583         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
10584         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
10585         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10586         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10588 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10590         * NEWS: Mention addition of nextup and nextdown.
10591         * manual/arith.texi: Document nextup and nextdown.
10592         * manual/libm-err-tab.pl: Add nextup and nextdown.
10593         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
10594         * math/Versions (libm): Add GLIBC_2.24.
10595         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
10596         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10597         Add new test.
10598         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
10599         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
10600         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
10601         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
10602         (nextup_test_data): Likewise.
10603         (nextdown_test_data): Likewise.
10604         * math/s_nextdown.c: New file.
10605         * math/s_nextdownf.c: Likewise.
10606         * math/s_nextdownl.c: Likewise.
10607         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
10608         F(nextup): New function.
10609         F(nextdown): Likewise.
10610         * math/tgmath.h: Add nextup and nextdown.
10611         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
10612         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
10613         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10614         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10615         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10616         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
10617         Add nextup and nextdown.
10618         (CFLAGS-nldbl-nextup.c): New variable.
10619         (CFLAGS-nldbl-nextdown.c): Likewise.
10620         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
10621         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
10622         * sysdeps/nacl/libm.abilist: Update.
10623         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10624         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10625         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10626         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10627         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10628         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10629         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10630         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10631         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10632         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10633         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10634         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10637         Likewise.
10638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10640         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10641         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10642         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10643         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10644         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
10646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
10647         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10648         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10650         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10652 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10654         * manual/pattern.texi: Fix typos & grammar errors.
10656 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10658         * manual/search.texi: Fix typos & grammar errors.
10660 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10662         * manual/message.texi: Fix typos & grammar errors.
10664 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
10666         * manual/contrib.texi: Fix spelling typos.
10667         * manual/crypt.texi: Likewise.
10668         * manual/filesys.texi: Likewise.
10669         * manual/locale.texi: Likewise.
10670         * manual/message.texi: Likewise.
10671         * manual/nss.texi: Likewise.
10672         * manual/string.texi: Likewise.
10674 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10676         * manual/locale.texi: Fix typos & grammar errors.
10678 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10680         * manual/charset.texi: Fix typos & grammar errors.
10682 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10684         * manual/string.texi: Fix typos.
10686 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10688         * manual/ctype.texi: Fix typos.
10690 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10692         * manual/memory.texi: Fix various typos & grammar errors.
10694 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
10696         [BZ #20255]
10697         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
10698         * math/libm-test.inc (fdim_test_data): Add another test.
10700         [BZ #6796]
10701         [BZ #20255]
10702         [BZ #20256]
10703         * math/s_fdim.c: Include <math_private.h>.
10704         (__fdim): Use math_narrow_eval on result.
10705         * math/s_fdimf.c: Include <math_private.h>.
10706         (__fdimf): Use math_narrow_eval on result.
10707         * sysdeps/i386/fpu/s_fdim.S: Remove file.
10708         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
10709         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
10710         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
10711         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
10712         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
10713         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
10714         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
10715         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
10716         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
10717         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
10718         * math/libm-test.inc (fdim_test_data): Expect errno setting on
10719         overflow.  Add sNaN tests.
10721         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
10722         fpclassify.
10723         * math/s_fdimf.c (__fdimf): Likewise.
10724         * math/s_fdiml.c (__fdiml): Likewise.
10726 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10728         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10729         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
10730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10731         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
10732         ifunc'ed strcasecmp/strncasecmp.
10733         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
10734         [EALIGN]: Removed.
10735         [END]: Likewise.
10736         [__strcasecmp]: Define instead of the above to control symbol name.
10737         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
10738         for __strcasecmp_power8.
10739         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
10740         for __strncasecmp_power8.
10741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
10742         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
10743         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
10744         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
10745         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
10746         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
10748 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
10750         [BZ #20252]
10751         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
10752         arguments when second argument is a NaN.
10753         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
10754         qNaN tests.
10756         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
10757         (conj_test_data): Likewise.
10758         (copysign_test_data): Likewise.
10759         (creal_test_data): Likewise.
10760         (fma_test_data): Likewise.
10761         (fmod_test_data): Likewise.
10763         [BZ #20250]
10764         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
10765         itself.
10766         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
10767         zero input to itself.
10768         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
10769         Likewise.
10770         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
10771         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
10772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10773         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
10774         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
10776 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10778         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
10779         * nptl/tst-cancel4-common.c: New file.
10780         * nptl/tst-cancel4-common.h: Likewise.
10781         * nptl/tst-cancel4.c: Move common definitions to
10782         tst-cancel4-common.{c,h} file.
10783         * nptl/tst-cancel4_1.c: New test.
10784         * nptl/tst-cancel4_2.c: New test.
10786 2016-06-13  Florian Weimer  <fweimer@redhat.com>
10788         [BZ #20248]
10789         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
10790         (write_message): New function.
10791         (stackoverflow_handler): Call it instead of printf, to avoid
10792         excessive stack usage by printf.
10793         (do_test): Restore SIGSEGV, SIGBUS default handlers.
10795 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10797         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
10798         (prio_inherit_missing): Remove define.
10799         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10800         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10801         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
10802         Likewise.
10803         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10804         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10805         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10806         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10807         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10808         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10810 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10812         [BZ #19670]
10813         [BZ #19672]
10815         * io/test-lfs.c (do_prepare): Use xmalloc.
10816         * io/tst-fcntl.c (do_prepare): Likewise.
10817         * libio/tst-fopenloc.c (do_bz17916): Likewise.
10818         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
10819         * login/tst-utmp.c (do_prepare): Likewise.
10820         * posix/tst-exec.c (do_prepare): Likewise.
10821         * posix/tst-pathconf.c (prepare): Likewise.
10822         * posix/tst-spawn.c (do_prepare): Likewise.
10823         * posix/tst-truncate.c (do_prepare): Likewise.
10824         * rt/tst-aio.c (do_prepare): Likewise.
10825         * rt/tst-aio64.c (do_prepare): Likewise.
10827 2016-06-11  Florian Weimer  <fweimer@redhat.com>
10829         [BZ #20237]
10830         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
10831         (get*ent): Set entidx to NULL during initialization.  If entidx is
10832         NULL, start iteration from the beginning.
10834 2016-06-11  Florian Weimer  <fweimer@redhat.com>
10836         * malloc/malloc.c (musable): Return correct size for dumped fake
10837         mmapped chunk.
10839 2016-06-11  Florian Weimer  <fweimer@redhat.com>
10841         [BZ #20222]
10842         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
10843         (_IO_cookie_write): Likewise.
10844         (_IO_cookie_seek): Likewise.
10845         (_IO_cookie_close): Likewise.
10846         (_IO_old_cookie_seek): Likewise.
10847         (set_callbacks): New function.
10848         (_IO_cookie_init): Call set_callbacks to copy callbacks.
10850 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
10852         * locale/programs/localedef.c (oldstyle_tables): Remove.
10853         * locale/programs/localedef.h (oldstyle_tables): Likewise.
10855 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
10857         [BZ #20240]
10858         * math/Makefile (CFLAGS-s_modf.c): New variable.
10859         (CFLAGS-s_modff.c): Likewise.
10860         (CFLAGS-s_modfl.c): Likewise.
10861         * math/libm-test.inc (modf_test_data): Add sNaN tests.
10863 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
10865         [BZ #20215]
10866         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
10867         [!__GNUC_PREREQ (3,2)]: Likewise.
10869 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10871         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
10872         (msghdr.msg_controllen): Likewise.
10873         (cmsghdr.cmsg_len): Likewise.
10874         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
10875         ptw-oldsendmsg.
10876         (CFLAGS-oldrecvmsg.c): Remove rule.
10877         (CFLAGS-oldsendmsg.c): Likewise.
10878         (CFLAGS-recvmsg.c): Add rule.
10879         (CFLAGS-sendmsg.c): Likewise.
10880         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
10881         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
10882         (CFLAGS-recvmsg.c): Remove rule.
10883         (CFLAGS-sendmsg.c): Likewise.
10884         (CFLAGS-oldrecvmsg.c): Likewise.
10885         (CFLAGS-oldsendmsg.c): Likewise.
10886         (CFLAGS-recvmmsg.c): Likewise.
10887         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
10888         to kernel defined interfaces.
10889         (msghdr.msg_controllen): Likewise.
10890         (cmsghdr.cmsg_len): Likewise.
10891         (msghdr.__glibc_reserved1): Remove member.
10892         (msghdr.__glibc_reserved2): Likewise.
10893         (cmsghdr.__glibc_reserved1): Likewise.
10894         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
10895         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
10896         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10897         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10898         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
10899         version.
10900         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
10901         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
10902         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
10903         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
10904         Remove recvmsg and sendmsg.
10905         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
10906         Likewise.
10907         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10908         Likewise.
10909         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10910         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10911         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10912         Likewise.
10913         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10914         Likewise.
10915         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
10916         [libc] (GLIBC_2.24): Likewise.
10917         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10918         Likewise.
10919         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10920         Likewise.
10921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10922         [libc] (GLIBC_2.24): Likewise.
10923         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10924         Likewise.
10925         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10926         Likewise.
10927         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10928         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10929         Likewise.
10930         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10931         Likewise.
10932         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10933         Likewise.
10934         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
10935         Likewise.
10936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
10937         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
10938         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
10939         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
10940         version for {recv,send,recm,sendm}msg.
10941         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10942         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10943         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10944         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10945         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10946         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10947         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10948         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10949         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10950         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10951         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10952         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10954         Likewise.
10955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10956         Likewise.
10957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10959         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10960         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10961         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10962         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10963         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10964         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10967         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10968         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10969         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10971 2016-06-10  Florian Weimer  <fweimer@redhat.com>
10973         [BZ #19564]
10974         Remove __malloc_initialize_hook from the API.
10975         * malloc/malloc.h (__malloc_initialize_hook): Remove.
10976         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
10977         #pragma GCC poison.
10978         * malloc/malloc-hooks.h: New file.
10979         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
10980         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
10981         (old__malloc_initialize_hook): Rename from
10982         __malloc_initialize_hook to evade poisoning.  Turn into compat
10983         symbol.
10984         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
10985         __malloc_initialize_hook.
10986         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
10987         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
10988         * manual/memory.texi (Hooks for Malloc): Remove
10989         __malloc_initialize_hook.  Adjust hook example.
10991 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
10993         [BZ #20235]
10994         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
10995         itself.
10996         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10997         * math/libm-test.inc (log2_test_data): Add sNaN tests.
10999         [BZ #20234]
11000         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
11001         infinity or NaN input to itself.
11003         [BZ #20233]
11004         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
11005         to itself.
11007         [BZ #20232]
11008         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
11009         itself.
11011 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11013         * sysdeps/x86_64/start.S (_start): Always indirect branch to
11014         __libc_start_main via GOT.
11016 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11018         * sysdeps/x86_64/memcopy.h: New file.
11019         * sysdeps/x86_64/wordcopy.c: Likewise.
11021 2016-06-09  Florian Weimer  <fweimer@redhat.com>
11023         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
11024         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
11025         <cstdlib>.
11026         (optimization_barrier): New.
11027         (do_test): Use it.  Call quick_exit in the global namespace.
11028         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
11029         instead of <cstdlib>, <thread>.
11030         (optimization_barrier): New.
11031         (non_main_thread): Adjust declaration.  Call optimization_barrier.
11032         Call quick_exit in the global namespace.
11033         (do_test): Call optimization_barrier.  Use pthread_create,
11034         pthread_join instead of std::thread.
11036 2016-06-09  Andreas Schwab  <schwab@suse.de>
11038         [BZ #19755]
11039         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
11040         new entries in auto-propagate mode.
11041         * nscd/grpcache.c (cache_addgr): Likewise.
11043 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11045         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
11046         New functions.
11047         (add_temp_file): Use them.
11049 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
11051         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11053 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
11055         [BZ #20229]
11056         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11057         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11058         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11060         [BZ #20228]
11061         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11062         itself.
11063         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11064         * math/libm-test.inc (log10_test_data): Add sNaN tests.
11066         [BZ #20227]
11067         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11068         itself.
11069         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11070         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11071         * math/libm-test.inc (log_test_data): Add sNaN tests.
11073         [BZ #20226]
11074         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11075         itself.
11076         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11077         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11078         (exp10_test_data): Likewise.
11079         (expm1_test_data): Likewise.
11081         [BZ #20225]
11082         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11083         itself.
11084         * math/s_ldexpf.c (__ldexpf): Likewise.
11085         * math/s_ldexpl.c (__ldexpl): Likewise.
11086         * math/w_scalbln.c (__w_scalbln): Likewise.
11087         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11088         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11089         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11090         (scalbln_test_data): Likewise.
11092         [BZ #20224]
11093         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11094         argument to itself.
11095         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11097 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11099         [BZ #19776]
11100         * sysdeps/x86_64/memcpy.S: Make it dummy.
11101         * sysdeps/x86_64/mempcpy.S: Likewise.
11102         * sysdeps/x86_64/memmove.S: New file.
11103         * sysdeps/x86_64/memmove_chk.S: Likewise.
11104         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11105         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11106         * sysdeps/x86_64/memmove.c: Removed.
11107         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11108         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11109         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11110         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11111         Likewise.
11112         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11113         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11115         memcpy-sse2-unaligned, memmove-avx-unaligned,
11116         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11117         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11118         (__libc_ifunc_impl_list): Replace
11119         __memmove_chk_avx512_unaligned_2 with
11120         __memmove_chk_avx512_unaligned.  Remove
11121         __memmove_chk_avx_unaligned_2.  Replace
11122         __memmove_chk_sse2_unaligned_2 with
11123         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11124         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11125         with __memmove_avx512_unaligned.  Replace
11126         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11127         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11128         with __memcpy_chk_avx512_unaligned.  Remove
11129         __memcpy_chk_avx_unaligned_2.  Replace
11130         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11131         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11132         Replace __memcpy_avx512_unaligned_2 with
11133         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11134         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11135         with __mempcpy_chk_avx512_unaligned.  Remove
11136         __mempcpy_chk_avx_unaligned_2.  Replace
11137         __mempcpy_chk_sse2_unaligned_2 with
11138         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11139         Replace __mempcpy_avx512_unaligned_2 with
11140         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11141         Replace __mempcpy_sse2_unaligned_2 with
11142         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11143         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11144         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11145         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11146         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11147         (ENTRY): Removed.
11148         (END): Likewise.
11149         (ENTRY_CHK): Likewise.
11150         (libc_hidden_builtin_def): Likewise.
11151         Don't include ../memcpy.S.
11152         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11153         __memcpy_chk_avx512_unaligned_erms and
11154         __memcpy_chk_avx512_unaligned.  Use
11155         __memcpy_chk_avx_unaligned_erms and
11156         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11157         Default to __memcpy_chk_sse2_unaligned.
11158         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11159         Change function suffix from unaligned_2 to unaligned.
11160         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11161         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11162         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11163         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11164         (ENTRY): Removed.
11165         (END): Likewise.
11166         (ENTRY_CHK): Likewise.
11167         (libc_hidden_builtin_def): Likewise.
11168         Don't include ../mempcpy.S.
11169         (mempcpy): New.  Add a weak alias.
11170         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11171         __mempcpy_chk_avx512_unaligned_erms and
11172         __mempcpy_chk_avx512_unaligned.  Use
11173         __mempcpy_chk_avx_unaligned_erms and
11174         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11175         Default to __mempcpy_chk_sse2_unaligned.
11177 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11179         [BZ #19881]
11180         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11181         into ...
11182         * sysdeps/x86_64/memset.S: This.
11183         (__bzero): Removed.
11184         (__memset_tail): Likewise.
11185         (__memset_chk): Likewise.
11186         (memset): Likewise.
11187         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11188         defined.
11189         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11190         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11191         (__memset_zero_constant_len_parameter): Check SHARED instead of
11192         PIC.
11193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11194         memset-avx2 and memset-sse2-unaligned-erms.
11195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11196         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11197         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11198         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11199         (__bzero): Enabled.
11200         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11201         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11202         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11203         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11204         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11205         (memset): Removed.
11206         (__memset_chk): Likewise.
11207         (MEMSET_SYMBOL): New.
11208         (libc_hidden_builtin_def): Replace __memset_sse2 with
11209         __memset_sse2_unaligned.
11210         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11211         __memset_chk_sse2 and __memset_chk_avx2 with
11212         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11213         Use __memset_chk_sse2_unaligned_erms or
11214         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11215         __memset_chk_avx512_unaligned_erms and
11216         __memset_chk_avx512_unaligned.
11218 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11220         * math/gen-auto-libm-test.c (fp_format_desc): remove
11221         suffix member.
11222         (output_generic_value): Remove usage of suffix member,
11223         and the resulting unuse of the fp_format argument.
11224         (output_for_one_input_case): Remove unused fp_format
11225         parameter.
11227         * math/auto-libm-test-out: Regenerate.
11229         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11230         usage with TEST_COND_ibm128.
11231         (TEST_COND_flt_32): Remove.
11232         (TEST_COND_dbl_64): Remove.
11233         (TEST_COND_ldbl_96_intel): Remove.
11234         (TEST_COND_ldbl_96_m68k): Remove.
11235         (TEST_COND_ldbl_128): Remove.
11237 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11239         * auto-libm-test-in:
11240         Replace flt-32 usage with binary32.
11241         Replace dbl-64 usage with binary64.
11242         Replace ldbl-intel-96 usage with intel96.
11243         Replace ldbl-m68k-96 usage with m68k96.
11244         Replace ldbl-128ibm usage with ibm128.
11245         Replace ldbl-128 usage with binary128.
11247         * auto-libm-test-out: Regenerate.
11249 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11251         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11252         (parse_ulps): Dynamically generate type name matching
11253         string from all_floats.
11254         (get_ulps): Generate the ulps as an array instead.
11255         (output_ulps): Dynamically compose the type based
11256         on the number of supported formats, and print
11257         the indices as type specific helper macros.
11259         * math/libm-test.inc: Remove comment about CHOOSE.
11260         (ulp_data): Generate the type in libm-test-ulps.h.
11261         (ULP_IDX): New macro.
11262         (find_ulps): Update usage of max_ulp.
11264         * math/test-double-vlen2.h (CHOOSE): Remove.
11265         * math/test-double-vlen4.h (CHOOSE): Likewise.
11266         * math/test-double-vlen8.h (CHOOSE): Likewise.
11267         * math/test-float.c (CHOOSE): Likewise.
11268         * math/test-float-finite.c (CHOOSE): Likewise.
11269         * math/test-double.c (CHOOSE): Likewise.
11270         * math/test-double-finite.c (CHOOSE): Likewise.
11271         * math/test-idouble.c (CHOOSE): Likewise.
11272         * math/test-ifloat.c (CHOOSE): Likewise.
11273         * math/test-ildoubl.c (CHOOSE): Likewise.
11274         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11275         * math/test-ldouble.c (CHOOSE): Likewise.
11277         * math/test-float.h (TEST_FLOAT): Remove.
11278         * math/test-double.h (TEST_DOUBLE): Likewise.
11279         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11281 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11283         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11284         (parse_args): Strip C suffix from floating point literals
11285         typed with 'f' and wrap them with LIT().
11287         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11288         (test_ff_f_data_nexttoward): Rename to
11289         (test_fj_f_data): New struct.
11290         (nexttoward_test_data): Relabel tests as
11291         TEST_fj_f instead of TEST_ff_f.
11293 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11295         Emacs bug 23726.
11296         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11297         (__libc_realloc): Correct size computation for dumped fake mmapped
11298         chunks.
11300 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11302         [BZ #20219]
11303         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11304         to itself.
11305         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11307         [BZ #20218]
11308         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11309         to itself.
11310         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11312 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11314         [BZ #20195]
11315         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11316         check to ...
11317         (init_cpu_features): Here.
11319 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11321         [BZ #20214]
11322         * sysdeps/unix/sysv/linux/bits/in.h
11323         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11324          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11325         Define to 1.
11326         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11327          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11328         Define to 0.
11329         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11330         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11332 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
11334         [BZ #20198]
11335         * stdlib/Makefile (tests): Add tst-quick_exit, and
11336         tst-thread-quick_exit.
11337         [ifeq ($(have-cxx-thread_local),yes)]
11338         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11339         (CFLAGS-tst-thread-quick_exit.o): Likewise.
11340         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11341         (LDLIBS-tst-thread-quick_exit): Likewise.
11342         [ifneq ($(have-cxx-thread_local),yes)]
11343         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11344         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11345         If run_dtors is true call __call_tls_dtors.
11346         (exit): Call __run_exit_handlers with run_dtors set to true.
11347         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11348         definition.
11349         * stdlib/quick_exit.c (quick_exit): Remove function.
11350         (__new_quick_exit): New function.
11351         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11352         function.
11353         * stdlib/tst-quick_exit.cc: New file.
11354         * stdlib/tst-thread-quick_exit.cc: New file.
11355         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11356         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11357         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11358         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11359         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11360         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11361         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11362         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11363         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11364         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11365         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
11366         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
11367         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
11368         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
11369         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
11370         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
11372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
11373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
11374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
11375         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
11376         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
11377         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
11378         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
11379         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
11380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
11381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
11382         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
11383         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
11384         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
11386 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11388         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
11389         a typo in comments.
11391 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11393         [BZ #20213]
11394         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
11395         argument to itself.
11396         * math/libm-test.inc (asin_test_data): Add sNaN tests.
11398 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11400         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
11401         required flags.
11402         (CFLAGS-pwritev64.c): Likewise.
11403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
11404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11405         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
11406         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11407         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
11408         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
11409         syscall from auto-generation.
11410         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
11411         [WORDSIZE == 64] (pwritev64): Remove macro.
11412         [!PWRITEV] (PWRITEV): Likewise.
11413         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11414         [!PWRITEV] (PWRITE): Likewise.
11415         [!PWRITEV] (OFF_T): Likewise.
11416         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11417         (LO_HI_LONG): Remove macro.
11418         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
11419         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
11420         (PWRITEV): Remove macro.
11421         (PWRITEV_REPLACEMENTE): Likewise.
11422         (PWRITE): Likewise.
11423         (OFF_T): Likewise.
11424         (pwritev64): New function.
11425         * nptl/tst-cancel4.c (tf_writev): Add test.
11427         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
11428         required flags.
11429         (CFLAGS-preadv64.c): Likewise.
11430         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
11431         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11432         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
11433         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
11434         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
11435         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
11436         syscall from auto-generation.
11437         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
11438         [WORDSIZE == 64] (preadv64): Remove macro.
11439         [!PREADV] (PREADV): Likewise.
11440         [!PREADV] (PREADV_REPLACEMENT): Likewise.
11441         [!PREADV] (PREAD): Likewise.
11442         [!PREADV] (OFF_T): Likewise.
11443         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
11444         (LO_HI_LONG): Remove macro.
11445         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
11446         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
11447         (PREADV): Remove macro.
11448         (PREADV_REPLACEMENTE): Likewise.
11449         (PREAD): Likewise.
11450         (OFF_T): Likewise.
11451         (preadv64): New function.
11452         * nptl/tst-cancel4.c (tf_preadv): Add test.
11454 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11456         [BZ #20212]
11457         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
11458         argument to itself.
11459         * math/libm-test.inc (acos_test_data): Add sNaN tests.
11461 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11463         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
11464         New symbol defined as libc_hidden_def.
11465         (strcasestr): Became a weak alias to __strcasestr.
11466         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
11467         according to multi-arch support.  Move __stpncpy hidden
11468         definition from here to...
11469         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
11470         symbol stpncpy.
11471         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
11472         libc_hidden_builtin_def.
11473         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
11474         memset symbol to use when multi-arch support is available.
11476 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11478         * dlfcn/tst-rec-dlopen.c: Include string.h.
11480 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11482         * manual/install.texi: Remove mention of --without-tls
11483         * INSTALL: Regenerate.
11485 2016-06-05  Florian Weimer  <fweimer@redhat.com>
11487         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
11488         Remove.
11489         (call_function, interposed_malloc_called): New variables.
11490         (malloc): New function.
11491         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
11492         and clear call_function as needed.
11494 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
11496         * include/wchar.h (__wmemset): Use __typeof.
11498 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
11500         * include/wchar.h (__wmemset): Declare function without typeof.
11502 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
11504         [BZ #20205]
11505         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
11506         exponent when incrementing negative subnormal with low mantissa
11507         word zero.
11508         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11509         Add another test.
11511 2016-06-03  Florian Weimer  <fweimer@redhat.com>
11513         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
11514         __wmemset instead of wmemset.
11516 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
11518         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
11519         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
11520         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
11521         __USE_KERNEL_IPV6_DEFS to 0.
11522         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
11523         Update comment.
11525 2016-06-01  Florian Weimer  <fweimer@redhat.com>
11527         [BZ #19861]
11528         Do not use IFUNC resolver with potentially unrelocated symbol.
11529         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
11530         (DEFINE_FORK): Remove macro and inline definition.
11531         (fork_alias): Renamed from fork_ifunc.
11532         (__fork_alias): Renamed from __fork_ifunc.
11534 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
11536         [BZ 19653]
11537         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
11538         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
11540 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11542         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
11543         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
11544         i386-linux-gnu).
11545         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
11546         Set to no.
11547         * sysdeps/mach/hurd/configure: Refresh.
11549 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11551         [BZ #20178]
11552         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
11553         on failure instead of exit.
11555 2016-05-30  Roland McGrath  <roland@hack.frob.com>
11557         [BZ #3629]
11558         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
11559         of POSIX.1-2008.
11561 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11563         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
11564           Use PLT entry for calling _hurd_self_sigstate.
11566 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
11568         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
11569         available logical processors with SMT level type sharing L2
11570         cache for Intel processors.
11572 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11574         [BZ #20160]
11575         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
11576         argument to itself before returning the result.
11577         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
11578         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
11579         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11581         Likewise.
11582         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11583         Likewise.
11584         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
11585         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
11586         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11587         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11588         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
11589         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
11591         [BZ #20160]
11592         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
11593         argument to itself before returning the result.
11594         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
11595         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
11596         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
11597         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
11598         Likewise.
11599         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11600         Likewise.
11601         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
11602         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
11603         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
11604         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11605         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
11606         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
11608 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11610         * libm-test.inc: Replace usage of M_El with
11611         (lit_e): New macro.
11613 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11615         * libm-test.inc: Replace usage of M_PI_4l with
11616         (lit_pi_4_d): New macro.
11618 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11620         * libm-test.inc: Replace usage of M_PIl with
11621         (lit_pi): New macro.
11623 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11625         * libm-test.inc: Replace usage of M_PI2l with
11626         (lit_pi_2_d): New macro.
11628         * math/test-double.h (LITM): New macro.
11629         * math/test-float.h (LITM): Likewise.
11630         * math/test-ldouble.h (LITM): Likewise.
11632 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11634         * libm-test.inc (M_PI_34l): Rename to
11635         (lit_pi_3_m_4_d): New Macro.
11636         (M_PI_34_LOG10El): Rename to
11637         (lit_pi_3_m_4_ln10_m_d): New Macro.
11638         (M_PI2_LOG10El): Rename to
11639         (lit_pi_2_ln10_m_d):  New Macro.
11640         (M_PI4_LOG10El): Rename to
11641         (lit_pi_4_ln10_m_d):  New Macro.
11642         (M_PI_LOG10El): Rename to
11643         (lit_pi_ln10_d):  New Macro.
11645 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11647         [BZ #20157]
11648         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
11649         determine whether to negate low half if [_ARCH_PPCGR], and integer
11650         comparison otherwise.
11651         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
11652         determine whether to negate low half.
11654         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
11655         (NO_TEST_INLINE_DOUBLE): Likewise.
11656         (TEST_COND_x86_64): Likewise.
11657         (TEST_COND_x86): Likewise.
11658         (M_PI_6l): Likewise.
11660 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11662         * math/libm-test.inc:
11663         (TEST_FLOAT): Change usage to TEST_COND_binary32.
11664         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
11665         (TEST_LDOUBLE): Update usage to evaluate as true if
11666         the guarded tests match the property being tested.
11667         (LDBL_MAX_EXP): Change to MAX_EXP.
11668         (LDBL_MIN_EXP): Change to MIN_EXP.
11669         (LDBL_MANT_DIG): Change to MANT_DIG, except for
11670         nexttoward tests.
11672 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11674         * math/libm-test.inc:
11675         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
11676         (TYPE_MIN): Likewise.
11677         (TYPE_TRUE_MIN): Likewise.
11678         (TYPE_MAX): Likewise.
11679         (MIN_EXP): Likewise.
11680         (MAX_EXP): Likewise.
11681         (MANT_DIG): Likewise.
11683         (FSTR_MAX): New macro.
11684         (__CONCATX): Likewise.
11685         (QTYPE_STR): Likewise.
11686         (TEST_COND_binary32): Likewise.
11687         (TEST_COND_binary64): Likewise.
11688         (TEST_COND_binary128): Likewise.
11689         (TEST_COND_ibm128): Likewise.
11690         (TEST_COND_intel96): Likewise.
11691         (TEST_COND_m68k96): Likewise.
11693         (TEST_COND_flt_32): Redefine as equivalent format test macro.
11694         (TEST_COND_dbl_64): Likewise.
11695         (TEST_COND_ldbl_96_intel): Likewise.
11696         (TEST_COND_ldbl_96_m68k): Likewise.
11697         (TEST_COND_ldbl_128): Likewise.
11698         (TEST_COND_ldbl_128ibm): Likewise.
11700         (plus_zero): Redefine using LIT macro.
11701         (minus_zero): Likewise.
11702         (plus_infty): Redefine as (INF).
11703         (minux_infty): Redefine as (-INF).
11704         (max_value): Redefine as TYPE_MAX.
11705         (min_value): Redefine as TYPE_MIN.
11706         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
11708         (print_float): Refactor to use snprintf to convert FLOAT values
11709         to string. This brings it closer to dropin replacement of strtof
11710         for the TS 18661 defined types.
11711         (update_stats): Likewise.
11712         (print_complex_function_ulps): Likewise.
11713         (print_max_error): Likewise.
11714         (print_complex_max_error): Likewise.
11715         (check_float_internal): Likewise.
11717         * math/test-float.h (PREFIX): New macro.
11718         (LIT): Likewise.
11719         (TYPE_STR): Likewise.
11720         (FTOSTR): Likewise.
11722         * math/test-double.h (PREFIX): New macro.
11723         (LIT): Likewise.
11724         (TYPE_STR): Likewise.
11725         (FTOSTR): Likewise.
11727         * math/test-ldouble.h (PREFIX): New macro.
11728         (LIT): Likewise.
11729         (TYPE_STR): Likewise.
11730         (FTOSTR): Likewise.
11732 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11734         [BZ #20156]
11735         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
11736         to itself when zero or not finite.
11737         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
11738         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11739         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
11740         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11742 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
11744         [BZ #20153]
11745         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
11746         x * x + x for infinities and NaNs.
11748         [BZ #20151]
11749         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
11750         argument to itself before returning result.
11751         (__ieee754_y0l): Likewise.
11752         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11753         (__ieee754_y1l).
11755         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
11756         (atan_test_data): Likewise.
11757         (ceil_test_data): Likewise.
11758         (cos_test_data): Likewise.
11759         (cosh_test_data): Likewise.
11760         (erf_test_data): Likewise.
11761         (exp2_test_data): Likewise.
11762         (fabs_test_data): Likewise.
11763         (floor_test_data): Likewise.
11764         (ilogb_test_data): Likewise.
11765         (j0_test_data): Likewise.
11766         (j1_test_data): Likewise.
11767         (jn_test_data): Likewise.
11768         (lgamma_test_data): Likewise.
11769         (lrint_test_data): Likewise.
11770         (llrint_test_data): Likewise.
11771         (logb_test_data): Likewise.
11772         (lround_test_data): Likewise.
11773         (llround_test_data): Likewise.
11774         (nearbyint_test_data): Likewise.
11775         (rint_test_data): Likewise.
11776         (round_test_data): Likewise.
11777         (sin_test_data): Likewise.
11778         (sincos_test_data): Likewise.
11779         (sinh_test_data): Likewise.
11780         (sqrt_test_data): Likewise.
11781         (tan_test_data): Likewise.
11782         (tanh_test_data): Likewise.
11783         (tgamma_test_data): Likewise.
11784         (trunc_test_data): Likewise.
11785         (y0_test_data): Likewise.
11786         (y1_test_data): Likewise.
11787         (yn_test_data): Likewise.
11789         * math/libm-test.inc: Update comment about NaN testing.
11790         (TEST_SNAN): New macro.
11791         (snan_value): Likewise.
11792         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
11793         (fpclassify_test_data): Add sNaN tests.
11794         (isfinite_test_data): Likewise.
11795         (isinf_test_data): Likewise.
11796         (isnan_test_data): Likewise.
11797         (isnormal_test_data): Likewise.
11798         (issignaling_test_data): Likewise.
11799         (signbit_test_data): Likewise.
11800         * math/gen-libm-test.pl (%beautify): Add snan_value.
11801         (show_exceptions): Add argument $test_snan.
11802         (parse_args): Handle snan_value as non-finite.  Update call to
11803         show_exceptions.
11804         * math/Makefile (libm-test-no-inline-cflags): Add
11805         -fsignaling-nans.
11807 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11809         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
11810         (CFLAGS-oldsendmsg.c): Add rule.
11811         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11812         Correct recvmsg symbol name.
11813         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
11814         Likewise.
11816 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11818         * sysdeps/unix/sysv/linux/Makefile
11819         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
11820         oldsendmmsg.
11821         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
11822         sendmmsg.
11823         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11824         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11825         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11826         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11828         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11829         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11831         Likewise.
11832         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11833         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
11834         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11835         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
11836         iovlen and controllen fields to adjust to POSIX specification.
11837         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11839         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
11840         and change to correct expected type.
11841         (msghdr.msg_controllen): Likewise.
11842         (cmsghdr.cmsg_len): Likewise.
11843         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
11844         expected POSIX assumption about the size.
11845         (msghdr.msg_controllen): Likewise.
11846         (msghdr.__glibc_reserved1): Likewise.
11847         (msghdr.__glibc_reserved2): Likewise.
11848         (cmsghdr.cmsg_len): Likewise.
11849         (cmsghdr.__glibc_reserved1): Likewise.
11850         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
11851         Add ptw-oldrecvmsg and ptw-oldsendmsg.
11852         (CFLAGS-sendmsg.c): Remove rule.
11853         (CFLAGS-recvmsg.c): Likewise.
11854         (CFLAGS-oldsendmsg.c): Add rule.
11855         (CFLAGS-oldrecvmsg.c): Likewise.
11856         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
11857         recvmsg and sendmsg.
11858         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
11859         Likewise.
11860         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
11861         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
11862         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11863         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
11864         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11865         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11866         Likewise.
11867         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11868         Likewise.
11869         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
11870         Likewise.
11871         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
11872         Likewise.
11873         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11874         Likewise.
11875         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11876         Likewise.
11877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
11878         (GLIBC_2.24): Likewise.
11879         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11880         Likewise.
11881         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11882         Likewise.
11883         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11884         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11885         Likewise.
11886         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11887         Likewise.
11888         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11889         Likewise.
11890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
11891         (GLIBC_2.24): Likewise.
11892         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
11893         Likewise.
11894         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
11895         Likewise.
11896         * sysdeps/unix/sysv/linux/Makefile
11897         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
11898         (CFLAGS-sendmsg.c): Add rule.
11899         (CFLAGS-recvmsg.c): Likewise.
11900         (CFLAGS-oldsendmsg.c): Likewise.
11901         (CFLAGS-oldrecvmsg.c): Likewise.
11902         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
11903         initialization.
11904         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11905         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11906         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
11907         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11908         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
11909         iovlen and controllen fields to adjust to POSIX specification.
11910         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
11911         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
11912         added recvmsg and sendmsg.
11913         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11914         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11915         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11916         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11917         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11918         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11919         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11920         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11921         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11922         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11923         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11924         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11926         Likewise.
11927         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11929         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11930         Likewise.
11931         Likewise.
11932         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11933         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11934         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11935         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11936         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11937         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11939         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11941         Likewise.
11942         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11943         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11945         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
11946         from auto-generation.
11947         (sendmsg): Likewise.
11948         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
11949         (sendmsg): Likewise.
11950         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
11951         (sendmsg): Likewise.
11952         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
11953         (sendmsg): Likewise.
11954         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
11955         (sendmsg): Likewise.
11956         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
11957         (sendmsg): Likewise.
11958         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
11959         Likewise.
11960         (sendmsg): Likewise.
11961         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
11962         (sendmsg): Likewise.
11963         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11964         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11965         Remove.
11966         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11967         Likewise.
11968         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11969         Undefine.
11970         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11971         Likewise.
11972         * sysdeps/unix/sysv/linux/kernel-features.h
11973         (__ASSUME_SENDMSG_SYSCALL): Define.
11974         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11975         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11976         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11977         Remove.
11978         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11979         Likewise.
11980         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11981         Undefine.
11982         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11983         Likewise.
11984         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11985         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11986         Remove.
11987         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11988         Likewise.
11989         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11990         Undefine.
11991         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11992         Likewise.
11993         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11994         (__ASSUME_SENDMSG_SYSCALL): Undefine.
11995         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11996         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11997         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11998         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11999         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12000         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12001         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12003 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12005         * stdlib/gen-tst-strtod-round.c: Add backslash to
12006         compile command in comment.
12007         (printfp): Remove the literal suffix, and define an infinite
12008         value as INF to avoid expansion clash with INFINITY.
12009         (round_str): Remove the literal suffix.
12010         (round_for_all): Likewise, remove the now duplicate ldbl-64
12011         entry, and remove some magic constants.
12013         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
12014         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
12015         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
12016         (_CONCAT): New macro.
12017         (CONCAT): Likewise.
12018         (CHOOSE_ld): Likewise.
12019         (CHOOSE_f): Likewise.
12020         (CHOOSE_d): Likewise.
12021         (FTYPE_MEMBER): Likewise.
12022         (BOOL_MEMBER): Likewise.
12023         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
12024         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
12025         (_XNTRY): Likewise.
12026         (XNTRY): Likewise.
12027         (_ENTRY): Likewise.
12028         (ENTRY): Likewise.
12029         (test_exactness): Generate members via macro.
12030         (test_results): Likewise.
12031         (test): Update members.
12032         (TEST): Redefine using new macros.
12033         (INF): New macro.
12034         (fetestmodes): New structure.
12035         (do_test): Refactor to be type generic.
12036         (test_in_one_mode): Refactor duplicate code into
12037         (GEN_ONE_TEST): New macro.
12039         * stdlib/tst-strtod-round-data.h: Regenerate.
12041         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
12042         Extend to pass additional arbitrary parameters to
12043         generators.
12045 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
12047         [BZ #15479]
12048         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
12049         floating-point state after first floating-point operation on
12050         input.  Restore full floating-point state instead of just rounding
12051         mode.
12052         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12053         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12054         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12055         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12056         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12058         [BZ #15479]
12059         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12060         floating-point state after first floating-point operation on
12061         input.  Restore full floating-point state instead of just rounding
12062         mode.
12063         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12064         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12065         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12066         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12067         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12069 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12071         [BZ #19727]
12072         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12073         valid high surrogate.
12074         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12075         of an utf16 surrogate.
12076         * iconv/gconv_simple.c (BODY): Likewise.
12077         * iconvdata/bug-iconv12.c: New file.
12078         * iconvdata/Makefile (tests): Add bug-iconv12.
12080 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12082         [BZ #19726]
12083         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12084         outptrp in case of an illegal input.
12085         * iconv/tst-iconv6.c: New file.
12086         * iconv/Makefile (tests): Add tst-iconv6.
12088 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12090         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12091         an error in case of a value in range of an utf16 low surrogate.
12093 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12095         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12096         an error in case of a value in range of an utf16 low surrogate.
12098 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12100         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12101         Move to ...
12102         * sysdeps/s390/Makefile: ... here.
12103         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12104         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12105         (BRANCH_ON_COUNT): New define.
12106         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12107         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12108         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12109         run on s390-32, too.
12110         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12111         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12112         run on s390-32, too.
12113         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12114         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12115         run on s390-32, too.
12117 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12119         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12120         etf3eh or new vector loop-variant.
12122 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12124         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12125         etf3eh or new vector loop-variant.
12127 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12129         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12130         or new vector loop-variant.
12132 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12134         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12135         Rename to TR_LOOP and usage of tr instead of troo instruction.
12137 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12139         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12140         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12142 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12144         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12145         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12146         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12147         New override define.
12148         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12150 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12152         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12153         * sysdeps/s390/configure.ac: Add test for S390 vector register
12154         support in gcc.
12155         * sysdeps/s390/configure: Regenerated.
12157 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12159         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12160         Install file from $(objpfx)gconv-modules.
12161         ($(objpfx)gconv-modules): Concatenate architecture specific file
12162         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12163         * sysdeps/s390/gconv-modules: New file.
12164         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12165         Deleted.
12166         ($(objpfx)gconv-modules-s390): Deleted.
12167         (sysdeps-gconv-modules): New variable.
12169 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12171         [BZ #15479]
12172         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12173         of immediate operand to rounding instruction.
12174         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12175         Likewise.
12176         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12177         Likewise.
12178         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12179         Likewise.
12181 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12183         * math/libm-test.inc (MIN_EXP): Directly define as
12184         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12186 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12188         * math/libm-test.inc (MANT_DIG): Directly define as
12189         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12191 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12193         * stdlib/gen-tst-strtod-round.c (main):
12194           Change usage to more closely match the generated
12195           output.  Add usage and compilation instructions.
12196           (string_to_fp): Add and use FILE* parameter as
12197           output target.
12198           (print_fp): Likewise.
12199           (round_str): Likewise.
12200           (round_for_all): Likewise.
12201         * stdlib/tst-strtod-round.c (tests): Move into
12202         * stdlib/tst-strtod-round-data.h: New file.
12204 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12206         [BZ #15479]
12207         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12208         (__round): Do not force "inexact" exception.
12209         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12210         variable.
12211         (__round): Do not force "inexact" exception.
12212         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12213         (__roundf): Do not force "inexact" exception.
12214         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12215         (__roundl): Do not force "inexact" exception.
12216         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12217         (__roundl): Do not force "inexact" exception.
12218         * math/libm-test.inc (round_test_data): Do not allow spurious
12219         "inexact" exceptions.
12221         [BZ #15479]
12222         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12223         exception in comment.
12224         (huge): Remove variable.
12225         (__floor): Do not force "inexact" exception.
12226         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12227         "inexact" exception in comment.
12228         (huge): Remove variable.
12229         (__floor): Do not force "inexact" exception.
12230         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12231         exception in comment.
12232         (huge): Remove variable.
12233         (__floorf): Do not force "inexact" exception.
12234         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12235         exception in comment.
12236         (huge): Remove variable.
12237         (__floorl): Do not force "inexact" exception.
12239         [BZ #15479]
12240         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12241         exception in comment.
12242         (huge): Remove variable.
12243         (__ceil): Do not force "inexact" exception.
12244         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12245         "inexact" exception in comment.
12246         (huge): Remove variable.
12247         (__ceil): Do not force "inexact" exception.
12248         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12249         (__ceilf): Do not force "inexact" exception.
12250         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12251         exception in comment.
12252         (huge): Remove variable.
12253         (__ceill): Do not force "inexact" exception.
12255 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12257         * config.h.in (BIND_NOW): New.
12258         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12259         * configure: Regenerated.
12260         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12261         indirect branch via the GOT slot.
12263 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12265         [BZ #19765]
12266         * sysdeps/s390/mempcpy.S: New File.
12267         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12268         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12269         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12270         Add mempcpy variants.
12271         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12272         (memcpy): Adjust to be usable from mempcpy entry point.
12273         (__memcpy_mvcle): Likewise.
12274         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12275         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12276         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12277         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12278         (__memcpy_z10): Likewise.
12279         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12281 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12283         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12284         Remove __GI_ symbol.
12285         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12286         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12287         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12288         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12289         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12290         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12292 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12294         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12295         Use cghi instead of chi to compare 64bit value.
12297 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12299         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12300         Jump to 1MB check before executing mvc-loop.
12302 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12304         [BZ #6527]
12305         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12306         unconditionally.
12307         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12309 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12311         * stdlib/tst-strtod6.c (do_test): Use new type generic
12312         invocation of the test function.
12313         (test): Refactor into ...
12314         (TEST_STRTOD): New macro base function.
12316 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12318         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12319         (TEST_STRTOD): New macro.
12320         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12322 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12324         * stdlib/tst-strtod6.c (do_test): Use new type generic
12325         invocation of the test function.
12326         (test): Refactor into ...
12327         (TEST_STRTOD): New macro base function.
12329 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12331         CVE-2016-4429
12332         [BZ #20112]
12333         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12334         payload.
12336 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12338         [BZ #20111]
12339         * bits/sockaddr.h (_SS_SIZE): Define.
12340         * bits/socket.h (_SS_SIZE): Remove.
12341         (_SS_PADSIZE): Adjust to account for all padding.
12342         (struct sockaddr_storage): Update comment.  Avoid implicit
12343         padding.
12344         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12345         (_SS_PADSIZE): Adjust to account for all padding.
12346         (struct sockaddr_storage): Update comment.  Avoid implicit
12347         padding.
12348         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12349         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12350         (_SS_PADSIZE): Adjust to account for all padding.
12351         (struct sockaddr_storage): Update comment.  Avoid implicit
12352         padding.
12353         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12354         __SS_SIZE is 126 in this version.
12355         * inet/tst-sockaddr.c: New file.
12356         * inet/Makefile (tests): Add tst-sockaddr.c
12357         (tst-sockaddr.c): Compile with non-strict aliasing.
12359 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
12361         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12362         [XPG3 || XPG4].
12363         (NL_ARGMAX): Also expect for [XPG3].
12364         (NL_LANGMAX): Likewise.
12365         (NL_MSGMAX): Likewise.
12366         (NL_NMAX): Likewise.
12367         (NL_SETMAX): Likewise.
12368         (NL_TEXTMAX): Likewise.
12369         (NZERO): Likewise.
12370         (TMP_MAX): Likewise.
12371         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
12372         variable.
12374         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
12375         (PF_MAX): Update value.
12376         (AF_KCM): New macro.
12377         (SOL_NETBEUI): Likewise.
12378         (SOL_LLC): Likewise.
12379         (SOL_DCCP): Likewise.
12380         (SOL_NETLINK): Likewise.
12381         (SOL_TIPC): Likewise.
12382         (SOL_RXRPC): Likewise.
12383         (SOL_PPPOL2TP): Likewise.
12384         (SOL_BLUETOOTH): Likewise.
12385         (SOL_PNPIPE): Likewise.
12386         (SOL_RDS): Likewise.
12387         (SOL_IUCV): Likewise.
12388         (SOL_CAIF): Likewise.
12389         (SOL_ALG): Likewise.
12390         (SOL_NFC): Likewise.
12391         (SOL_KCM): Likewise.
12392         (MSG_BATCH): New enum value and macro.
12394 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
12396         [BZ #18185]
12397         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
12398         sharing L2 cache to 2 for Knights Landing.
12400 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
12402         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
12403         (FTW_DP): Do not expect for [XPG3 || XPG4].
12404         (FTW_SL): Do not expect for [XPG3].
12405         (FTW_SLN): Likewise.
12406         (FTW_PHYS): Likewise.
12407         (FTW_MOUNT): Likewise.
12408         (FTW_DEPTH): Likewise.
12409         (FTW_CHDIR): Likewise.
12410         (nftw): Likewise.
12411         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
12412         variable.
12414 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12416         * manual/errno.texi: Fix various typos & grammar errors.
12418 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12420         * manual/intro.texi: Fix duplicated typo.
12422 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12424         [BZ #13304]
12425         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
12426         <float.h>, <math_private.h> and <stdlib.h>.
12427         (add_split): New function.
12428         (mul_split): Likewise.
12429         (ext_val): New typedef.
12430         (store_ext_val): New function.
12431         (mul_ext_val): New function.
12432         (compare): New function.
12433         (add_split_ext): New function.
12434         (__fmal): After checking for Inf, NaN and zero, compute result as
12435         an exact sum of scaled double values in round-to-nearest before
12436         adding those up and adjusting for other rounding modes.
12437         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
12438         tests of fma.
12439         * math/auto-libm-test-out: Regenerated.
12441 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12443         [BZ #20119]
12444         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
12445         processor level type mask for CPUID with EAX == 11.
12447 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12449         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
12450         logical threads if the HTT bit is 0.
12451         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
12452         (index_cpu_HTT): Likewise.
12453         (reg_HTT): Likewise.
12455 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12457         [BZ #20115]
12458         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
12459         Remove alignments on jump targets.
12461 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12463         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
12464         (getpwent): Likewise.
12465         (setpwent): Likewise.
12466         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
12467         variable.
12469         * conform/data/search.h-data (insque): Do not expect for [XPG3].
12470         (remque): Likewise.
12471         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
12472         variable.
12474 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12476         * math/libm-test.inc: Update comment not to refer to signs of NaNs
12477         not being tested.
12479 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12481         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12482         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
12483         call.
12484         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12485         (__condvar_cleanup1): Likewise.
12487 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12489         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
12490         New
12491         (__pthread_unwind): Renamed to ...
12492         (PTHREAD_UNWIND): This.
12493         (__pthread_enable_asynccancel): Replace
12494         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
12496 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12498         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
12499         (CLONE_NEWCGROUP): New macro.
12501         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
12502         (Q_GETNEXTQUOTA): New macro.
12504 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12506         [BZ #19907]
12507         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
12508         buffer updated by the previous run.
12509         * string/test-memcpy.c (do_one_test): Likewise.
12510         * benchtests/bench-memmove.c (do_one_test): Add a comment.
12511         * string/test-memmove.c (do_one_test): Likewise.
12513 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
12515         [BZ #20094]
12516         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
12517         not [__USE_XOPEN].
12518         (unlockpt): Likewise.
12519         (ptsname): Likewise.
12520         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
12521         variable.
12523         [BZ #20076]
12524         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
12525         instead of [__USE_UNIX98].
12526         (S_ISSOCK): Likewise.
12527         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
12528         variable.
12530         [BZ #20074]
12531         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
12532         [__USE_POSIX].
12533         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
12534         variable.
12536         [BZ #20051]
12537         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
12538         (ttyslot): Do not declare.
12539         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
12540         (ttyslot): New prototype.
12541         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
12542         variable.
12543         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12545 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12547         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
12549 2016-05-13  Florian Weimer  <fweimer@redhat.com>
12551         Fix race condition in tst-mallocfork2, use fewer resources.
12552         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
12553         to current process group.
12554         (signal_sender): Yield in the non-sleeping case.
12556 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
12558         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
12559         (ecvt): Likewise.
12560         (fcvt): Likewise.
12561         (gcvt): Likewise.
12562         (getsubopt): Likewise.
12563         (grantpt): Likewise.
12564         (initstate): Likewise.
12565         (l64a): Likewise.
12566         (mktemp): Likewise.
12567         (mkstemp): Likewise.
12568         (ptsname): Likewise.
12569         (random): Likewise.
12570         (realpath): Likewise.
12571         (setstate): Likewise.
12572         (srandom): Likewise.
12573         (ttyslot): Likewise.
12574         (unlockpt): Likewise.
12575         (valloc): Likewise.
12577         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
12578         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
12579         variable.
12581 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12583         [BZ #20072]
12584         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
12585         init_cpu_features only if SHARED is defined.
12586         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
12588 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12590         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
12591         non-inclusive caches on Intel processors.
12593 2016-05-13  Florian Weimer  <fweimer@redhat.com>
12595         * malloc/malloc.c (dumped_main_arena_start)
12596         (dumped_main_arena_end): New variables.
12597         (DUMPED_MAIN_ARENA_CHUNK): New macro.
12598         (do_check_chunk): Skip dumped fake mmapped chunks.
12599         (munmap_chunk): Likewise.
12600         (__libc_free): Do not adjust statistics for fake mmapped chunks.
12601         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
12602         mmapped chunks.
12603         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
12604         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
12605         and dumped_main_arena_end to cover the dumped heap.
12607 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
12609         * conform/data/time.h-data (getdate_err): Do not expect for
12610         [XPG3].
12611         (getdate): Likewise.
12612         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
12613         variable.
12615         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
12616         (F_ULOCK): Likewise.
12617         (F_TEST): Likewise.
12618         (F_TLOCK): Likewise.
12619         (useconds_t): Likewise.
12620         (intptr_t): Do not expect for [XPG3] or [XPG4].
12621         (brk): Do not expect for [XPG3]
12622         (fchown): Likewise.
12623         (fchdir): Likewise.
12624         (ftruncate): Likewise.
12625         (getdtablesize): Likewise.
12626         (gethostid): Likewise.
12627         (getpagesize): Likewise.
12628         (getpgid): Likewise.
12629         (getsid): Likewise.
12630         (getwd): Likewise.
12631         (lchown): Likewise.
12632         (lockf): Likewise.
12633         (readlink): Likewise.
12634         (sbrk): Likewise.
12635         (setpgrp): Likewise.
12636         (setregid): Likewise.
12637         (setreuid): Likewise.
12638         (symlink): Likewise.
12639         (sync): Likewise.
12640         (truncate): Likewise.
12641         (ualarm): Likewise.
12642         (usleep): Likewise.
12643         (vfork): Likewise.
12644         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
12645         variable.
12647         [BZ #20054]
12648         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
12649         not [__USE_UNIX98].
12650         * conform/data/unistd.h-data (gethostname): Do not expect for
12651         [XPG3].
12653         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
12654         [!POSIX] (S_IFBLK): Likewise.
12655         [!POSIX] (S_IFCHR): Likewise.
12656         [!POSIX] (S_IFIFO): Likewise.
12657         [!POSIX] (S_IFREG): Likewise.
12658         [!POSIX] (S_IFDIR): Likewise.
12659         [!POSIX] (S_IFLNK): Likewise.
12660         [!POSIX] (S_IFSOCK): Likewise.
12661         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
12662         variable.
12663         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12665 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
12667         * sysdeps/aarch64/memset.S (__memset):
12668         Rewrite of optimized memset.
12670 2016-05-12  Florian Weimer  <fweimer@redhat.com>
12672         [BZ #19703]
12673         Partially async-signal-safe fork for single-threaded processes.
12674         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
12675         variable.  Do not acquire and reset/release malloc and libio locks
12676         in single-threaded processes.
12677         * malloc/tst-mallocfork2.c: New file.
12678         * malloc/Makefile (tests): Add it.
12680 2016-05-12  Florian Weimer  <fweimer@redhat.com>
12682         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
12683         argument.  Use scratch buffer instead of extend_alloca.
12684         (gethosts): Use scratch buffer instead of extend_alloca.
12685         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
12686         extend_alloca.
12687         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
12689 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
12691         [BZ #20055]
12692         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
12693         instead of [__USE_UNIX98].
12694         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
12695         [__USE_UNIX98].
12696         * conform/data/termios.h-data (tcgetsid): Do not expect for
12697         [XPG3].
12698         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
12699         variable.
12700         (test-xfail-XPG4/termios.h/conform): Likewise.
12702 2016-05-11  Florian Weimer  <fweimer@redhat.com>
12704         Do not use mcheck in localedef.
12705         * locale/programs/localedef.c (turn_on_mcheck)
12706         (__malloc_initialize_hook): Remove.
12708 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12710         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
12711         * sysdeps/s390/s390-64/Makefile: Likewise.
12713 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12715         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
12716         Remove ifunc-defines.sym.
12717         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
12718         Likewise.
12719         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
12720         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12721         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
12722         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
12723         rtld-global-offsets.sym.
12724         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
12725         * sysdeps/x86/cpu-features-offsets.sym: This.
12726         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
12727         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
12729 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
12731         [BZ #20073]
12732         * io/sys/stat.h (fchmod): Declare for
12733         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
12734         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
12735         variable.
12737         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
12738         [XPG3] (S_IFSOCK): Likewise.
12739         [XPG3] (S_ISVTX): Likewise.
12740         [XPG3] (S_ISLNK): Likewise.
12741         [XPG3] (S_ISSOCK): Likewise.
12742         [XPG3] (fchmod): Likewise.
12743         [XPG3] (lstat): Likewise.
12744         [XPG3] (mknod): Likewise.
12746         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
12747         [XPG3].  Expect type long and XFAIL for [XPG4].
12748         (st_blocks): Likewise.
12750         [BZ #20044]
12751         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
12752         (pthread_atfork): New prototype.
12753         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
12754         variable.
12756         [BZ #20043]
12757         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
12758         prototype.
12760 2016-05-10  Florian Weimer  <fweimer@redhat.com>
12762         [BZ #20017]
12763         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
12764         gmtime.
12766 2016-05-10  Florian Weimer  <fweimer@redhat.com>
12768         [BZ #19994]
12769         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
12770         flag in _res.options.
12772 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
12774         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
12775         [XPG3 || XPG4].
12776         (blksize_t): Likewise.
12777         (clockid_t): Likewise.
12778         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
12779         variable.
12780         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12782 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12784         * sysdeps/unix/sysv/linux/s390/init-first.c:
12785         Add VDSO_SYMBOL(getcpu).
12786         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
12787         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
12788         Add VDSO_SYMBOL(getcpu).
12789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
12790         New define HAVE_GETCPU_VSYSCALL.
12791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12793 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
12795         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
12796         instead of <sysdeps/x86_64/cacheinfo.c>.
12797         * sysdeps/x86_64/cacheinfo.c: Moved to ...
12798         * sysdeps/x86/cacheinfo.c: Here.
12800 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12802         * malloc/malloc-internal.h: Adjust header file guard.
12804 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12806         [BZ #19787]
12807         * inet/getnameinfo.c (check_sprintf_result): New function.
12808         (CHECKED_SNPRINTF): New macro.
12809         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
12810         to the host buffer.
12811         (gni_host_local): Use checked_copy to copy the host name.
12812         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
12813         (gni_serv_local): Use checked_copy to copy the service name.
12814         (getnameinfo): Remove unnecessary truncation of result buffers.
12816 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12818         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
12819         in case of inet_ntop failure.
12821 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12823         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
12824         avoid long lines.
12825         (gni_host_inet_numeric): Likewise.  Reduce scope of local
12826         variables.
12827         (gni_host_inet, gni_host_local): Add comment.
12828         (gni_host): Add comment.  Use temporary to avoid long lines.
12830 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12832         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
12833         registers specifiers where general purpose registers specifiers should
12834         have been used.
12836 2016-05-04  Florian Weimer  <fweimer@redhat.com>
12838         [BZ #19779]
12839         CVE-2016-1234
12840         Avoid copying names of directory entries.
12841         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
12842         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
12843         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
12844         (struct readdir_result): New type.
12845         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
12846         (GL_READDIR): New macros.
12847         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
12848         (convert_dirent, convert_dirent64): New functions.
12849         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
12850         convert_dirent64.  Adjust references to the readdir result.
12851         * sysdeps/unix/sysv/linux/i386/glob64.c:
12852         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
12853         * posix/bug-glob2.c (LONG_NAME): Define.
12854         (filesystem): Add LONG_NAME.
12855         (my_DIR): Increase the size of room_for_dirent.
12857 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
12859         [BZ #20041]
12860         * misc/sys/select.h (__need_timespec): Only define if
12861         [__USE_XOPEN2K].
12862         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
12863         variable.
12864         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12865         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12866         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12868 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12869             Segher Boessenkool  <segher@gcc.gnu.org>
12871         [BZ #20004]
12872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
12873         (__novec_swapcontext): Add missing load.
12875 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
12877         [BZ #20023]
12878         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
12879         <time.h>.
12880         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
12881         variable.
12882         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12884 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
12887         flags CLONE_VM compare.
12889 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12891         [BZ #20031]
12892         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
12893         completely empty.
12895 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12897         [BZ #19573]
12898         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
12899         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
12900         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
12901         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
12902         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
12903         (hesiod_free_list): Mark as hidden.
12904         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
12905         res_set, res_get.
12906         * hesiod/hesiod.c: Remove unnecessary forward declarations.
12907         (init, __hesiod_res_get, __hesiod_res_set): Remove.
12908         (hesiod_init): Remove obsolete res_ninit call.
12909         (hesiod_end): Do not free resolver state.  Do not invoke callback.
12910         (hesiod_bind): Do not call init.
12911         (get_txt_records): Use res_mkquery, res_send instead of
12912         res_nmkquery, res_nsend.
12913         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
12914         instead of _nss_hesiod_init.
12915         (_nss_hesiod_initgroups_dyn): Likewise.
12916         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
12917         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
12918         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
12920 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12922         * hesiod/hesiod_p.h (DEF_RHS): Remove.
12923         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
12925 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12927         * hesiod/hesiod.h: Remove RCS keyword.
12928         * hesiod/hesiod_p.h: Likewise.
12930         * hesiod/hesiod.c: Likewise.
12932 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
12934         [BZ #12450]
12935         * locale/iso-639.def: Add Samogitian/sgs.
12937 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
12939         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
12941         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
12943 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
12944             Carlos O'Donell  <carlos@redhat.com>
12946         [BZ #19072]
12947         * grp/Makefile (headers): Add grp-merge.h
12948         (routines): Add grp-merge.
12949         * grp/getgrgid_r.c: Include grp-merge.h.
12950         (DEEPCOPY_FN): Define.
12951         (MERGE_FN): Define.
12952         * grp/getgrname_r.c: Include grp-merge.h.
12953         (DEEPCOPY_FN): Define.
12954         (MERGE_FN): Define.
12955         * grp/grp-merge.c: New file.
12956         * grp/grp-merge.h: New file.
12957         * include/grp-merge.h: New file.
12958         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
12959         __copy_grp@GLIBC_PRIVATE.
12960         * manual/nss.texi (Actions in the NSS configuration): Describe
12961         return, continue, and merge.
12962         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
12963         (DEEPCOPY_FN): Define.
12964         (MERGE_FN): Define.
12965         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
12966         (DEEPCOPY_FN): Define.
12967         (MERGE_FN): Define.
12968         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
12969         [!MERGE_FN]: Define __merge_einval.
12970         (CHECK_MERGE): Define.
12971         (REENTRANT_NAME): Process merge if do_merge is true.
12972         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
12973         (__nss_getent_r): Likewise.
12974         * nss/nsswitch.c (nss_parse_service_list): Likewise.
12975         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
12977 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12979         [BZ #20012]
12980         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
12981         length to calculate the buffer to read.
12982         (fmemopen_write): Set the buffer position based on bytes written.
12983         (fmemopen_seek): Return EINVAL for invalid whence modes.
12985         [BZ #19957]
12986         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
12987         tst-getpid2.
12988         (test): Add tst-clone2.
12989         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
12990         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
12991         pid/tid fields for CLONE_VM.
12992         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12993         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12994         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12995         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
12996         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12997         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12998         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12999         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13001         Likewise.
13002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13003         Likewise.
13004         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13005         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13006         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13007         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13008         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13009         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13010         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13011         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
13013 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13015         [BZ #19642]
13016         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
13017         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
13018         (gni_serv_local, gni_serv): New functions extracted from
13019         getnameinfo.
13020         (getnameinfo): Call gni_host and gni_serv to perform the
13021         processing.  Always free scratch buffer.
13023 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13025         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
13026         remaining bytes in the dest string, with zeros.
13028 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13030         [BZ #20010]
13031         CVE-2016-3706
13032         * sysdeps/posix/getaddrinfo.c
13033         (convert_hostent_to_gaih_addrtuple): New function.
13034         (gethosts): Call convert_hostent_to_gaih_addrtuple.
13035         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
13036         AF_INET data.
13038 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13040         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
13041         callback function gl_readdir.
13042         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
13043         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
13044         (glob_in_dir): Remove len.  Use strdup instead of malloc and
13045         memcpy to copy the name.
13046         * manual/pattern.texi (Calling Glob): Document requirements for
13047         implementations of the gl_readdir callback function.
13048         * manual/examples/mkdirent.c: New example.
13049         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13050         per the manual guidance.
13051         * posix/tst-gnuglob.c (my_readdir): Likewise.
13053 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
13055         [BZ #20014]
13056         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13057         not [__USE_POSIX].
13058         (getchar_unlocked): Likewise.
13059         (putc_unlocked): Likewise.
13060         (putchar_unlocked): Likewise.
13061         (flockfile): Likewise.
13062         (ftrylockfile): Likewise.
13063         (funlockfile): Likewise.
13064         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13065         variable.
13066         (test-xfail-XPG4/stdio.h/conform): Likewise.
13068         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13069         Expect constant.
13070         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13071         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13072         variable.
13073         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13074         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13076         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13077         [__USE_LARGEFILE64] (off64_t): Likewise.
13078         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13079         variable.
13081 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13083         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13085 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13087         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13088         * resolv/res_init.c: Likewise.
13089         * resolv/res_mkquery.c: Likewise.
13091 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13093         * resolv/res_init.c (isascii): Do not define.  Use definition in
13094         <ctype.h>.
13095         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13096         (LOG_AUTH): Remove.
13097         (SPRINTF): Remove, adjust caller.
13098         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13100 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13102         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13103         SUNSECURITY conditional.
13104         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13106 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13108         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13109         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13110         Remove BSD-related preprocessor conditionals.
13111         * conf/portability.h: Remove.
13113 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13115         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13116         * resolv/res_data.c: Likewise.
13118 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13120         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13121         * resolv/res_data.c: Remove code conditional on ultrix.
13123 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13125         * resolv/res_init.c (RFC1535): Do not define.  Remove
13126         RFC1535 preprocessor conditionals.
13127         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13128         because there configuration options which make the resolver
13129         behavior different.
13131 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13133         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13134         RESOLVSORT preprocessor conditionals.
13135         * resolv/nss_dns/dns-host.c: Likewise.
13136         * resolv/res_init.c: Likewise.
13138 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13140         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13141         is never defined.
13143 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13145         * inet/inet_lnaof.c: Remove SCSS keyword.
13146         * inet/inet_mkadr.c: Likewise.
13147         * inet/inet_net.c: Likewise.
13148         * inet/inet_netof.c: Likewise.
13149         * inet/rcmd.c: Likewise.
13150         * inet/rexec.c: Likewise.
13151         * inet/ruserpass.c: Likewise.
13153 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13155         * resolv/inet_addr.c: Remove _LIBC conditionals.
13156         * resolv/res_data.c: Likewise.
13157         * resolv/res_init.c: Likewise.
13158         * resolv/res_mkquery.c: Likewise.
13159         * resolv/res_libc.c: Update comment.
13160         * resolv/README: Update.
13162 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13164         * resolv/gethnamaddr.c: Remove SCSS keyword.
13165         * resolv/herror.c: Likewise.
13166         * resolv/inet_addr.c: Likewise.
13167         * resolv/inet_net_ntop.c: Likewise.
13168         * resolv/inet_net_pton.c: Likewise.
13169         * resolv/inet_neta.c: Likewise.
13170         * resolv/inet_ntop.c: Likewise.
13171         * resolv/inet_pton.c: Likewise.
13172         * resolv/ns_date.c: Remove RCS keyword.
13173         * resolv/ns_name.c: Likewise.
13174         * resolv/ns_netint.c: Likewise.
13175         * resolv/ns_parse.c: Likewise.
13176         * resolv/ns_print.c: Likewise.
13177         * resolv/ns_samedomain.c: Likewise.
13178         * resolv/ns_ttl.c: Likewise.
13179         * resolv/nsap_addr.c: Likewise.
13180         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13181         * resolv/res_data.c: Remove RCS keyword.
13182         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13183         * resolv/res_init.c: Likewise.
13184         * resolv/res_mkquery.c: Likewise.
13185         * resolv/res_query.c: Likewise.
13186         * resolv/res_send.c: Likewise.
13188 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13190         * conform/data/stdio.h-data (fdopen): Expect also for
13191         [XPG3 || XPG4].
13193         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13194         (fseeko): Likewise.
13195         (ftello): Likewise.
13196         (ftrylockfile): Likewise.
13197         (funlockfile): Likewise.
13198         (getc_unlocked): Likewise.
13199         (getchar_unlocked): Likewise.
13200         (putc_unlocked): Likewise.
13201         (putchar_unlocked): Likewise.
13203 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13205         [BZ #19868]
13206         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13207         DNS packet syntax checks (which were not needed before).  Skip
13208         over non-PTR records.
13210 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13212         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13213         definition.  Include <stddef.h> instead.
13215 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13217         [BZ #19831]
13218         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13219         function.
13220         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13221         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13223 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13225         [BZ #19862]
13226         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13227         (getanswer_r): Do not call syslog.
13228         (gaih_getanswer_slice): Likewise.
13229         * resolv/gethnamaddr.c (AskedForGot): Remove.
13230         (getanswer): Do not call syslog.
13231         (gethostbyaddr): Likewise.
13233 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13235         * conform/data/signal.h-data (union sigval): Expect also if
13236         [XOPEN2K].
13237         (struct sigevent): Likewise.
13238         (SIGEV_NONE): Likewise.
13239         (SIGEV_SIGNAL): Likewise.
13240         (SIGEV_THREAD): Likewise.
13241         (SIGRTMIN): Likewise.
13242         (SIGRTMAX): Likewise.
13243         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13244         variable.
13245         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13247 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13249         [BZ #19830]
13250         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13251         (gaih_getanswer_slice): Likewise.
13252         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13253         Also check for availability of RR metadata.
13255 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13257         [BZ #19825]
13258         * resolv/res_send.c (send_vc): Remove early *resplen2
13259         initialization.  Set *resplen2 on socket error.  Call
13260         close_and_return_error for other errors.
13262 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13264         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13265         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13266         (SCM_IUCV_TRGCLS): New define.
13268 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13270         [BZ #20005]
13271         * libio/fmemopen.c (fmemopen_write): Update internal position after
13272         write.
13273         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13274         * stdio-common/tst-fmemopen4.c: New file..
13276 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13278         [BZ #19996]
13279         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13280         not [__USE_XOPEN2K].
13281         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13282         variable.
13284         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13285         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13286         variable.
13288         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13289         [__USE_XOPEN2K8].
13290         [__USE_LARGEFILE64] (off64_t): Likewise.
13291         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13292         variable.
13294 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13296         [BZ #19989]
13297         * libio/stdio.h (cuserid): Do not declare if
13298         [__USE_XOPEN2K && !__USE_GNU].
13299         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13300         variable.
13302 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13304         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13305         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13307         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13308         ifunc'ed strcspn.
13309         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13310         [EALIGN]: Removed.
13311         [END]: Likewise
13312         [STRSPN]: Define instead of the above to control symbol name.
13313         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13314         New file.
13315         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13316         Likewise.
13317         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13318         Likewise.
13319         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13320         Likewise.
13321         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13322         [INITIAL_MASK]: New macro.
13323         [STRCSPN]: Likewise.
13324         [UPDATE_MASK]: Likewise.
13325         [USE_AS_STRCSPN]: Likewise.
13327 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13329         [BZ #19931]
13330         * stdio-common/tst-vfprintf-width-prec.c: New file.
13331         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13332         (tests-special): Add tst-vfprintf-width-prec-mem.out.
13333         (generated): Add mtrace-related files.
13334         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13335         (tst-%-mem.out): New pattern rule, replaces
13336         tst-printf-bz18872-mem.out.
13337         * stdio-common/vfprintf.c (vfprintf): When handling a precision
13338         specifier, deallocate any previously allocated work buffer.
13340 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13342         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13343         Add nop before __startcontext, add explaining comments.
13345 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
13347         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13348         any more. Notably since IPV6_PKTINFO has been reintroduced with a
13349         completely different API.
13351         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13352         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13353         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13354         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13355         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13356         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13357         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13358         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13359         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13360         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13362 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
13364         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
13366 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
13368         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
13369         when it is the default of 0.
13371 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13373         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
13374         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13375         (sysdep_routines): Add new strcasestr targets.
13376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13377         (__libc_ifunc_impl_list): Likewise.
13378         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
13379         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
13380         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
13381         * sysdeps/powerpc/powerpc64/power8/Makefile:
13382         New file to add strcasestr-ppc64 to sysdep_routines.
13383         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
13384         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
13386 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
13388         * benchtests/Makefile (wcsmbs-benchset): Include only for
13389         native builds and runs.
13390         (LOCALES): Likewise.
13391         (bench-build): Build timing-type here instead of the bench
13392         target.  Generate locale only for native builds.
13393         * benchtests/README: Add note for cross-building.
13395         * benchtests/Makefile (bench-clean): Clean up extra-objs.
13397         * benchtests/README: Update README to include instructions on
13398         using bench-build.
13400         * Makefile.in (bench-build): New target.
13401         * Rules (PHONY): Add bench-build target.
13402         * benchtests/Makefile (bench): Depend on bench-build.
13403         (bench-build): New target.
13405 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13407         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
13408         profil_reply_port.
13409         (profile_waiter): Do not initialize profil_reply_port.
13410         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
13411         frequency instead of tick length in us.
13413 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
13415         [BZ #18712]
13416         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
13417         (__old_mempcpy_small): Likewise.
13418         (__old_strcpy_small): Likewise.
13419         (__old_stpcpy_small): Likewise.
13420         (__old_strpbrk_c2): Fix compat symbol name.
13421         (__old_strpbrk_c3): Likewise.
13422         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
13423         (__mempcpy_small): Remove.
13424         (__strcpy_small): Remove.
13425         (__stpcpy_small): Remove.
13427 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
13429         [BZ #19400]
13430         * locale/iso-639.def: Add the Talossan/tzl language.
13432 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13434         [BZ #16983]
13435         * locale/programs/ld-address.c (address_finish): Update postal_fmt
13436         comment.  Add "ln" to strchr check on postal_fmt.
13438 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13440         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
13441         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
13442         tel_dom_fmt.
13444 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13446         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13447         (sysdep_routines): Added __strlen_power8.
13448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
13449         __strlen_power8 entry.
13450         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
13451         Implementation for POWER8.
13452         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
13453         for __strlen_power8.
13454         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
13455         Implementation for POWER8.
13457 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
13459         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
13461 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
13463         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
13464         Goldmont and Airmont processors.
13466 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
13468         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
13469         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
13470         (__STRING2_SMALL_GET32): Remove.
13471         (memset): Remove.
13472         (__memset_1): Remove.
13473         (__memset_gc): Remove.
13474         (__mempcpy): Remove.
13475         (mempcpy): Remove.
13476         (__mempcpy_args): Remove.
13477         (strchr): Remove.
13478         (strcpy): Remove.
13479         (strcpy_args): Remove.
13480         (__stpcpy_args): Remove.
13481         (__strcmp_cc): Remove.
13482         (__strcmp_gc): Remove.
13483         (strstr): Remove.
13485 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
13487         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
13488         * nis/nis_call.c (nis_server_cache_add): Likewise.
13490 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13492         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
13494 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13496         * malloc/arena.c (__malloc_fork_lock_parent)
13497         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
13498         internal_function attribute.
13500 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
13502         * stdio-common/printf_fp.c (__printf_fp_l):
13503         Rename ___printf_fp_l to __printf_fp_l and
13504         remove strong alias. Use libc_hidden_def instead
13505         of ldbl_hidden_def macro.
13507 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13509         Remove malloc hooks from fork handler.  They are no longer needed
13510         because malloc runs right before fork, and no malloc calls from
13511         other fork handlers are not possible anymore.
13512         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
13513         declarations.
13514         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
13515         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
13516         (atfork_recursive_cntr): Remove.
13517         (__malloc_fork_lock_parent): Do not override malloc hooks and
13518         thread_arena.
13519         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
13520         thread_arena.
13521         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
13522         thread_arena instead of save_arena.
13524 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13526         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
13527         (thread_atfork, thread_atfork_static): Remove.
13528         * sysdeps/mach/hurd/malloc-machine.h:
13529         (thread_atfork, thread_atfork_static): Remove.
13531 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13533         [BZ #19431]
13534         Run the malloc fork handler as late as possible to avoid deadlocks.
13535         * malloc/malloc-internal.h: New file.
13536         * malloc/malloc.c: Include it.
13537         * malloc/arena.c (ATFORK_MEM): Remove.
13538         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
13539         Update comment.
13540         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
13541         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
13542         Remove outdated comment.
13543         (ptmalloc_init): Do not call thread_atfork.  Remove
13544         thread_atfork_static.
13545         * malloc/tst-malloc-fork-deadlock.c: New file.
13546         * Makefile (tests): Add tst-malloc-fork-deadlock.
13547         (tst-malloc-fork-deadlock): Link against libpthread.
13548         * manual/memory.texi (Aligned Memory Blocks): Update safety
13549         annotation comments.
13550         * sysdeps/nptl/fork.c (__libc_fork): Call
13551         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13552         __malloc_fork_unlock_child.
13553         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
13555 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13557         [BZ #19613]
13558         Remove union wait.
13559         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
13560         (w_stopsig, w_stopval): Remove.
13561         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
13562         stat_loc argument.
13563         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
13564         (__WAIT_STATUS_DEFN): Remove.
13565         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13566         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
13567         (wait, wait3, wait4): Use int * for the stat_loc argument.
13568         * posix/wait.c (__wait): Likewise.
13569         * posix/wait3.c (__wait3): Likewise.
13570         * posix/wait4.c (__wait4): Likewise.
13571         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
13572         (__WAIT_STATUS_DEFN): Remove.
13573         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13574         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
13575         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
13576         argument.
13577         * sysdeps/posix/wait.c (__libc_wait): Likewise.
13578         * sysdeps/posix/wait3.c (__wait3): Likewise.
13579         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
13580         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13581         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
13582         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
13583         stat_loc argument.
13584         * manual/process.texi (BSD Wait Functions): Remove union wait.
13586 2016-04-13  Andreas Schwab  <schwab@suse.de>
13588         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
13589         (test-extras): Add tst-tlsalign-vars.
13590         * math/Makefile: Wrap long lines.
13591         (libm-vec-test-wrappers): Define.
13592         (test-extras): Add $(libm-vec-test-wrappers).
13593         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
13594         * nss/Makefile (extra-test-objs): Add nss_test1.os.
13595         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
13596         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
13597         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
13598         (extra-test-objs): Add corresponding objects.
13600 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
13602         [BZ #19928]
13603         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
13604         New.
13605         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
13606         times of shared cache size.
13607         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
13608         (VMOVNT): New.
13609         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
13610         (VMOVNT): Likewise.
13611         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
13612         (VMOVNT): Likewise.
13613         (VMOVU): Changed to movups for smaller code sizes.
13614         (VMOVA): Changed to movaps for smaller code sizes.
13615         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
13616         comments.
13617         (PREFETCH): New.
13618         (PREFETCH_SIZE): Likewise.
13619         (PREFETCHED_LOAD_SIZE): Likewise.
13620         (PREFETCH_ONE_SET): Likewise.
13621         Rewrite to use forward and backward loops, which move 4 vector
13622         registers at a time, to support overlapping addresses and use
13623         non temporal store if size is above the threshold and there is
13624         no overlap between destination and source.
13626 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
13628         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
13629         Include dl-vdso.
13630         * sysdeps/unix/sysv/linux/mips/Versions: Add
13631         __vdso_clock_gettime.
13632         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
13633         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
13634         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
13635         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
13636         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
13637         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
13638         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13639         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13640         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13642 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13644         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
13645         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
13646         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13648         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13649         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13652         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
13653         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
13654         syscalls generation.
13655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13656         [__NR_pwrite64] (__NR_write): Remove define.
13657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13658         [__NR_pwrite64] (__NR_write): Remove define.
13659         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
13660         Remove define.
13661         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
13662         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
13663         Remove define.
13664         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
13665         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
13666         Linux implementation as base.
13667         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13669         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
13670         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
13671         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13672         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
13674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13675         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
13676         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
13677         syscall generation.
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13679         [__NR_pread64] (__NR_pread): Remove define.
13680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13681         [__NR_pread64] (__NR_pread): Likewise.
13682         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
13683         define.
13684         (__libc_pread): Use SYSCALL_LL macro on offset argument.
13685         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
13686         Remove define.
13687         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
13688         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
13689         Linux implementation as base.
13690         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13691         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13692         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13694         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
13695         definition.
13696         (__ALIGNMENT_COUNT): Likewise.
13697         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
13698         (__ALIGNMENT_COUNT): Likewise.
13699         (SYSCALL_LL): New define.
13700         (SYSCALL_LL64): Likewise.
13701         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
13702         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
13703         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
13704         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
13706         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13707         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
13708         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13709         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
13710         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13711         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
13713 2016-04-11  Florian Weimer  <fweimer@redhat.com>
13715         [BZ #19865]
13716         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
13717         original buffer before retry.
13719 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13721         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
13722         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
13723         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
13724         GLRO(dl_auxv) list.
13725         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
13726         including <ldsodefs.h>.
13727         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
13729 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
13731         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
13732         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
13733         $(CPPFLAGS).
13735 2016-04-09  Khem Raj  <raj.khem@gmail.com>
13737         [BZ #17950]
13738         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
13739         Add -mfpmath=387.
13741 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
13743         * sysdeps/i386/configure.ac: Change == to = when calling test.
13744         * sysdeps/x86_64/configure.ac: Likewise.
13745         * sysdeps/i386/configure: Regenerated.
13746         * sysdeps/x86_64/configure: Likewise.
13748 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
13750         [BZ #16137]
13751         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
13752         * benchtests/bench-strcoll.c (input_files): Likewise.
13753         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13754         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
13755         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
13757 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
13759         [BZ #19929]
13760         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
13761         [__USE_XOPEN2K8 && !__USE_GNU].
13762         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
13763         variable.
13765         [BZ #19925]
13766         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
13767         define if [!__USE_MISC && __USE_XOPEN2K].
13768         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
13769         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
13770         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
13771         Likewise.
13772         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
13773         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
13774         variable.
13775         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13777 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13779         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13780         (sysdep_routines): Add new strspn targets.
13781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13782         (__libc_ifunc_impl_list): Add strspn.
13783         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13784         New file.
13785         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
13786         Likewise.
13787         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
13788         Likewise.
13789         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13790         Likewise.
13792 2016-04-07  Florian Weimer  <fweimer@redhat.com>
13794         * misc/hsearch_r.c: Include <limits.h>.
13796 2016-04-07  Florian Weimer  <fweimer@redhat.com>
13798         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
13800 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
13802         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13803         (MEMCPY_SYMBOL): New.
13804         (MEMPCPY_SYMBOL): Likewise.
13805         (MEMMOVE_CHK_SYMBOL): Likewise.
13806         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
13807         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
13808         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
13809         Provide alias for memcpy in libc.a and ld.so.
13811 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
13813         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13814         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
13815         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
13816         Disabled fro now.
13817         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
13818         symbols.  Properly check USE_MULTIARCH on __memset symbols.
13820 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
13822         * benchtests/Makefile (string-benchset): Add memcpy-large,
13823         memmove-large and memset-large.
13824         * benchtests/bench-memcpy-large.c: New file.
13825         * benchtests/bench-memmove-large.c: Likewise.
13826         * benchtests/bench-memmove-large.c: Likewise.
13827         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
13829 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
13831         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
13832         32-bit displacement to avoid long nop between instructions.
13834 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
13836         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
13837         a comment on VMOVU and VMOVA.
13839 2016-04-04  Florian Weimer  <fweimer@redhat.com>
13841         [BZ #19633]
13842         Use specified locale for number formatting in strfmon_l.
13843         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
13844         (__nl_lookup_word): New inline functions.
13845         * include/printf.h (__print_fp_l): Declare.
13846         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
13847         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
13848         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
13849         (___printf_fp): New function.
13850         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
13851         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
13852         * stdlib/tst-strfmon_l.c (do_test): New test.
13853         * stdlib/Makefile (tests): Add kt.
13854         (LOCALES): Build additional locales.
13855         (tst-strfmon_l.out): Require locales.
13857 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
13859         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
13860         if not in libc.
13861         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13862         Likewise.
13863         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
13864         Likewise.
13865         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13866         Likewise.
13868 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
13870         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
13871         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
13872         with unaligned_erms.
13873         (__memmove_erms): Skip if source == destination.
13874         (__memmove_unaligned_erms): Don't check source == destination
13875         first.
13877 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13879         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
13880         bit_arch_Fast_Copy_Backward for Intel Core proessors.
13882 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13884         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
13885         * string/strspn.c (strspn): Likewise.
13887 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13889         * benchtests/bench-memset.c (do_test): Support 64-byte
13890         alignment.
13891         (test_main): Test 64-byte alignment.
13893 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13895         * benchtests/bench-memmove.c (test_main): Test 64-byte
13896         alignment.
13898 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13900         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
13902 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13904         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
13905         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
13906         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
13908         * string/strpbrk.c (strpbrk): Rewrite function.
13909         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
13910         (__strpbrk_c2): Likewise.
13911         (__strpbrk_c3): Likewise.
13912         * string/string-inlines.c
13913         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
13914         Likewise.
13915         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
13916         Likewise.
13918         * string/strspn.c (strcspn): Rewrite function.
13919         * string/bits/string2.h (strspn): Use __builtin_strcspn.
13920         (__strspn_c1): Remove inline function.
13921         (__strspn_c2): Likewise.
13922         (__strspn_c3): Likewise.
13923         * string/string-inlines.c
13924         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
13925         compatibility symbol.
13926         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
13927         Likewise.
13928         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
13929         Likewise.
13930         * string/string-inlines.c: Include generic version.
13932 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
13933             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13935         * string/Version (libc): Add GLIBC_2.24.
13936         * string/strcspn.c (strcspn): Rewrite function.
13937         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
13938         (__strcspn_c1): Remove inline function.
13939         (__strcspn_c2): Likewise.
13940         (__strcspn_c3): Likewise.
13941         * string/string-inline.c
13942         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
13943         compatibility symbol.
13944         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
13945         Likewise.
13946         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
13947         Likewise.
13948         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
13950 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13952         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13953         Use ahi instead of aghi to adjust stack pointer.
13955 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13957         [BZ #19853]
13958         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
13959         TEST to take significant digits as second parameter.
13960         [TEST]: Redefine in terms of TEST_N taking 30
13961         significant digits.
13962         (do_test): Add test case to demonstrate precision
13963         failure in the ldbl-128ibm printf.
13964         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
13965         (__mpn_extract_long_double): Carry 7 extra intermediate
13966         bits of precision to aide computing difference when
13967         signs differ.
13969 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
13971         [BZ #19881]
13972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13973         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
13974         memset-avx512-unaligned-erms.
13975         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13976         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
13977         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
13978         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
13979         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
13980         __memset_sse2_unaligned_erms, __memset_erms,
13981         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
13982         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13983         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
13984         file.
13985         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13986         Likewise.
13987         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
13988         Likewise.
13989         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
13990         Likewise.
13992 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
13994         [BZ #19776]
13995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13996         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
13997         memmove-avx512-unaligned-erms.
13998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13999         (__libc_ifunc_impl_list): Test
14000         __memmove_chk_avx512_unaligned_2,
14001         __memmove_chk_avx512_unaligned_erms,
14002         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
14003         __memmove_chk_sse2_unaligned_2,
14004         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
14005         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
14006         __memmove_avx512_unaligned_erms, __memmove_erms,
14007         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
14008         __memcpy_chk_avx512_unaligned_2,
14009         __memcpy_chk_avx512_unaligned_erms,
14010         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
14011         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
14012         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
14013         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
14014         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
14015         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
14016         __mempcpy_chk_avx512_unaligned_erms,
14017         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
14018         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
14019         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
14020         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
14021         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
14022         __mempcpy_erms.
14023         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
14024         file.
14025         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14026         Likewise.
14027         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14028         Likewise.
14029         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14030         Likewise.
14032 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14034         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
14035         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
14036         (La_s390_64_regs): Likewise.
14037         (La_s390_32_retval): Append vector register lrv_v24.
14038         (La_s390_64_retval): Likeweise.
14039         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14040         Handle extended structs La_s390_32_regs and La_s390_32_retval.
14041         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14042         Handle extended structs La_s390_64_regs and La_s390_64_retval.
14044 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14046         [BZ #19916]
14047         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
14048         to create a non-vector/vector version for _dl_runtime_resolve and
14049         _dl_runtime_profile. Move implementation to ...
14050         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14051         (_dl_runtime_resolve) Save and restore fpr/vrs.
14052         (_dl_runtime_profile) Save and restore vrs and fix some issues
14053         if _dl_call_pltexit is called.
14054         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14055         Choose the correct resolver function if running on a machine with vx.
14056         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14057         to create a non-vector/vector version for _dl_runtime_resolve and
14058         _dl_runtime_profile. Move implementation to ...
14059         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14060         (_dl_runtime_resolve) Save and restore fpr/vrs.
14061         (_dl_runtime_profile) Save and restore vrs and fix some issues
14062         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14063         Choose the correct resolver function if running on a machine with vx.
14065 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14067         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14069 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14071         [BZ #19509]
14072         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14073         skip_map != NULL.
14074         * elf/tst-dlsym-error.c: New file.
14075         * elf/Makefile (tests): Add tst-dlsym-error.
14076         (tst-dlsym-error): Link against libdl.
14078 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14080         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14081         (__ASSUME_FUTIMESAT): Remove macro.
14082         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14084 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14086         [BZ #19879]
14087         CVE-2016-3075
14088         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14089         copy name.
14091 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14093         [BZ #19837]
14094         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14095         error if parse_line fails.
14097 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14099         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14100         (index_cpu_ERMS): Likewise.
14101         (reg_ERMS): Likewise.
14103 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14105         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14106         PER_LINUX_FDPIC): Add.
14108 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14111         memcpy-avx512-no-vzeroupper.
14112         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14113         to ...
14114         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14115         (MEMCPY): Don't define.
14116         (MEMCPY_CHK): Likewise.
14117         (MEMPCPY): Likewise.
14118         (MEMPCPY_CHK): Likewise.
14119         (MEMPCPY_CHK): Renamed to ...
14120         (__mempcpy_chk_avx512_no_vzeroupper): This.
14121         (MEMPCPY_CHK): Renamed to ...
14122         (__mempcpy_chk_avx512_no_vzeroupper): This.
14123         (MEMCPY_CHK): Renamed to ...
14124         (__memmove_chk_avx512_no_vzeroupper): This.
14125         (MEMCPY): Renamed to ...
14126         (__memmove_avx512_no_vzeroupper): This.
14127         (__memcpy_avx512_no_vzeroupper): New alias.
14128         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14130 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14132         [BZ #18858]
14133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14134         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14135         and mempcpy-avx512-no-vzeroupper.
14136         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14137         New.
14138         (MEMPCPY): Likewise.
14139         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14140         (MEMPCPY_CHK): New.
14141         (MEMPCPY): Likewise.
14142         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14143         (MEMPCPY): Likewise.
14144         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14145         (MEMPCPY): Likewise.
14146         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14147         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14148         Likewise.
14149         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14150         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14152 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14153              Amit Pawar  <Amit.Pawar@amd.com>
14155         [BZ #19583]
14156         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14157         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14158         processors.  Set Fast_Copy_Backward for AMD Excavator
14159         processors.
14160         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14161         New.
14162         (index_arch_Fast_Unaligned_Copy): Likewise.
14163         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14164         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14166 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14168         [BZ #19791]
14169         * resolv/res_send.c (close_and_return_error): New function.
14170         (send_dg): Initialize *resplen2 after reopen failure.  Call
14171         close_and_return_error for error returns.  On error paths without
14172         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14173         successful return.
14175 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14177         [BZ# 19860]
14178         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14179         zero if the compiler does not provide the AVX512F bit.
14181 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14183         [BZ #19848]
14184         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14185         from 8 to 4.
14186         (__ieee754_powl): Compare integer exponent against 4 not 8.
14187         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14188         from 8 to 4.
14189         (__ieee754_powl): Compare integer exponent against 4 not 8.
14190         * math/auto-libm-test-in: Add more tests of pow.
14191         * math/auto-libm-test-out: Regenerated.
14192         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14195 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14197         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14198         Make code unconditional.
14199         [!__NR_utimensat]: Remove conditional code.
14200         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14201         Make code unconditional.
14202         [!__NR_utimensat]: Remove conditional code.
14203         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14204         Make code unconditional.
14205         [!__NR_utimensat]: Remove conditional code.
14207 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14209         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14210         Make code unconditional.
14212 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14214         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14215         call-clobbered %eax on retry path.
14216         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14218 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14220         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14221         Don't set %rcx twice before "rep movsb".
14223 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14225         [BZ #19583]
14226         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14227         inline.  Check family before setting family, model and
14228         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14229         bits here.
14230         (init_cpu_features): Replace HAS_CPU_FEATURE and
14231         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14232         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14233         for Intel processors with usable AVX2.  Call get_common_indeces
14234         for other processors with family == NULL.
14235         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14236         (CPU_FEATURES_ARCH_P): Likewise.
14237         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14238         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14240 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14242         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14243         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14244         $(shared-thread-library) instead of hardcoding the path to libpthread.
14246 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14248         * sysdeps/unix/sysv/linux/kernel-features.h
14249         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14250         * sysdeps/unix/sysv/linux/getdents.c
14251         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14252         [!have_no_getdents64_defined]: Likewise.
14253         (__GETDENTS): Remove __have_no_getdents64 conditional.
14255 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14257         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14258         Remove macro.
14259         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14260         <kernel-features.h>.
14261         (signalfd) [__NR_signalfd4]: Make code unconditional.
14262         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14264 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14266         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14267         style.
14269 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14271         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14272         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14273         __pthread_unwind.
14274         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14275         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14276         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14277         (__condvar_cleanup1): Likewise.
14279 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14281         [BZ #19822]
14282         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14283         move it to the final $@ location.
14285 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14287         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14288         access where posix_spawn success and pid argument is null.
14289         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14290         success case.
14292 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14294         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14296         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14298         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14299         and __fcntl.
14300         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14301         __fcntl only.
14302         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14303         adding attribute_hidden to __open and __fcntl.
14305         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14306         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14307         depend on libc-modules.h,
14308         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14310 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14312         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14313         Remove macro.
14314         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14315         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14316         entry.
14318         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14319         Remove macro.
14320         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14321         include <kernel-features.h>.
14322         [!__ASSUME_FALLOCATE]: Remove conditional code.
14323         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14325 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14328         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14329         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14330         (_ZGVdN4v_cos_avx2): Likewise.
14331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14332         (_ZGVdN4v_cos): Likewise.
14333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14334         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14335         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14336         (_ZGVdN4v_exp_avx2): Likewise.
14337         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14338         (_ZGVdN4v_exp): Likewise.
14339         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14340         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14341         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14342         (_ZGVdN4v_log_avx2): Likewise.
14343         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14344         (_ZGVdN4v_log): Likewise.
14345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14346         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14347         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14348         (_ZGVdN4vv_pow_avx2): Likewise.
14349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14350         (_ZGVdN4vv_pow): Likewise.
14351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14352         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14353         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14354         (_ZGVdN4v_sin_avx2): Likewise.
14355         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14356         (_ZGVdN4v_sin): Likewise.
14357         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14358         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14359         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14360         (_ZGVdN4vvv_sincos_avx2): Likewise.
14361         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14362         (_ZGVdN4vvv_sincos): Likewise.
14363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14364         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14365         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
14366         (_ZGVbN4v_cosf_sse4): Likewise.
14367         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
14368         (_ZGVdN8v_cosf_avx2): Likewise.
14369         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
14370         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
14371         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
14372         (_ZGVbN4v_expf_sse4): Likewise.
14373         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
14374         (_ZGVdN8v_expf_avx2): Likewise.
14375         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
14376         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
14377         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
14378         (_ZGVbN4v_logf_sse4): Likewise.
14379         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
14380         (_ZGVdN8v_logf_avx2): Likewise.
14381         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
14382         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
14383         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
14384         (_ZGVbN4vv_powf_sse4): Likewise.
14385         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
14386         (_ZGVdN8vv_powf_avx2): Likewise.
14387         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14388         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
14389         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14390         (_ZGVbN4vvv_sincosf_sse4): Likewise.
14391         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14392         (_ZGVdN8vvv_sincosf_avx2): Likewise.
14393         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
14394         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
14395         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
14396         (_ZGVbN4v_sinf_sse4): Likewise.
14397         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
14398         (_ZGVdN8v_sinf_avx2): Likewise.
14399         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14400         Use JUMPTARGET to call callee.
14401         (WRAPPER_IMPL_SSE2_ff): Likewise.
14402         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14403         (WRAPPER_IMPL_AVX): Likewise.
14404         (WRAPPER_IMPL_AVX_ff): Likewise.
14405         (WRAPPER_IMPL_AVX_fFF): Likewise.
14406         (WRAPPER_IMPL_AVX512): Likewise.
14407         (WRAPPER_IMPL_AVX512_ff): Likewise.
14408         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14409         Likewise.
14410         (WRAPPER_IMPL_SSE2_ff): Likewise.
14411         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14412         (WRAPPER_IMPL_AVX): Likewise.
14413         (WRAPPER_IMPL_AVX_ff): Likewise.
14414         (WRAPPER_IMPL_AVX_fFF): Likewise.
14415         (WRAPPER_IMPL_AVX512): Likewise.
14416         (WRAPPER_IMPL_AVX512_ff): Likewise.
14417         (WRAPPER_IMPL_AVX512_fFF): Likewise.
14419 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14421         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
14422         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
14423         qualifier.
14424         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
14425         internal_function qualifiers.
14427 2016-03-15  Carlos O'Donell <carlos@redhat.com>
14429         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
14430         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
14431         * math/atest-exp.c (exp_mpn): Mark chk unused.
14432         * math/atest-exp2.c (exp_mpn): Likewise.
14433         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
14434         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
14436 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
14438         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
14439         Remove macro.
14440         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
14441         <kernel-features.h>.
14442         [__NR_ppoll]: Make code unconditional.
14443         [!__ASSUME_PPOLL]: Remove conditional code.
14445         * sysdeps/unix/sysv/linux/kernel-features.h
14446         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
14447         (__ASSUME_ACCEPT4): Likewise.
14448         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14449         Define.
14450         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
14451         Likewise.
14452         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14453         Likewise.
14454         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
14455         Likewise.
14456         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
14457         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
14458         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14459         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14460         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14461         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14462         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14463         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14464         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14466         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14467         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14468         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14469         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14470         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14471         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14472         Likewise.
14473         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14474         Likewise.
14475         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14476         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14477         0x040300].
14478         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14479         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14480         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14481         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14482         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14483         0x030300].
14484         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
14485         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14486         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14487         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14488         0x040300].
14489         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14490         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14491         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14492         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14493         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14494         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14495         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14496         0x030300].
14497         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14498         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14499         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14501         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14502         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14503         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14504         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14505         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14506         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14507         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14508         0x040300].
14509         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14511         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14512         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14515         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14516         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14519         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14521         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14522         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14523         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
14524         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14525         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14526         Likewise.
14527         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14528         Likewise.
14530 2016-03-15  Andreas Schwab  <schwab@suse.de>
14532         [BZ #19257]
14533         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
14534         statp->_u._ext.nscount as loop count.
14536 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14538         * math/test-signgam-finite-c99.c: Also #undef
14539         __LIBC_INTERNAL_MATH_INLINES.
14540         * math/test-signgam-main.c: Likewise.
14542 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
14544         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
14545         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14546         (MADV_FREE): Likewise.
14547         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
14548         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
14549         EPOLLEXCLUSIVE.
14551 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
14553         * timezone/README: Remove mention of checktab.awk. Mention wiki
14554         SharedSourceFiles.
14556 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
14558         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
14559         WUNTRACED.
14561 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14563         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
14564         order to match the type of p when calling atomic_exchange_acq().
14566 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14568         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
14569         cfi_offset calls.
14570         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
14571         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
14572         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
14573         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
14574         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
14576 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
14578         * timezone/checktab.awk: Removed.
14580 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
14582         * manual/math.texi (Errors in Math Functions): Document relaxed
14583         accuracy goals for IBM long double.
14584         * math/libm-test.inc (test_exceptions): Always allow spurious
14585         "underflow" and "inexact" exceptions for IBM long double.
14587 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
14589         [BZ #19762]
14590         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
14591         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
14592         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
14593         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
14594         (bit_arch_*): This for feature array.
14595         (bit_*): Renamed to ...
14596         (bit_cpu_*): This for cpu array.
14597         (index_*): Renamed to ...
14598         (index_arch_*): This for feature array.
14599         (index_*): Renamed to ...
14600         (index_cpu_*): This for cpu array.
14601         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
14602         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
14603         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
14604         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
14605         bit_##name with index_cpu_##name and bit_cpu_##name.
14606         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
14607         bit_##name with index_arch_##name and bit_arch_##name.
14609 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
14611         [BZ #19792]
14612         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
14613         Terminate FDE before return label.
14615 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
14617         [BZ #19790]
14618         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
14619         (rintl): Define as macro.
14620         [USE_AS_NEARBYINTL] (__rintl): Likewise.
14621         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
14622         of fesetround.  Ensure results are evaluated before end of scope.
14623         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
14624         USE_AS_NEARBYINTL and include s_rintl.c.
14625         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
14626         Disable exception traps in new environment.
14627         (libc_feholdsetround_ppc_ctx): Likewise.
14629 2016-03-08  Roland McGrath  <roland@hack.frob.com>
14631         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
14632         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
14633         (tst_audit10_aux) [__AVX512F__]: ... here.
14635 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
14637         * include/sys/auxv.h: New file.
14639 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
14641         [BZ #19759]
14642         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
14644 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14646         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
14647         operand modifier.
14648         (feclearexcept): Likewise.
14650 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14652         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
14653         to reflect the entire 32-bit HWCAP.
14654         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
14655         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
14657 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
14659         [BZ #19783]
14660         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
14661         $(test-via-rtld-prefix).
14662         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
14664 2016-03-08  Florian Weimer  <fweimer@redhat.com>
14666         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
14667         union wait.  Report any non-zero exit status as error.
14669 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14671         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
14672         configured with --enable-hardcoded-path-in-tests.
14674 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
14676         [BZ #19677]
14677         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14678         (__ieee754_remainderl): Put zero low parts in canonical form.
14679         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
14680         file.  Based on
14681         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
14682         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
14683         with wrapper round test-fmodrem-ldbl-128ibm.c.
14684         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
14685         file.
14686         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
14687         Likewise.
14688         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14689         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
14691 2016-03-07  Florian Weimer  <fweimer@redhat.com>
14693         [BZ #19610]
14694         * elf/ldconfig.c (opt_link): Update comment.
14695         (options): Update help string for option -X.
14696         (search_dir): Unlink stale symbolic link only if updating symbolic
14697         links.
14698         * elf/tst-ldconfig-X.sh: New file.
14699         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
14700         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
14702 2016-03-07  Andreas Schwab  <schwab@suse.de>
14704         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
14705         needed arguments.
14707 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
14709         [BZ #15333]
14710         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
14711         to lstat64.
14713 2016-03-07  Florian Weimer  <fweimer@redhat.com>
14715         * libio/filedoalloc.c (isatty): Remove.
14716         (local_isatty): Add comment.  Call __isatty directly.
14717         (_IO_file_doallocate): Update comment.  Assume _LIBC.
14718         * libio/wfiledoalloc.c (isatty): Remove.
14719         (_IO_wfile_doallocate): Update comment.
14721 2016-03-07  Florian Weimer  <fweimer@redhat.com>
14723         [BZ #19269]
14724         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
14725         tst-audit4-aux.o.
14726         (tst-audit10): Depend on tst-audit10-aux.o.
14727         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
14728         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
14729         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
14730         instead of inline AVX code.
14731         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
14732         instead of inline AVX512 code.
14733         * sysdeps/x86_64/tst-audit4-aux.c: New file
14734         * sysdeps/x86_64/tst-audit10-aux.c: New file
14736         [BZ #19648]
14737         * test-skeleton.c (main): Do not set RLIMIT_DATA.
14739 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14741         [BZ #14750]
14742         [BZ #10354]
14743         [BZ #18433]
14744         * include/sched.h (__clone): Add hidden prototype.
14745         (__clone2): Likewise.
14746         * include/unistd.h (__dup): Likewise.
14747         * posix/Makefile (tests): Add tst-spawn2.
14748         * posix/tst-spawn2.c: New file.
14749         * sysdeps/posix/dup.c (__dup): Add hidden definition.
14750         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
14751         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14752         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14753         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14754         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14755         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
14756         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14757         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
14758         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14759         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14761         Likewise.
14762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14763         Likewise.
14764         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14765         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14766         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14767         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14768         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14769         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14770         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14771         * sysdeps/unix/sysv/linux/nptl-signals.h
14772         (____nptl_is_internal_signal): New function.
14773         * sysdeps/unix/sysv/linux/spawni.c: New file.
14775         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
14776         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
14777         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
14778         * posix/tst-execvp2.c (do_test): Likewise.
14779         * posix/tst-execvp3.c (do_test): Likewise.
14780         * posix/tst-execvp4.c (do_test): Likewise.
14781         * posix/tst-execvpe1.c: New file.
14782         * posix/tst-execvpe2.c: Likewise.
14783         * posix/tst-execvpe3.c: Likewise.
14784         * posix/tst-execvpe4.c: Likewise.
14785         * posix/tst-execvpe5.c: Likewise.
14786         * posix/tst-execvpe6.c: Likewise.
14788         [BZ #19534]
14789         * posix/execl.c (execl): Remove dynamic memory allocation.
14790         * posix/execle.c (execle): Likewise.
14791         * posix/execlp.c (execlp): Likewise.
14793 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14795         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
14796         Replace .text with .text.avx512.
14797         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
14798         Likewise.
14800 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
14802         * sysdeps/generic/libnsl.abilist: New file.
14803         * sysdeps/generic/libutil.abilist: New file.
14805 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14807         [BZ #19762]
14808         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
14809         HAS_ARCH_FEATURE with Fast_Rep_String.
14810         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
14811         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
14812         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
14813         Likewise.
14814         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
14815         Likewise.
14816         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
14817         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
14818         Likewise.
14819         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
14820         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
14821         Likewise.
14823 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
14825         [BZ #19745]
14826         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14827         with *%rax in call.
14829 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
14831         [BZ #19745]
14832         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
14833         with *__libc_start_main@GOTPCREL(%rip) in call.
14835 2016-03-04  Roland McGrath  <roland@hack.frob.com>
14837         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
14838         inside conditional for nonempty $(CXX).
14840         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
14841         nonempty.
14843         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
14844         to test for empty $(CXX) rather than $(CXX) of "no".
14846 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
14848         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
14850 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
14851             H.J. Lu  <hongjiu.lu@intel.com>
14853         [BZ #18880]
14854         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
14855         instead of Slow_BSF, and also check for Fast_Copy_Backward to
14856         enable __memcpy_ssse3_back.
14858 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
14860         [BZ #19758]
14861         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
14862         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
14864 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14866         [BZ #19490]
14867         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
14868         (__fentry__): Likewise.
14870 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
14872         * gmon/Makefile (noprof): Add $(sysdep_noprof).
14873         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
14875 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
14877         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
14878         __mcount_internal directly.
14879         (C_LABEL(__fentry__)): Likewise.
14880         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
14881         directly.
14883 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
14885         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14886         (__start_context): Call __setcontext directly.
14888 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
14890         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14891         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14892         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
14893         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
14894         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14895         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14896         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
14897         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14898         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14899         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
14900         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
14901         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
14902         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14903         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14904         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14905         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14906         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
14907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14908         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14909         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
14910         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
14911         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14912         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14913         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
14914         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
14915         Remove conditional code.
14916         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14917         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
14918         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14919         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14920         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
14921         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14922         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
14923         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14924         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14925         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14927         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14929 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
14931         * NEWS (2.23): Fix typo in bug 19048 text.
14933 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
14935         [BZ #14259]
14936         * Makeconfig: Rename msgcatdir to localedir.
14937         Rename inst_msgcatdir to inst_localedir.
14938         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
14939         * config.make.in: Add localedir.
14940         * elf/Makefile ($(objpfx)sotruss): Use localedir.
14941         (ldd-rewrite): Likewise.
14942         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
14943         (install-others): Use inst_localedir.
14944         (CPPFLAGS): Use localedir.
14945         * locale/Makefile (locale-CPPFLAGS): Likewise.
14946         * po/Makefile (mo-installed): Use inst_localedir.
14948         [BZ #19575]
14949         * localedata/charmaps/GB18030: Update comments regarding PAU to
14950         non-PUA mappings.
14952 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
14954         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
14955         test for header.
14956         * sysdeps/unix/sysv/linux/configure: Regenerated.
14957         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
14958         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
14959         Remove conditional code.
14960         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
14962         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14963         Define to 3.2.0.
14964         (arch_minimum_kernel): Likewise.
14965         * sysdeps/unix/sysv/linux/configure: Regenerated.
14966         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
14967         Define to 2.6.32.
14968         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
14969         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
14970         (arch_minimum_kernel): Define to 2.6.32.
14971         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
14972         * README: Document Linux 3.2 requirement.
14973         * manual/install.texi (Linux): Document Linux 3.2 headers
14974         requirement.
14975         * INSTALL: Regenerated.
14977 2016-02-24  Andreas Schwab  <schwab@suse.de>
14979         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
14980         if !NO_LONG_DOUBLE.
14982 2016-02-22  Roland McGrath  <roland@hack.frob.com>
14984         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
14985         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
14987 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
14989         [BZ #19512]
14990         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
14992 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
14994         * posix/tst-dir.c: Include libc-internal.h.
14996 2016-02-20  Florian Weimer  <fweimer@redhat.com>
14998         [BZ #19056]
14999         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
15000         * manual/filesys.texi (Reading/Closing Directory): Mention
15001         deprecaion.
15002         * posix/tst-dir.c (main): Disable deprecation warning in test.
15004 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
15006         [BZ #19679]
15007         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
15008         Renamed to ...
15009         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
15010         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15011         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
15012         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15013         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15014         * sysdeps/x86_64/dl-trampoline.h
15015         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15016         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15018 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15020         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
15022 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15024         * elf/elf.h (R_386_GOT32X): New.
15025         (R_386_NUM): Update.
15026         (R_X86_64_GOTPCRELX: New.
15027         (R_X86_64_REX_GOTPCRELX): New.
15028         (R_X86_64_NUM): Update.
15030 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
15032         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
15034 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
15036         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
15037         assign attr->stackaddr to it, and adjust it down when
15038         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
15039         [_STACK_GROWS_UP]: Delete assert.
15040         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
15041         Implement stack grows up logic.
15042         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
15043         stack grows up logic.
15045 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15047         * NEWS: Update with 2.24 template.
15049 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15051         [BZ #19678]
15052         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15053         Ensure +0.0 is returned when taking the next value below the least
15054         positive value.
15056 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15058         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15059         available.  Do not define NO_THREADS.
15060         * malloc/malloc.c: Do not check NO_THREADS.
15061         * malloc/arena.c: Likewise.
15063 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15065         * malloc/malloc.c (__libc_mallinfo): Update comment.
15066         (struct malloc_par): Remove max_total_mem member, it was always 0.
15067         (int_mallinfo): Store 0 into usmblks (no functional change).
15068         * malloc/hooks.c (struct malloc_state): Document that
15069         max_total_mem is always 0.
15070         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15071         always 0.
15072         * manual/memory.texi (Statistics of Malloc): Likewise.
15074 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15076         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15077         * malloc/arena.c (arena_max): Remove.
15078         (heap_trim, _int_new_arena): Do not update arena_max.
15080 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15082         * resolv/res_init.c (res_ninit): Update comment.
15084 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15086         [BZ #19505]
15087         * posix/spawn_int.h: Add headers and include guard.
15088         (__spawn_valid_fd): New function.
15089         * posix/spawn_faction_addopen.c
15090         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15091         * posix/spawn_faction_addclose.c
15092         (posix_spawn_file_actions_addclose): Likewise.
15093         * posix/spawn_faction_adddup2.c
15094         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15095         second file descriptor.
15096         * posix/spawn_valid_fd.c: New file.
15097         * posix/tst-posix_spawn-fd.c: New file.
15098         * posix/Makefile (routines): Add spawn_valid_fd.
15099         (tests): Add tst-posix_spawn-fd.
15101 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15103         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15104         (do_test): Limit the number of arenas, so that we can use fewer
15105         outer threads.  Limit timeout to 3 seconds, in preparation for a
15106         larger TIMEOUT value.
15108 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15110         [BZ #19674]
15111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15112         sign in overflowing and underflowing results when overflow or
15113         underflow is detected early.  Include sign in result before rather
15114         than after scaling.
15116         [BZ #19603]
15117         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15118         (__ieee754_remainderl): Adjust sign of integer version of low part
15119         when taking absolute value of high part.
15120         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15121         * math/libm-test.inc (remainder_test_data): Add another test.
15122         (remquo_test_data): Likewise.
15124 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15126         [BZ #19602]
15127         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15128         equal high parts and both low parts zero specially.
15129         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15130         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15131         Add test-fmodl-ldbl-128ibm.
15133         [BZ #19595]
15134         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15135         common logic for all cases of shifting subnormal results.  Do not
15136         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15137         exponent to ldbl_insert_mantissa in subnormal case.
15139         [BZ #19594]
15140         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15141         on high and low parts then adjust result and use
15142         ldbl_canonicalize_int if needed.
15144         [BZ #19593]
15145         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15146         on high part and __floor or __ceil on low part then use
15147         ldbl_canonicalize_int if needed.
15149         [BZ #19592]
15150         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15151         high and low parts then use ldbl_canonicalize_int if needed.
15153         [BZ #17899]
15154         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15155         New function.
15156         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15157         on high and low parts then use ldbl_canonicalize_int if needed.
15159 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15161         * configure: Regenerated.
15163         * po/libc.pot: Regenerated.
15165         * po/be.po: Updated translation.
15166         * po/bg.po: Likewise.
15167         * po/ca.po: Likewise.
15168         * po/cs.po: Likewise.
15169         * po/da.po: Likewise.
15170         * po/el.po: Likewise.
15171         * po/eo.po: Likewise.
15172         * po/es.po: Likewise.
15173         * po/fi.po: Likewise.
15174         * po/fr.po: Likewise.
15175         * po/gl.po: Likewise.
15176         * po/hr.po: Likewise.
15177         * po/hu.po: Likewise.
15178         * po/ia.po: Likewise.
15179         * po/id.po: Likewise.
15180         * po/it.po: Likewise.
15181         * po/ja.po: Likewise.
15182         * po/lt.po: Likewise.
15183         * po/nb.po: Likewise.
15184         * po/nl.po: Likewise.
15185         * po/pt_BR.po: Likewise.
15186         * po/rw.po: Likewise.
15187         * po/sk.po: Likewise.
15188         * po/sl.po: Likewise.
15189         * po/sv.po: Likewise.
15190         * po/tr.po: Likewise.
15191         * po/zh_CN.po: Likewise.
15192         * po/zh_TW.po: Likewise.
15194         * version.h (RELEAES): Set to "development".
15195         (VERSION): Set to 2.23.90.
15197         * version.h (RELEASE): Set to "stable".
15198         (VERSION): Set to 2.23.
15199         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15201         * NEWS: Updated fixed bugs.
15203 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15204             Wilco Dijkstra  <wdijkstr@arm.com>
15206         [BZ #19462]
15207         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15208         (_STRING_INLINE_unaligned): This.
15209         * include/string.h: Include <string_private.h>.
15210         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15211         _STRING_INLINE_unaligned.
15212         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15213         (_STRING_INLINE_unaligned): New.
15214         * sysdeps/aarch64/string_private.h: New file.
15215         * sysdeps/generic/string_private.h: Likewise.
15216         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15217         * sysdeps/s390/string_private.h: Likewise.
15218         * sysdeps/x86/string_private.h: Likewise.
15219         * sysdeps/m68k/m680x0/m68020/bits/string.h
15220         (_STRING_ARCH_unaligned): Renamed to ...
15221         (_STRING_INLINE_unaligned): This.
15222         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15223         to ...
15224         (_STRING_INLINE_unaligned): This.
15225         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15226         to ...
15227         (_STRING_INLINE_unaligned): This.
15228         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15229         to ...
15230         (_STRING_INLINE_unaligned): This.
15232 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15233             H.J. Lu  <hongjiu.lu@intel.com>
15235         [BZ #19590]
15236         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15237         relocation.
15239 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15241         [BZ #18665]
15242         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15243         *herrno_p.
15244         (gaih_getanswer): Document functional behviour. Return tryagain
15245         if any result is tryagain.
15246         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15247         when freed.
15248         * resolv/res_send.c: Add copyright text.
15249         (__libc_res_nsend): Document that MAXPACKET is expected.
15250         (send_vc): Document. Remove buffer reuse.
15251         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15252         size of the buffer. Add Dprint for truncated UDP buffer.
15254 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15256         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15257         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15258         * INSTALL: Regenerate.
15260 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15261             Jonathan Wakely  <jwakely@redhat.com>
15262             Carlos O'Donell  <carlos@redhat.com>
15264         [BZ 19439]
15265         * math/Makefile (tests): Add test-math-isinff.
15266         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15267         * math/bits/mathcalls.h [__USE_MISC]: Use
15268         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15269         functions not in C++11 and which don't conflict e.g. isinff,
15270         isinfl etc.
15271         * math/test-math-isinff.cc: New file.
15273 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15275         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15277 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15279         [BZ #19529]
15280         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15282 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15284         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15286 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15288         [BZ #19550]
15289         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15290         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15291         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15292         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15293         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15294         New syscall entry.
15295         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15296         New syscall entry.
15297         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15298         syscall entry.
15300 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15302         [BZ #18240]
15303         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15304         unsigned int wraparound.
15306 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15308         [BZ #18240]
15309         * misc/bug18240.c: New test.
15310         * misc/Makefile (tests): Add it.
15312 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15313             Joseph Myers  <joseph@codesourcery.com>
15315         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15316         load in branch delay slot when less than a word of input left.
15318 2016-01-27  Andreas Schwab  <schwab@suse.de>
15320         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15321         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15322         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15323         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15325 2016-01-26  David S. Miller  <davem@davemloft.net>
15327         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15329 2016-01-25  David S. Miller  <davem@davemloft.net>
15331         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15332         __sqrtl_finite.
15333         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15334         instead using versioned_symbol.
15335         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15336         of entries.
15338         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15339         __sqrtl_finite to GLIBC_2.23
15341 2016-01-25  Ricchard Henderson  <rth@redhat.com>
15343         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15345 2016-01-25  Andreas Schwab  <schwab@suse.de>
15347         [BZ #17514]
15348         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15349         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15350         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15351         * nptl/tst-mutex-errorcheck.c: New file.
15353 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15355         [BZ #18560]
15356         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15357         (IPCOP_semop): Likewise.
15358         (IPCOP_semget): Likewise.
15359         (IPCOP_semctl): Likewise.
15360         (IPCOP_msgsnd): Likewise.
15361         (IPCOP_msgrcv): Likewise.
15362         (IPCOP_msgget): Likewise.
15363         (IPCOP_msgctl): Likewise.
15364         (IPCOP_shmat): Likewise.
15365         (IPCOP_shmdt): Likewise.
15366         (IPCOP_shmget): Likewise.
15367         (IPCOP_shmctl): Likewise.
15369 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15371         * string/tst-endian.c: Include <libc-internal.h>.
15372         (do_test): Ignore tautological-compare warnings around
15373         "htobeXX (beXXtoh (i)) != i" and
15374         "htoleXX (leXXtoh (i)) != i" if-statements.
15376 2016-01-24  David S. Miller  <davem@davemloft.net>
15378         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
15379         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
15380         alias.
15381         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15382         __sqrtl_finite.
15384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15386 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
15388         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
15389         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
15390         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15392 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15394         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
15395         (thread_func): Use new function to simplify barrier check.
15396         (do_test): Use new function to simplify checking barrier exit
15397         code, and actually join the child thread.
15399 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15401         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
15402         semicolon.
15403         (__libc_tend): Likewise.
15404         (__libc_tabort): Likewise.
15406 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
15408         * sysdeps/nios2/libm-test-ulps: Update.
15409         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
15410         (__gtsf2): Likewise.
15411         (__unorddf2): Likewise.
15412         (__unordsf2): Likewise.
15413         (__ledf2): Likewise.
15415 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
15417         * nis/nis_table.c (__follow_path): Disable diagnostic for
15418         uninitialized variable that is a false positive for gcc 4.7.
15419         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
15421 2016-01-20  Roland McGrath  <roland@hack.frob.com>
15423         * sysdeps/nacl/lowlevellock-futex.h
15424         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
15425         Always evaluate PRIVATE argument.
15427 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
15429         [BZ #19490]
15430         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
15431         (pthread_cond_broadcast): Use ENTRY/END
15432         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
15433         (pthread_cond_signal): Likewise.
15434         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
15435         Likewise.
15436         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
15437         Likewise.
15438         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
15439         Likewise.
15441 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
15443         * sysdeps/ieee754/dbl-64/s_finite.c
15444         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
15445         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
15446         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
15447         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
15448         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
15450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
15451         (__gtsf2): Add as optional for libc.so.
15452         (__unordsf2): Likewise.
15453         (__signbit): Remove for libc.so.
15454         (__signbitl): Likewise.
15456 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15458         * iconvdata/bug-iconv11.c (test_ibm93x):
15459         Use %zu printf format specifier for size_t argument.
15461 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
15463         * math/gen-libm-test.pl (parse_ulps): Do not reduce
15464         already-recorded ulps.
15465         * sysdeps/arm/libm-test-ulps: Regenerated.
15466         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15467         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15468         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15470 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15471             Paul Pluzhnikov  <ppluzhnikov@google.com>
15473         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
15474         assembler not supporting AVX-512.
15476 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15478         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15480 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
15482         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15483         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15485         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15487         * sysdeps/arm/libm-test-ulps: Regenerated.
15489 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15491         [BZ #19451]
15492         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
15494 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15496         [BZ #19486]
15497         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
15498         * sysdeps/generic/fix-fp-int-convert-overflow.h
15499         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
15500         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
15501         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
15502         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
15503         Likewise.
15504         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
15505         Avoid conversions to long int where inexact exceptions
15506         could be raised.
15507         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
15508         Likewise.
15509         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
15510         Avoid conversions to long long int where inexact exceptions
15511         could be raised.
15512         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
15513         Likewise.
15515 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
15517         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
15518         * configure: Regenerated.
15520 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
15522         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
15524 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
15526         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
15527         outside of comment.
15529 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15531         * nptl/tst-barrier1.c: Add description on first line.
15532         * nptl/tst-barrier2.c: Likewise.
15533         * nptl/tst-barrier3.c: Likewise.
15534         * nptl/tst-barrier4.c: Likewise.
15535         * nptl/tst-barrier5.c: Likewise.
15537 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15539         [BZ #18868]
15540         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
15542 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
15544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
15545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
15546         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
15547         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
15548         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
15549         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
15550         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15551         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15552         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15553         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15554         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15556 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15558         [BZ #13065]
15559         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
15560         new implementation.
15561         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
15562         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
15563         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
15564         (BARRIER_IN_THRESHOLD): New macro.
15565         * nptl/pthread_barrierattr_setpshared.c
15566         (pthread_barrierattr_setpshared): Clean up.
15567         * nptl/tst-barrier4.c: Correct comment.
15568         * nptl/tst-barrier5.c: New file.
15569         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
15570         (gen-as-const-headers): Remove lowlevelbarrier.sym.
15571         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
15572         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
15573         * nptl/lowlevelbarrier.sym: Remove.
15574         * nptl/DESIGN-barrier.txt: Remove.
15575         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
15576         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
15577         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
15578         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
15579         error.
15580         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
15581         implementation.
15583 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15585         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
15586         (do_child): Mask SIGRTMIN while thr is running.
15588 2016-01-15  Martin Sebor  <msebor@redhat.com>
15590         [BZ #19432]
15591         * iconvdata/Makefile: Add bug-iconv11.
15592         * iconvdata/bug-iconv11.c: New test.
15593         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
15594         * iconvdata/ibm933.c: Same.
15595         * iconvdata/ibm935.c: Same.
15596         * iconvdata/ibm937.c: Same.
15597         * iconvdata/ibm939.c: Same.
15599 2016-01-15  Martin Sebor  <msebor@redhat.com>
15601         [BZ #19443]
15602         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
15603         [DEBUG] (_ufc_set_bits): Declare used.
15604         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
15605         [DEBUG] (print_all): Declare used.
15606         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
15607         operands of the ternary ?: expression to target type.
15608         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
15609         calling the undeclared abort.
15610         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
15612 2016-01-15  Martin Sebor  <msebor@redhat.com>
15614         [BZ #18755]
15615         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
15616         warnings.
15617         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
15618         (__gai_create_helper_thread): Same.
15619         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
15620         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
15621         to suppress -Wmaybe-uninitialized warnings.
15623 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
15625         [BZ #19465]
15626         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
15627         inside if.
15628         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15629         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15632 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
15634         [BZ #19466]
15635         * time/tst-mktime2.c (time_t_max): Removed.
15636         (time_t_min): Likewise.
15637         (TYPE_SIGNED): New.
15638         (TYPE_MINIMUM): Likewise.
15639         (TYPE_MAXIMUM): Likewise.
15640         (TIME_T_MIN): Likewise.
15641         (TIME_T_MAX): Likewise.
15642         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
15643         and TIME_T_MIN.
15644         (do_test): Likewise.
15646 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
15648         [BZ #19467]
15649         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15650         index_Fast_Unaligned_Load flag for Excavator family CPUs.
15652 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
15654         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
15656 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
15658         * benchtests/Makefile (PYTHON): Define.
15659         (bench-func): Use $(PYTHON) to run python scripts.
15660         ($(objpfx)bench-%.c): Likewise.
15662 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
15664         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
15665         leading slash when `file_name' is "/".
15667 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
15669         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
15670         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
15671         Likewise.
15672         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
15673         Likewise.
15674         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
15675         Likewise.
15676         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
15677         enum constant and macro.
15678         (PTRACE_SETSIGMASK): Likewise.
15679         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15680         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15681         (PTRACE_GETSIGMASK): Likewise.
15682         (PTRACE_SETSIGMASK): Likewise.
15683         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15684         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
15685         Likewise.
15686         (PTRACE_SETSIGMASK): Likewise.
15687         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15688         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15689         (PTRACE_GETSIGMASK): Likewise.
15690         (PTRACE_SETSIGMASK): Likewise.
15691         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15692         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
15693         Likewise.
15694         (PTRACE_SETSIGMASK): Likewise.
15695         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15696         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
15697         Likewise.
15698         (PTRACE_SETSIGMASK): Likewise.
15699         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15700         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
15701         Likewise.
15702         (PTRACE_SETSIGMASK): Likewise.
15703         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15705 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
15706             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15708         [BZ #19439]
15709         * math/bits/mathcalls.h
15710         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
15711         prototype.
15712         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
15714 2016-01-11  Andreas Schwab  <schwab@suse.de>
15716         [BZ #19253]
15717         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
15718         cache when TZDEFRULES was used.
15719         * time/tst-tzname.c: New file.
15720         * time/Makefile (test): Add tst-tzname.
15721         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
15722         * timezone/Makefile (test-zones): Add $(posixrules-file).
15723         ($(testdata)/$(posixrules-file)): New rule.
15725 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
15727         Fix doc quoting problems with Texinfo 5
15728         Without this change, in the info file output, Texinfo 5 quotes code
15729         in text with undirected single quotes 'like this' and generates
15730         code examples that with many PDF readers cannot be cut out of PDFs
15731         and pasted into code.
15732         * manual/libc.texinfo: Configure the libc manual like the GNU
15733         Emacs manual, by using @documentencoding and setting
15734         txicodequoteundirected and txicodequotebacktick.  This way,
15735         Texinfo 5 quotes code in text with directed single quotes ‘like
15736         this’ and produces examples that can be cut out of PDFs.  This
15737         change causes Texinfo 5 to generate info files that contain UTF-8
15738         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
15739         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
15741 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15743         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
15744         __libc_tabort, __libc_tend): New wrappers that enforce compiler
15745         barriers to their respective compiler built-ins.
15746         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
15747         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
15748         * sysdeps/powerpc/sysdep.h: Likewise.
15749         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
15750         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
15751         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
15753 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
15755         * scripts/config.guess: Revert previous shebang change.
15756         * scripts/config.sub: Likewise.
15757         * scripts/mkinstalldirs: Likewise.
15759 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15761         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
15762         PPC_FEATURE2_HAS_IEEE128.
15763         * sysdeps/powerpc/dl-procinfo.c:
15764         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
15766 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
15768         [BZ #19415]
15769         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
15770         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
15771         (_dl_lookup_address): Rewrite using function resolver trampoline.
15772         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
15773         two bits in address.
15775 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
15777         * longlong.h: Change !__SHMEDIA__ to
15778         (!defined (__SHMEDIA__) || !__SHMEDIA__).
15779         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
15781 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
15782             Joseph Myers  <joseph@codesourcery.com>
15783             Mark Shinwell  <shinwell@codesourcery.com>
15784             Andrew Stubbs  <ams@codesourcery.com>
15785             Rich Felker <dalias@libc.org>
15787         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
15789 2016-01-07  Richard Henderson  <rth@redhat.com>
15791         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
15793 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
15795         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
15796         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
15797         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15798         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15799         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
15801 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
15802             Joseph Myers  <joseph@codesourcery.com>
15804         * timezone/private.h: Update from tzcode 2015g.
15805         * timezone/tzfile.h: Likewise.
15806         * timezone/tzselect.ksh: Likewise.
15807         * timezone/zdump.c: Likewise.
15808         * timezone/zic.c: Likewise.
15809         * timezone/ialloc.c: Remove file.
15810         * timezone/scheck.c: Likewise.
15811         * timezone/Makefile (extra-objs): Remove variable.
15812         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
15813         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
15814         -Wno-maybe-uninitialized.
15815         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
15816         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
15817         (CFLAGS-ialloc.c): Remove variable.
15818         (CFLAGS-scheck.c): Likewise.
15819         * timezone/README: Update list of files from tzcode.
15821 2016-01-07  Khem Raj  <raj.khem@gmail.com>
15823         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
15824         instead of __fxprintf when _LIBC is undefined.
15826 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
15828         * catgets/test-gencat.sh: Remove space after shebang.
15829         * conform/GlibcConform.pm: Likewise.
15830         * conform/check-header-lists.sh: Likewise.
15831         * conform/conformtest.pl: Likewise.
15832         * conform/linknamespace.pl: Likewise.
15833         * conform/list-header-symbols.pl: Likewise.
15834         * debug/catchsegv.sh: Likewise.
15835         * elf/genrtldtbl.awk: Likewise.
15836         * elf/tst-pathopt.sh: Likewise.
15837         * elf/tst-rtld-load-self.sh: Likewise.
15838         * grp/tst_fgetgrent.sh: Likewise.
15839         * iconvdata/gen-8bit-gap-1.sh: Likewise.
15840         * iconvdata/gen-8bit-gap.sh: Likewise.
15841         * iconvdata/gen-8bit.sh: Likewise.
15842         * iconvdata/run-iconv-test.sh: Likewise.
15843         * intl/tst-gettext.sh: Likewise.
15844         * intl/tst-gettext2.sh: Likewise.
15845         * intl/tst-gettext4.sh: Likewise.
15846         * intl/tst-gettext6.sh: Likewise.
15847         * intl/tst-translit.sh: Likewise.
15848         * io/ftwtest-sh: Likewise.
15849         * libio/test-freopen.sh: Likewise.
15850         * locale/gen-translit.pl: Likewise.
15851         * malloc/tst-mtrace.sh: Likewise.
15852         * manual/check-safety.sh: Likewise.
15853         * manual/libc-texinfo.sh: Likewise.
15854         * manual/tsort.awk: Likewise.
15855         * manual/xtract-typefun.awk: Likewise.
15856         * nptl/tst-cancel-wrappers.sh: Likewise.
15857         * nptl/tst-tls6.sh: Likewise.
15858         * posix/globtest.sh: Likewise.
15859         * posix/tst-getconf.sh: Likewise.
15860         * posix/wordexp-tst.sh: Likewise.
15861         * scripts/check-c++-types.sh: Likewise.
15862         * scripts/check-local-headers.sh: Likewise.
15863         * scripts/config.guess: Likewise.
15864         * scripts/config.sub: Likewise.
15865         * scripts/cpp: Likewise.
15866         * scripts/cross-test-ssh.sh: Likewise.
15867         * scripts/documented.sh: Likewise.
15868         * scripts/evaluate-test.sh: Likewise.
15869         * scripts/gen-libc-abis: Likewise.
15870         * scripts/gen-sorted.awk: Likewise.
15871         * scripts/list-fixed-bugs.py: Likewise.
15872         * scripts/merge-test-results.sh: Likewise.
15873         * scripts/mkinstalldirs: Likewise.
15874         * scripts/rellns-sh: Likewise.
15875         * scripts/test-installation.pl: Likewise.
15876         * scripts/update-copyrights: Likewise.
15877         * stdio-common/tst-printf.sh: Likewise.
15878         * stdio-common/tst-unbputc.sh: Likewise.
15879         * stdlib/tst-fmtmsg.sh: Likewise.
15880         * stdlib/tst-setcontext3.sh: Likewise.
15881         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
15882         * sysdeps/unix/make-syscalls.sh: Likewise.
15884 2016-01-06  John David Anglin  <dave.anglin@bell.net>
15886         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
15887         asm stw with atomic_exchange_rel.  Add explanatory comment.
15888         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
15889         Likewise.
15891 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
15893         [BZ #19122]
15894         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
15895         * sysdeps/generic/dl-unistd.h: New file.
15896         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
15898 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
15900          [BZ #19122]
15901          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
15902          * sysdeps/generic/dl-mman.h: New file.
15903          * sysdeps/mach/hurd/dl-mman.h: Likewise.
15905 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
15907         * manual/texinfo.tex: Update to version 2016-01-04.21 with
15908         trailing whitespace removed.
15909         * scripts/config.guess: Update to version 2016-01-01.
15910         * scripts/config.sub: Update to version 2016-01-01.
15911         * scripts/move-if-change: Update from gnulib.
15913 2016-01-04  Anton Blanchard  <anton@samba.org>
15915         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
15916         for array indices.
15917         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
15919 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
15921         * NEWS: Update copyright dates.
15922         * catgets/gencat.c (print_version): Likewise.
15923         * csu/version.c (banner): Likewise.
15924         * debug/catchsegv.sh: Likewise.
15925         * debug/pcprofiledump.c (print_version): Likewise.
15926         * debug/xtrace.sh (do_version): Likewise.
15927         * elf/ldconfig.c (print_version): Likewise.
15928         * elf/ldd.bash.in: Likewise.
15929         * elf/pldd.c (print_version): Likewise.
15930         * elf/sotruss.sh: Likewise.
15931         * elf/sprof.c (print_version): Likewise.
15932         * iconv/iconv_prog.c (print_version): Likewise.
15933         * iconv/iconvconfig.c (print_version): Likewise.
15934         * locale/programs/locale.c (print_version): Likewise.
15935         * locale/programs/localedef.c (print_version): Likewise.
15936         * login/programs/pt_chown.c (print_version): Likewise.
15937         * malloc/memusage.sh (do_version): Likewise.
15938         * malloc/memusagestat.c (print_version): Likewise.
15939         * malloc/mtrace.pl: Likewise.
15940         * manual/libc.texinfo: Likewise.
15941         * nptl/version.c (banner): Likewise.
15942         * nscd/nscd.c (print_version): Likewise.
15943         * nss/getent.c (print_version): Likewise.
15944         * nss/makedb.c (print_version): Likewise.
15945         * posix/getconf.c (main): Likewise.
15946         * scripts/test-installation.pl: Likewise.
15947         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15949         * All files with FSF copyright notices: Update copyright dates
15950         using scripts/update-copyrights.
15951         * intl/plural.c: Regenerated.
15952         * locale/programs/charmap-kw.h: Likewise.
15953         * locale/programs/locfile-kw.h: Likewise.
15955 2016-01-02  Helge Deller  <deller@gmx.de>
15957         [BZ #19285]
15958         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
15959         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
15960         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
15961         (MADV_xxK_PAGES): Remove.
15963 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
15965         [BZ #15421]
15966         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
15967         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
15968         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
15969         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
15971 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
15973         [BZ #19408]
15974         * sysdeps/unix/sysv/linux/personality.c: New file.
15975         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
15976         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
15977         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
15978         (sysdep_routines): Add personality.
15979         (tests): Add tst-personality.
15980         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
15981         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
15982         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
15983         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
15984         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
15985         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
15986         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
15987         Likewise.
15988         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
15989         Likewise.
15990         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
15991         Likewise.
15992         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
15993         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
15994         Likewise.
15996 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
15998         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
15999         (PATH_ARM_SYSTYPE): Remove.
16000         (PATH_CPUINFO): Likewise.
16001         (IO_BASE_FOOTBRIDGE): Likewise.
16002         (IO_SHIFT_FOOTBRIDGE): Likewise.
16003         (struct platform): Likewise.
16004         (init_iosys): Remove compatibility code for 2.4 kernels.
16005         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
16007 2015-12-29  Florian Weimer  <fweimer@redhat.com>
16009         * malloc/tst-malloc-thread-fail.c: New file.
16010         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
16011         (tst-malloc-thread-fail): Link against libpthread.
16013 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
16015         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
16016         (get_parser): New function.
16017         (main): New function.
16019 2015-12-29  Rob Wu  <rob@robwu.nl>
16021         [BZ #19369]
16022         * resolv/res_init.c (__res_vinit): Reset defdname before use.
16024 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
16026         [BZ #19270]
16027         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16029 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
16031         [BZ #15421]
16032         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
16034 2015-12-23  Torvald Riegel  <triegel@redhat.com>
16036         [BZ #13690]
16037         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
16038         after releasing it.
16039         (__lll_robust_unlock): Likewise.
16040         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16041         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
16042         (lll_robust_unlock): Likewise.
16043         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
16044         Prevent warnings in callers.
16046 2015-12-23  Florian Weimer  <fweimer@redhat.com>
16048         * malloc/arena.c (list_lock): Update comment.
16050 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16052         * sysdeps/powerpc/hwcapinfo.c: Export symbol
16053         __parse_hwcap_and_convert_at_platform to libc.a.
16055 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16057         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16058         platform and feature support for POWER9.
16059         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16060         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16061         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16062         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16063         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16064         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16065         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16066         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16068 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16070         Harmonize generic stdio-lock support with nptl
16072         This fixes build when _IO_funlockfile is a macro, fixes build where
16073         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16074         stack unwind.
16076         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16077         _IO_release_lock ): Use cleanup attribute on new
16078         _IO_acquire_lock_file variable instead of assuming that
16079         _IO_release_lock will be called.
16080         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16081         _IO_acquire_lock_needs_exceptions_enabled.
16082         (_IO_acquire_lock_clear_flags2): New macro.
16084 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16086         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16088 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16090         [BZ #19182]
16091         * malloc/arena.c (list_lock): Document lock ordering requirements.
16092         (free_list_lock): New lock.
16093         (ptmalloc_lock_all): Comment on free_list_lock.
16094         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16095         (detach_arena): Update comment.  free_list_lock is now needed.
16096         (_int_new_arena): Use free_list_lock around detach_arena call.
16097         Acquire arena lock after list_lock.  Add comment, including FIXME
16098         about incorrect synchronization.
16099         (get_free_list): Switch to free_list_lock.
16100         (reused_arena): Acquire free_list_lock around detach_arena call
16101         and attached threads counter update.  Add two FIXMEs about
16102         incorrect synchronization.
16103         (arena_thread_freeres): Switch to free_list_lock.
16104         * malloc/malloc.c (struct malloc_state): Update comments to
16105         mention free_list_lock.
16107 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16109         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16110         Remove functions.
16111         (sloww, sloww1): Accept argument to offset quadrant.
16112         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16113         quadrant.
16114         (__sin, __cos): Consolidate common code into new functions.
16115         (reduce_sincos_1, do_sincos_1): New functions.
16116         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16118         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16119         code to new functions.
16120         (reduce_sincos_2, do_sincos_2): New functions.
16121         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16124         common code for sincos.
16125         (__cos) [!IN_SINCOS]: Likewise.
16126         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16127         New function.
16128         (__sincos): Use it.
16130 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16132         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16133         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16134         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16136 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16138         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16140         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16141         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16142         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16143         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16144         index_Prefer_No_VZEROUPPER): New feature.
16145         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16146         Prefer_No_VZEROUPPER for Knights Landing.
16148 015-12-18  Torvald Riegel  <triegel@redhat.com>
16150         * math/atest-exp2.c (mp_exp_m1): Remove.
16152 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16154         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16155         syscalls.
16156         (__SYSCALL0): New macro.
16157         (__SYSCALL1): Likewise.
16158         (__SYSCALL2): Likewise.
16159         (__SYSCALL3): Likewise.
16160         (__SYSCALL4): Likewise.
16161         (__SYSCALL5): Likewise.
16162         (__SYSCALL6): Likewise.
16163         (__SYSCALL_CONCAT_X): Likewise.
16164         (__SYSCALL_CONCAT): Likewise.
16165         (__SYSCALL_DIST): Likewise.
16166         (__SYSCALL_CALL): Likewise.
16168 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16170         [BZ #19363]
16171         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16173 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16175         [BZ #19375]
16176         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16177         negative subnormals.
16179 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16182         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16183         (INTERNAL_SYSCALL_NCS): Use it.
16184         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16186 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16188         [BZ #19243]
16189         * malloc/arena.c (get_free_list): Remove assert and adjust
16190         reference count handling.  Add comment about reused_arena
16191         interaction.
16192         (reused_arena): Add comments abount get_free_list interaction.
16193         * malloc/tst-malloc-thread-exit.c: New file.
16194         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16195         (tst-malloc-thread-exit): Link against libpthread.
16197 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16199         [BZ #19367]
16200         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16201         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16202         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16203         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16204         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16206 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16208         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16209         Silvermont optimizations for Knights Landing.
16211 2015-12-15  Andreas Schwab  <schwab@suse.de>
16213         [BZ #17197]
16214         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16215         immediately after emitting SI.
16216         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16217         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16218         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16219         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16220         * iconvdata/bug-iconv10.c: New file.
16221         * iconvdata/Makefile (tests): Add bug-iconv10.
16222         ($(objpfx)bug-iconv10.out): New rule.
16224 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16226         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16227         aliasing violation.
16229 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16231         [BZ #18472]
16232         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16233         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16234         conditionals for them.
16235         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16236         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16237         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16238         sys/kdaemon.h.
16239         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16240         compat-only syscall, obsoleted in glibc 2.23.
16241         (create_module): Likewise.
16242         (get_kernel_syms): Likewise.
16243         (query_module): Likewise.
16244         (uselib): Likewise.
16245         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16247 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16249         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16250         <linux/version.h>.
16251         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16252         conditional code.
16253         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16254         and ioshift_name initialization.
16256 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16258         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16259         Fix indentation.
16261 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16263         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16265 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16267         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16269 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16270             Jakub Wilk  <jwilk@debian.org>
16272         [BZ #19347]
16273         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16274         to change the group of the device to the tty group.
16276 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16278         Split large string section; add truncation advice
16279         * manual/examples/strncat.c: Remove.
16280         This example was misleading, as the code would have undefined
16281         behavior if "hello" was longer than SIZE.  Anyway, the manual
16282         shouldn't encourage strncpy+strncat for this sort of thing.
16283         * manual/string.texi (Copying Strings and Arrays): Split into
16284         three sections Copying Strings and Arrays, Concatenating Strings,
16285         and Truncating Strings, as this section was way too long.  All
16286         cross-referenced changed.  Add advice about string-truncation
16287         functions.  Remove misleading strncat example.
16289 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16291         * manual/nss.texi (NSS Modules Interface): Document
16292         NSS_STATUS_NOTFOUND and SUCCESS.
16294 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16296         [BZ 18568]
16297         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16298         201505L, for Unicode 8.
16300 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16302         * locale/C-translit.h: Regenerate.
16304 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16306         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16307         and U+0153.
16309 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16311         [BZ #19351]
16312         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16313         expanding log(1+z), compare z rather than its square with epsilon
16314         to determine when to avoid evaluating the expansion.
16316         [BZ #19350]
16317         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16318         Increase overflow threshold.
16320         [BZ #19349]
16321         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16322         when small.
16324         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16325         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16326         New macro.
16327         [__LINUX_KERNEL_VERSION >= 0x040300]
16328         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16330         Likewise.
16331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16332         Likewise.
16333         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16334         Likewise.
16335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16336         Likewise.
16337         [__LINUX_KERNEL_VERSION >= 0x040300]
16338         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16339         [__LINUX_KERNEL_VERSION >= 0x040300]
16340         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16341         [__LINUX_KERNEL_VERSION >= 0x040300]
16342         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16343         [__LINUX_KERNEL_VERSION >= 0x040300]
16344         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16345         [__LINUX_KERNEL_VERSION >= 0x040300]
16346         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16348         Likewise.
16349         [__LINUX_KERNEL_VERSION >= 0x040300]
16350         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16351         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16352         Likewise.
16353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16354         Likewise.
16355         [__LINUX_KERNEL_VERSION >= 0x040300]
16356         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16358         Likewise.
16359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16360         Likewise.
16361         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16363         Likewise.
16364         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16365         Likewise.
16366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16367         Likewise.
16368         [__LINUX_KERNEL_VERSION >= 0x040300]
16369         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16371         Likewise.
16372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16373         Likewise.
16374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16375         Likewise.
16376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16377         Likewise.
16378         [__LINUX_KERNEL_VERSION >= 0x040300]
16379         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16380         [__LINUX_KERNEL_VERSION >= 0x040300]
16381         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16382         [__LINUX_KERNEL_VERSION >= 0x040300]
16383         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16384         [__LINUX_KERNEL_VERSION >= 0x040300]
16385         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16386         [__LINUX_KERNEL_VERSION >= 0x040300]
16387         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16389         Likewise.
16390         [__LINUX_KERNEL_VERSION >= 0x040300]
16391         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16393         Likewise.
16394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16395         Likewise.
16396         [__LINUX_KERNEL_VERSION >= 0x040300]
16397         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16398         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16399         Likewise.
16400         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16401         Likewise.
16402         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16403         (__ASSUME_SOCKET_SYSCALL): Likewise.
16404         (__ASSUME_BIND_SYSCALL): Likewise.
16405         (__ASSUME_CONNECT_SYSCALL): Likewise.
16406         (__ASSUME_LISTEN_SYSCALL): Likewise.
16407         (__ASSUME_ACCEPT_SYSCALL): Likewise.
16408         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16409         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16410         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16411         (__ASSUME_SEND_SYSCALL): Likewise.
16412         (__ASSUME_SENDTO_SYSCALL): Likewise.
16413         (__ASSUME_RECV_SYSCALL): Likewise.
16414         (__ASSUME_RECVFROM_SYSCALL): Likewise.
16415         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
16416         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16417         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16418         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16419         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16420         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16421         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
16422         Likewise.
16423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
16424         Likewise.
16425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
16426         Likewise.
16427         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
16428         Likewise.
16429         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
16430         Likewise.
16431         [__LINUX_KERNEL_VERSION >= 0x020625]
16432         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16433         [__LINUX_KERNEL_VERSION >= 0x020625]
16434         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16435         [__LINUX_KERNEL_VERSION >= 0x020625]
16436         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16437         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
16438         Likewise.
16439         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
16440         Likewise.
16441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
16442         Likewise.
16443         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
16444         Likewise.
16445         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
16446         Likewise.
16447         [__LINUX_KERNEL_VERSION >= 0x020625]
16448         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16449         [__LINUX_KERNEL_VERSION >= 0x020625]
16450         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16451         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
16452         Likewise.
16453         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
16454         Likewise.
16456 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16458         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
16459         record the current if the current ABI and CPU support the FP64
16460         extension.
16461         (has-modd-spreg): Define to record the current if the current ABI and
16462         CPU support 32-bit floating point values in odd FPU registers.
16463         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16464         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
16465         $(has-modd-spreg) equals yes.
16466         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
16467         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
16468         $(has-modd-spreg) equal yes.
16470 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16472         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
16473         basename.
16475 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
16477         * benchtests/Makefile (bench-math): Move ffs and ffsll...
16478         (bench-string): ... here.
16479         (bench): Add bench-string.
16480         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
16481         to *-benchset to reflect what they are.
16482         (benchset): Adjust.
16484         * benchtests/sincos-inputs: Add inputs from sin-inputs and
16485         cos-inputs.
16487 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
16489         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
16490         __attribute__ ((__simd__)) for vector math function declarations.
16492 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16494         Fix typo in strncat, wcsncat manual entries
16495         * manual/string.texi (Copying and Concatenation): Fix typos in
16496         sample implementations of strncat and wcsncat, by having them use
16497         the old value of the destination length, not the new one.
16499 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
16501         [BZ #16961]
16502         [BZ #16962]
16503         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
16504         string on the stack for strtod.
16505         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
16506         a string on the stack for strtof.
16507         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
16508         constructing a string on the stack for strtold.
16509         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
16510         __strtold_nan to GLIBC_PRIVATE.
16511         * math/test-nan-overflow.c: New file.
16512         * math/test-nan-payload.c: Likewise.
16513         * math/Makefile (tests): Add test-nan-overflow and
16514         test-nan-payload.
16516 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16518         Consistency about byte vs character in string.texi
16519         * manual/string.texi (String and Array Utilities):
16520         Distinguish more carefully among bytes, multibyte characters,
16521         and wide characters.  Use "byte" when talking about C 'char',
16522         to distinguish it more clearly from multibyte characters.
16523         Say "wide character" or "multibyte character" instead of
16524         "character", when a wide or multibyte character is intended.
16525         Similarly for "multibyte string" versus "string".
16526         Define these terms more carefully.
16528 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
16530         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
16531         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
16532         Likewise.
16533         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16534         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16535         * sysdeps/sh/math_private.h: New file.
16536         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
16537         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
16538         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
16539         long double function name.
16540         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16541         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16542         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16543         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16544         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16546         Remove __finitel, __isinfl, and __isnanl.
16547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16548         Likewise.
16549         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16551         Remove __finitel.
16552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16553         Likewise.
16554         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16556 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
16558         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
16559         installed libmvec_nonshared.a.
16561 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16563         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
16564         (sysdep_routines): Likewise.
16565         (sysdep-rtld-routines): Likewise.
16566         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
16567         [$(subdir) = nptl](tests-static): test-get_hwcap-static
16568         * sysdeps/powerpc/Versions: Added new
16569         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
16570         * sysdeps/powerpc/hwcapinfo.c: New file.
16571         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
16572         and parse hwcap, hwcap2 and platform number information.
16573         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
16574         to store HWCAP+HWCAP2 and platform number.
16575         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
16576         for HWCAP+HWCAP2 and platform number in the TCB.
16577         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
16578         the HWCAP, HWCAP2 and platform number in the TCB.
16579         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
16580         (TLS_INIT_TP): Included calls to add the hwcap and
16581         at_platform values in the TCB in TP initialization.
16582         (TLS_DEFINE_INIT_TP): Likewise.
16583         (THREAD_GET_HWCAP): New macro.
16584         (THREAD_SET_HWCAP): Likewise.
16585         (THREAD_GET_AT_PLATFORM): Likewise.
16586         (THREAD_SET_AT_PLATFORM): Likewise.
16587         * sysdeps/powerpc/powerpc32/dl-machine.h:
16588         (dl_platform_init): New function that calls
16589         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
16590         powerpc32.
16591         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
16592         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
16593         this functionality, static linking case.
16594         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
16595         linking case.
16596         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
16597         __parse_hwcap_and_convert_at_platform for the static linking case.
16598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
16599         Included the new __parse_hwcap_and_convert_at_platform symbol in the
16600         ABI list for GLIBC 2.23.
16601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
16602         Likewise.
16603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
16604         Likewise.
16606 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
16608         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
16609         * configure: Regenerate.
16610         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
16611         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
16613 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
16615         * iconvdata/ibm930.c: Add comment explaining encoding uses.
16616         * iconvdata/ibm933.c: Likewise.
16617         * iconvdata/ibm935.c: Likewise.
16618         * iconvdata/ibm937.c: Likewise.
16619         * iconvdata/ibm939.c: Likewise.
16621 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16623         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
16624         pthread_join.
16625         * nptl/tst-cancel21.c (tf): Likewise.
16627 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
16629         [BZ #19313]
16630         * bits/typesizes.h (__CPU_MASK_TYPE): New.
16631         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16632         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16633         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
16634         Likewise.
16635         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
16636         Likewise.
16637         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
16638         Likewise.
16639         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
16640         Likewise.
16641         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
16642         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
16643         unsigned long int with __CPU_MASK_TYPE.
16645 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16647         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16649 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
16651         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
16652         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
16653         t512.x.
16654         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
16656 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
16658         [BZ #19214]
16659         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
16660         argument to return extended model.  Update family and model
16661         with extended family and model when family == 0x0f.
16662         (init_cpu_features): Updated.
16664 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16666         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
16667         signed off_t, so 32bit bigger than 2GiB values are fine actually.
16669         * sysdeps/mach/hurd/mmap64.c: New file.
16671 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
16673         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
16674         rights for its main user thread in NEWTASK.
16676 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
16678         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
16679         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
16681 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
16683         [BZ #14259]
16684         * Makeconfig: Rename localedir to complocaledir.
16685         Rename inst_localedir to inst_complocaledir.
16686         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
16687         * config.make.in: Use complocaledir and libc_cv_complocaledir.
16688         * configure.ac: Use libc_cv_complocaledir.
16689         * configure: Regenerate.
16690         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
16691         -DCOMPLOCALEDIR.
16692         * locale/findlocale.c: Use COMPLOCALEDIR.
16693         * locale/loadarchive.c: Likewise.
16694         * locale/programs/locale.c: Likewise.
16695         * locale/programs/localedef.c: Likewise.
16696         * locale/programs/locarchive.c: Likewise.
16697         * localedata/Makefile: Use inst_complocaledir.
16698         * sysdeps/gnu/configure: Regenerate.
16699         * sysdeps/hppa/configure: Regenerate.
16700         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16701         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16703         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16704         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16705         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16706         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16708 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
16710         [BZ #19058]
16711         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
16712         AS_NEEDED.
16713         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
16714         workaround.
16715         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
16716         libmvec-static-only-routines): Added new file.
16717         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
16719 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16721         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
16722         of interrupted RPC instead of restoring it.
16724         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
16725         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
16726         libc_hidden_def.
16727         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
16728         into initialized data instead of common. Define rtld_hidden_data_def.
16729         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
16730         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
16731         libc_hidden_def.
16732         (if_freenameindex): Add libc_hidden_weak.
16733         (if_nameindex): Add libc_hidden_weak.
16734         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
16735         __open64.
16736         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
16737         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
16738         * sysdeps/mach/nanosleep.c: Include <time.h>
16739         (__nanosleep): Rename to __libc_nanosleep.
16740         (__nanosleep): Add weak_alias.
16741         (nanosleep): Update alias.
16743 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
16745         * stdlib/strtod_nan.c: New file.
16746         * stdlib/strtod_nan_double.h: Likewise.
16747         * stdlib/strtod_nan_float.h: Likewise.
16748         * stdlib/strtod_nan_main.c: Likewise.
16749         * stdlib/strtod_nan_narrow.h: Likewise.
16750         * stdlib/strtod_nan_wide.h: Likewise.
16751         * stdlib/strtof_nan.c: Likewise.
16752         * stdlib/strtold_nan.c: Likewise.
16753         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
16754         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
16755         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
16756         * wcsmbs/wcstod_nan.c: Likewise.
16757         * wcsmbs/wcstof_nan.c: Likewise.
16758         * wcsmbs/wcstold_nan.c: Likewise.
16759         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
16760         strtold_nan.
16761         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
16762         wcstof_nan.
16763         * include/stdlib.h (__strtof_nan): Declare and use
16764         libc_hidden_proto.
16765         (__strtod_nan): Likewise.
16766         (__strtold_nan): Likewise.
16767         (__wcstof_nan): Likewise.
16768         (__wcstod_nan): Likewise.
16769         (__wcstold_nan): Likewise.
16770         * include/wchar.h (____wcstoull_l_internal): Declare.
16771         * stdlib/strtod_l.c: Do not include <ieee754.h>.
16772         (____strtoull_l_internal): Remove declaration.
16773         (STRTOF_NAN): Define macro.
16774         (SET_MANTISSA): Remove macro.
16775         (STRTOULL): Likewise.
16776         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
16777         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
16778         (STRTOF_NAN): Define macro.
16779         (SET_MANTISSA): Remove macro.
16780         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
16781         (SET_MANTISSA): Remove macro.
16782         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
16783         macro.
16784         (SET_MANTISSA): Remove macro.
16785         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
16786         macro.
16787         (SET_MANTISSA): Remove macro.
16788         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
16789         (SET_MANTISSA): Remove macro.
16790         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
16791         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
16792         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
16794         [BZ #19266]
16795         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
16796         upper case and lower case letters inside NAN(), not using TOLOWER.
16797         * stdlib/tst-strtod-nan-locale-main.c: New file.
16798         * stdlib/tst-strtod-nan-locale.c: Likewise.
16799         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
16800         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
16801         Depend on $(gen-locales).
16802         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
16803         * wcsmbs/tst-wcstod-nan-locale.c: New file.
16804         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
16805         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
16806         Depend on $(gen-locales).
16807         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
16809 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
16811         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
16813         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
16815         __finitel, __isinfl, and __isnanl.
16816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16817         Likewise.
16818         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
16820         __finitel.
16821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16822         Likewise.
16823         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16825 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16827         * malloc/memusage.c (me): Remove redundant getenv call.
16829 2015-10-24  Florian Weimer  <fweimer@redhat.com>
16831         [BZ #19143]
16832         [BZ #19164]
16833         * nptl/check-cpuset.h: Remove.
16834         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
16835         Remove CPU set size check.
16836         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
16837         Likewise.
16838         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
16839         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16840         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
16841         (__pthread_setaffinity_new): Remove CPU set size check.
16842         * sysdeps/unix/sysv/linux/sched_setaffinity.c
16843         (__kernel_cpumask_size): Remove.
16844         (__sched_setaffinity_new): Remove CPU set size check.
16845         * manual/threads.texi (Default Thread Attributes): Remove stale
16846         reference to check_cpuset_attr, determine_cpumask_size in comment.
16847         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
16848         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
16849         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
16850         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
16851         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
16852         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
16853         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
16854         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
16855         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
16856         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
16857         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
16858         skeleton test file.
16859         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
16860         tst-affinity-pid.
16862 2015-11-24  Florian Weimer  <fweimer@redhat.com>
16864         * scripts/update-abilist.sh: New file.
16865         * Makefile (+subdir_targets): Add subdir_update-all-abi.
16866         * Makerules (update-all-abi-%, update-all-abi)
16867         (subdir_update-all-abi): New targets.
16868         * elf/Makefile (update-all-abi): New target.
16870 2015-11-24  Florian Weimer  <fweimer@redhat.com>
16872         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
16873         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
16874         (__libc_lock_define_initialized): Use it.
16875         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
16876         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
16877         * malloc/malloc.c (main_arena): Likewise.
16878         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
16879         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
16881 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
16883         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16884         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
16885         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16886         (PTRACE_O_MASK): Update value.
16887         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
16888         New value in enum __ptrace_setoptions.
16889         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16890         (PTRACE_O_MASK): Update value.
16891         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16892         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16893         (PTRACE_O_MASK): Update value.
16894         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16895         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16896         (PTRACE_O_MASK): Update value.
16897         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16898         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16899         (PTRACE_O_MASK): Update value.
16900         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
16901         New value in enum __ptrace_setoptions.
16902         (PTRACE_O_MASK): Update value.
16903         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
16904         New value in enum __ptrace_setoptions.
16905         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16906         (PTRACE_O_MASK): Update value.
16908         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
16909         New macro.
16910         (PACKET_AUXDATA): Likewise.
16911         (PACKET_ORIGDEV): Likewise.
16912         (PACKET_VERSION): Likewise.
16913         (PACKET_HDRLEN): Likewise.
16914         (PACKET_RESERVE): Likewise.
16915         (PACKET_TX_RING): Likewise.
16916         (PACKET_LOSS): Likewise.
16917         (PACKET_VNET_HDR): Likewise.
16918         (PACKET_TX_TIMESTAMP): Likewise.
16919         (PACKET_TIMESTAMP): Likewise.
16920         (PACKET_FANOUT): Likewise.
16921         (PACKET_TX_HAS_OFF): Likewise.
16922         (PACKET_QDISC_BYPASS): Likewise.
16923         (PACKET_ROLLOVER_STATS): Likewise.
16924         (PACKET_FANOUT_DATA): Likewise.
16925         (PACKET_MR_UNICAST): Likewise.
16927         [BZ #19242]
16928         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
16929         (TOUPPER): Likewise.
16930         * stdlib/tst-strtol-locale-main.c: New file.
16931         * stdlib/tst-strtol-locale.c: Likewise.
16932         * stdlib/Makefile (tests): Add tst-strtol-locale.
16933         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
16934         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
16935         Depend on $(gen-locales).
16936         * wcsmbs/tst-wcstol-locale.c: New file.
16937         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
16938         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
16939         tr_TR.ISO-8859-9.
16940         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
16941         Depend on $(gen-locales).
16943 2015-11-20  Roland McGrath  <roland@hack.frob.com>
16945         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
16946         __glibc_likely instead of __builtin_expect.  After falling back to
16947         dyncode_create in a non-ET_DYN case, use the allocate_code_data
16948         system interface to register the code pages as occupied.
16950 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
16952         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16953         [!ARM_MATH_PRIVATE_H].
16954         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
16955         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16956         [!HPPA_MATH_PRIVATE_H].
16957         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
16958         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
16959         to [!I386_MATH_PRIVATE_H].
16960         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
16961         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
16962         Change guard to [!M68K_MATH_PRIVATE_H].
16963         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
16964         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
16965         guard to [!MICROBLAZE_MATH_PRIVATE_H].
16966         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
16967         macro.
16968         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16969         [!MIPS_MATH_PRIVATE_H].
16970         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
16971         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16972         [!NIO2_MATH_PRIVATE_H].
16973         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
16974         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16975         [!TILE_MATH_PRIVATE_H].
16976         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
16978         [BZ #15421]
16979         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
16980         initialize with 0 and define as weak alias of __signgam.
16981         * include/math.h [!_ISOMAC] (__signgam): Declare.
16982         * math/Makefile (libm-calls): Add w_lgamma_compat.
16983         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
16984         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
16985         test-signgam-ullong-init.
16986         (tests-static): Add test-signgam-uchar-static,
16987         test-signgam-uchar-init-static, test-signgam-uint-static,
16988         test-signgam-uint-init-static, test-signgam-ullong-static and
16989         test-signgam-ullong-init-static.
16990         (CFLAGS-test-signgam-uchar.c): New variable.
16991         (CFLAGS-test-signgam-uchar-init.c): Likewise.
16992         (CFLAGS-test-signgam-uchar-static.c): Likewise.
16993         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16994         (CFLAGS-test-signgam-uint.c): Likewise.
16995         (CFLAGS-test-signgam-uint-init.c): Likewise.
16996         (CFLAGS-test-signgam-uint-static.c): Likewise.
16997         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16998         (CFLAGS-test-signgam-ullong.c): Likewise.
16999         (CFLAGS-test-signgam-ullong-init.c): Likewise.
17000         (CFLAGS-test-signgam-ullong-static.c): Likewise.
17001         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17002         * math/Versions (libm): Add GLIBC_2.23.
17003         * math/lgamma-compat.h: New file.
17004         * math/test-signgam-main.c: Likewise.
17005         * math/test-signgam-uchar-init-static.c: Likewise.
17006         * math/test-signgam-uchar-init.c: Likewise.
17007         * math/test-signgam-uchar-static.c: Likewise.
17008         * math/test-signgam-uchar.c: Likewise.
17009         * math/test-signgam-uint-init-static.c: Likewise.
17010         * math/test-signgam-uint-init.c: Likewise.
17011         * math/test-signgam-uint-static.c: Likewise.
17012         * math/test-signgam-uint.c: Likewise.
17013         * math/test-signgam-ullong-init-static.c: Likewise.
17014         * math/test-signgam-ullong-init.c: Likewise.
17015         * math/test-signgam-ullong-static.c: Likewise.
17016         * math/test-signgam-ullong.c: Likewise.
17017         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
17018         wrapper of w_lgamma_main.c.
17019         * math/w_lgamma_compat.c: New file.
17020         * math/w_lgamma_compatf.c: Likewise.
17021         * math/w_lgamma_compatl.c: Likewise.
17022         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
17023         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17024         defining compatibility symbols.
17025         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
17026         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
17027         wrapper of w_lgammaf_main.c.
17028         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
17029         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17030         defining compatibility symbols.
17031         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
17032         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
17033         wrapper of w_lgammal_main.c.
17034         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
17035         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17036         defining compatibility symbols.
17037         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
17038         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
17039         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
17040         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
17041         <lgamma-compat.h>.
17042         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
17043         (__ieee754_gamma): Define as alias.
17044         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
17045         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
17046         <lgamma-compat.h>.
17047         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
17048         (__ieee754_gammaf): Define as alias.
17049         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17050         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
17051         <lgamma-compat.h>.
17052         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
17053         (__ieee754_gammal): Define as alias.
17054         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17055         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
17056         <math/w_lgamma_compat.c>.
17057         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17058         Define as alias of __lgamma_compat and use in defining lgammal.
17059         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17060         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
17061         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17062         (USE_AS_COMPAT): New macro.
17063         (LGAMMA_OLD_VER): Undefine and redefine.
17064         (lgammal): Do not define here.
17065         (gammal): Only define here if [GAMMA_ALIAS].
17066         * conform/linknamespace.pl (@whitelist): Remove signgam.
17067         * sysdeps/nacl/libm.abilist: Update.
17068         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17069         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17070         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17071         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17072         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17073         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17074         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17075         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17076         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17077         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17078         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17079         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17081         Likewise.
17082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17083         Likewise.
17084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17085         Likewise.
17086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17087         Likewise.
17088         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17089         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17090         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17091         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17092         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17094         Likewise.
17095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17096         Likewise.
17097         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17098         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17099         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17101 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17103         [BZ #16364]
17104         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17105         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17107 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17109         * sysdeps/s390/fpu/bits/mathinline.h:
17110         Use __asm__ [__volatile__] instead of asm [volatile].
17111         * sysdeps/s390/abort-instr.h: Likewise.
17112         * sysdeps/s390/atomic-machine.h: Likewise.
17113         * sysdeps/s390/bits/string.h: Likewise.
17114         * sysdeps/s390/dl-tls.h: Likewise.
17115         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17116         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17117         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17118         * sysdeps/s390/fpu/fesetround.c: Likewise.
17119         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17120         * sysdeps/s390/fpu/s_fma.c: Likewise.
17121         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17122         * sysdeps/s390/memusage.h: Likewise.
17123         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17124         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17125         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17126         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17127         * sysdeps/s390/nptl/tls.h: Likewise.
17128         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17129         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17130         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17131         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17132         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17133         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17134         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17135         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17136         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17137         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17138         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17139         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17140         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17141         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17142         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17143         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17144         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17145         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17146         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17148         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17149         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17150         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17152 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17153             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17155         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17156         Add lwarx hint, and use macro for acquire instruction.
17157         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17158         Likewise.
17159         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17160         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17161         update to use new atomic macros.
17163 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17165         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17166         (__lll_trylock_elision): Fix setting of adapt_count.
17167         * sysdeps/unix/sysv/linux/powerpc/htm.h
17168         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17169         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17170         (_ABORT_SYSCALL): Renumber, and clarify definition.
17171         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17173 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17175         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17176         after system headers to prevent MIN/MAX redefinition.  Define
17177         HAVE_ALLOCA to preserve builtin alloca usage.
17179 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17181         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17182         static and don't set or restore rounding.
17183         (__cos)[IN_SINCOS]: Likewise.
17184         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17185         (__sincos): Set and restore rounding mode.  Remove check for infinite
17186         or NaN input.
17188         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17190         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17191         as used.
17193 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17195         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17197 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17199         * config.make.in (have-glob-dat-reloc): New.
17200         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17201         target supports GLOB_DAT relocaton. AC_SUBST.
17202         * configure: Regenerated.
17203         * elf/Makefile (tests): Add tst-prelink.
17204         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17205         (tst-prelink-ENV): New.
17206         ($(objpfx)tst-prelink-conflict.out): Likewise.
17207         ($(objpfx)tst-prelink-cmp.out): Likewise.
17208         * sysdeps/x86/tst-prelink.c: Moved to ...
17209         * elf/tst-prelink.c: Here.
17210         * sysdeps/x86/tst-prelink.exp: Moved to ...
17211         * elf/tst-prelink.exp: Here.
17212         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17213         (tst-prelink-ENV): Removed.
17214         ($(objpfx)tst-prelink-conflict.out): Likewise.
17215         ($(objpfx)tst-prelink-cmp.out): Likewise.
17216         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17218 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17220         [BZ #14551]
17221         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17222         (__mpn_construct_long_double): If high part overflows to infinity,
17223         set errno and recompute overflowed result of the correct sign.
17224         * sysdeps/ieee754/ldbl-128ibm/Makefile
17225         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17226         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17227         $(libm).
17228         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17230 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17232         [BZ #15479]
17233         [BZ #19238]
17234         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17235         floating-point state after first operation on input.  Restore full
17236         state rather than just rounding mode.
17237         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17238         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17239         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17241         [BZ #19235]
17242         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17243         add 0.5 to integer arguments.
17244         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17245         Likewise.
17246         (.LC2): New object.
17248 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17250         * scripts/pylintrc (reports): Set to no.
17252 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17254         * elf/dl-load.c (open_verify): Take new argument FD.
17255         Skip __open call if passed FD is not -1.
17256         (_dl_map_object, open_path): Update callers.
17257         * elf/dl-sysdep-open.h: New file.
17258         * elf/dl-load.c: Include it.
17259         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17260         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17261         * sysdeps/nacl/dl-sysdep-open.h: New file.
17262         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17263         from libc to rtld.
17265 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17267         [BZ #19228]
17268         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17269         and restore full floating-point state.
17270         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17271         Likewise.
17272         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17273         Likewise.
17274         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17275         Likewise.
17276         * math/test-nearbyint-except-2.c: New file.
17277         * math/Makefile (tests): Add test-nearbyint-except-2.
17279 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17281         [BZ #19178]
17282         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17283         (tst-prelink-ENV): New.
17284         ($(objpfx)tst-prelink-conflict.out): Likewise.
17285         ($(objpfx)tst-prelink-cmp.out): Likewise.
17286         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17287         * sysdeps/x86/tst-prelink.c: New file.
17288         * sysdeps/x86/tst-prelink.exp: Likewise.
17290 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17292         * math/auto-libm-test-in: Add another test of pow.
17293         * math/auto-libm-test-out: Regenerated.
17294         * math/libm-test.inc (pow_test_data): Add another test.
17296 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17298         [BZ #19219]
17299         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17300         weak_alias to nearbyintl.
17302 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17304         * sysdeps/aarch64/bits/string.h: New file.
17305         (_STRING_ARCH_unaligned): Define.
17307 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17309         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17310         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17311         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17312         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17315 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17317         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17318         for original name of the DSO.  Add it to the name list of the DSO
17319         if it is actually given.
17320         (_dl_map_object): Keep track of whether an audit module rewrote
17321         the file name.  If yes, pass the original name to
17322         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17323         debugging is enabled, log the change of the file name.
17324         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17325         _dl_map_object_from_fd.
17326         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17327         * elf/tst-audit11.c: New file
17328         * elf/tst-auditmod11.c: New file.
17329         * elf/tst-audit11mod1.c: New file.
17330         * elf/tst-audit11mod2.c: New file.
17331         * elf/tst-audit11mod2.map: New file.
17332         * elf/tst-audit12.c: New file
17333         * elf/tst-auditmod12.c: New file.
17334         * elf/tst-audit12mod1.c: New file.
17335         * elf/tst-audit12mod2.c: New file.
17336         * elf/tst-audit12mod2.map: New file.
17337         * elf/tst-audit12mod3.c: New file.
17339 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17341         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17342         Don't create weak aliases,
17343         because versioned symbols are created later.
17344         * sysdeps/s390/s390-32/setjmp.S
17345         (setjmp, _setjmp): Remove weak and rename to an unique name
17346         in SHARED case due to existing versioned symbols.
17347         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17348         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17349         (getcontext): Create weak alias only in non SHARED case.
17350         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17352 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17354         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17355         (__ASSUME_*_SYSCALL) Define new macros.
17356         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17357         Remove socketcall syscalls.
17358         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17359         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17360         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17361         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17362         * sysdeps/unix/sysv/linux/send.c (__libc_send):
17363         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17365 2015-11-09  Florian Weimer  <fweimer@redhat.com>
17367         [BZ #12926]
17368         Terminate process on invalid netlink response.
17369         * sysdeps/unix/sysv/linux/netlinkaccess.h
17370         (__netlink_assert_response): Declare.
17371         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
17372         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
17373         (sysdep_routines): Add netlink_assert_response.
17374         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
17375         __netlink_assert_response.
17376         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17377         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17378         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
17379         __netlink_assert_response.
17381 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17383         [BZ #19178]
17384         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
17385         (RTYPE_CLASS_PLT): Likewise.
17386         (RTYPE_CLASS_COPY): Likewise.
17387         (RTYPE_CLASS_TLS): Likewise.
17388         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
17389         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
17390         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
17391         DL_DEBUG_PRELINK.
17393 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
17395         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
17396         calls with argument -0.5.
17397         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
17399         * configure.ac (libc_cv_z_nodelete): Remove configure test.
17400         (libc_cv_z_nodlopen): Likewise.
17401         (libc_cv_z_initfirst): Likewise.
17402         * configure: Regenerated.
17404 2015-11-06  Florian Weimer  <fweimer@redhat.com>
17406         Simplify abilist format to be line-based.
17407         * scripts/abilist.awk: Collect descriptors in the descs variable.
17408         (emit): Write descs variable and sort it
17409         externally, with sort.
17410         * sysdeps/**/*.abilist: Convert to new format.
17412 2015-11-06  Mark Wielaard  <mjw@redhat.com>
17414         [BZ #11460]
17415         * io/Makefile (routines): Add fts64.
17416         (tests): Add tst-fts and tst-fts-lfs.
17417         (CFLAGS-fts64.c): New.
17418         * io/Versions (GLIBC_2.23): New.
17419         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
17420         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
17421         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
17422         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
17423         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
17424         (FTSENT64): Likewise.
17425         (fts64_children): Likewise.
17426         (fts64_close): Likewise.
17427         (fts64_open): Likewise.
17428         (fts64_read): Likewise.
17429         (fts64_set): Likewise.
17430         * io/fts64.c: New file.
17431         * io/tst-fts.c: New test.
17432         * io/tst-fts-lfs.c: Likewise.
17433         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
17434         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
17435         fts64_set.
17436         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17437         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17438         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17439         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17440         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17441         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17442         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17443         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17444         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17445         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17446         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17447         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17448         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17450         Likewise.
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17452         Likewise.
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17455         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17456         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17457         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17458         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17459         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17462         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17463         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17464         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17465         * sysdeps/wordsize-64/fts.c: New file.
17466         * sysdeps/wordsize-64/fts64.c: Likewise.
17467         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
17468         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
17469         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
17470         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
17472 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17474         * math/libm-test.inc (NON_FINITE): New macro.
17475         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
17476         * math/gen-libm-test.pl (show_exceptions): Add argument
17477         $non_finite.
17478         (parse_args): Update call to show_exceptions.
17479         * math/test-math-finite.h: New file.
17480         * math/test-math-no-finite.h: Likewise.
17481         * math/test-double-finite.c: Likewise.
17482         * math/test-float-finite.c: Likewise.
17483         * math/test-ldouble-finite.c: Likewise.
17484         * math/test-double.c: Include "test-math-no-finite.h".
17485         * math/test-float.c: Include "test-math-no-finite.h".
17486         * math/test-ldouble.c: Include "test-math-no-finite.h".
17487         * math/test-math-inline.h (TEST_FINITE): New macro.
17488         * math/test-math-vector.h (TEST_FINITE): Likewise.
17489         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
17490         (libm-tests): Add test-float-finite and test-double-finite.
17491         ($(objpfx)test-float-finite.o): New dependency on
17492         $(objpfx)libm-test.stmp.
17493         ($(objpfx)test-double-finite.o): Likewise.
17494         ($(objpfx)test-ldouble-finite.o): Likewise.
17495         (libm-test-no-inline-cflags): New variable.
17496         (libm-test-finite-cflags): Likewise.
17497         (CFLAGS-test-float-finite.c): Likewise.
17498         (CFLAGS-test-double-finite.c): Likewise.
17499         (CFLAGS-test-ldouble-finite.c): Likewise.
17500         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
17501         (CFLAGS-test-double.c): Likewise.
17502         (CFLAGS-test-ldouble.c): Likewise.
17504 2015-11-05  Roland McGrath  <roland@hack.frob.com>
17506         * io/fcntl.c (__fcntl): Add ... to prototype.
17507         * misc/ioctl.c (__ioctl): Likewise.
17508         * misc/syscall.c (syscall): Likewise.
17510 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17512         * scripts/list-fixed-bugs.py: New file.
17514         [BZ #19213]
17515         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
17516         returned for argument 1.
17517         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
17518         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
17519         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
17520         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
17521         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
17522         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
17524         [BZ #19211]
17525         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
17526         __USE_XOPEN], not if [!__USE_ISOC99].
17527         (lgammaf): Likewise.
17528         (lgammal): Likewise.
17529         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
17530         (gammaf): Likewise.
17531         (gammal): Likewise.
17532         * math/test-signgam-finite-c11.c: New file.
17533         * math/test-signgam-finite-c99.c: Likewise.
17534         * math/test-signgam-finite.c: Likewise.
17535         * math/Makefile (tests): Add test-signgam-finite,
17536         test-signgam-finite-c99 and test-signgam-finite-c11.
17537         (CFLAGS-test-signgam-finite.c): New variable.
17538         (CFLAGS-test-signgam-finite-c99.c): Likewise.
17539         (CFLAGS-test-signgam-finite-c11.c): Likewise.
17541         [BZ #19212]
17542         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
17543         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
17544         500].
17545         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
17546         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
17547         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
17548         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
17549         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
17550         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
17551         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
17552         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
17553         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
17554         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
17556         [BZ #19209]
17557         * math/bits/math-finite.h (ldexp): Remove declaration.
17558         (ldexpf): Likewise.
17559         (ldexpl): Likewise.
17561         [BZ #19205]
17562         * math/bits/math-finite.h (acosf): Condition declaration on
17563         [__USE_ISOC99].
17564         (acosl): Likewise.
17565         (acoshf): Likewise.
17566         (acoshl): Likewise.
17567         (asinf): Likewise.
17568         (asinl): Likewise.
17569         (atan2f): Likewise.
17570         (atan2l): Likewise.
17571         (atanhf): Likewise.
17572         (atanhl): Likewise.
17573         (coshf): Likewise.
17574         (coshl): Likewise.
17575         (expf): Likewise.
17576         (expl): Likewise.
17577         (fmodf): Likewise.
17578         (fmodl): Likewise.
17579         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
17580         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
17581         (j0l): Likewise.
17582         (y0f): Likewise.
17583         (y0l): Likewise.
17584         (j1f): Likewise.
17585         (j1l): Likewise.
17586         (y1f): Likewise.
17587         (y1l): Likewise.
17588         (jnf): Likewise.
17589         (jnl): Likewise.
17590         (ynf): Likewise.
17591         (ynl): Likewise.
17592         (lgammaf_r): Condition declaration on [__USE_ISOC99].
17593         (lgammal_r): Likewise.
17594         (__lgamma_r_finite): New declaration.
17595         (__lgammaf_r_finite): Likewise.
17596         (__lgammal_r_finite): Likewise.
17597         (lgamma): Use __lgamma_r_finite.
17598         (lgammaf): Condition definition on [__USE_ISOC99].  Use
17599         __lgammaf_r_finite.
17600         (lgammal): Condition definition on [__USE_ISOC99].  Use
17601         __lgammal_r_finite.
17602         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
17603         __lgamma_r_finite.
17604         (gammaf): Condition definition on [__USE_ISOC99].  Use
17605         __lgammaf_r_finite.
17606         (gammal): Condition definition on [__USE_ISOC99].  Use
17607         __lgammal_r_finite.
17608         (logf): Condition declaration on [__USE_ISOC99].
17609         (logl): Likewise.
17610         (log10f): Likewise.
17611         (log10l): Likewise.
17612         (ldexpf): Likewise.
17613         (ldexpl): Likewise.
17614         (powf): Likewise.
17615         (powl): Likewise.
17616         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
17617         __USE_ISOC99].
17618         (remainderf): Condition declaration on [__USE_ISOC99].
17619         (remainderl): Likewise.
17620         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
17621         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
17622         (scalbl): Likewise.
17623         (sinhf): Condition declaration on [__USE_ISOC99].
17624         (sinhl): Likewise.
17625         (sqrtf): Likewise.
17626         (sqrtl): Likewise.
17628 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
17630         * sysdeps/arm/atomic-machine.h
17631         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17632         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17633         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
17634         Remove conditional code.
17635         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17636         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17637         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
17638         Change conditional to [__ASSEMBLER__].
17639         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17640         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
17641         [!__ASSEMBLER__].
17642         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
17643         code.
17644         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
17645         conditional macro definitions.
17646         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
17647         (__arch_compare_and_exchange_val_16_acq): Likewise.
17648         (__arch_compare_and_exchange_val_32_acq): Likewise.
17649         (atomic_exchange_and_add): Likewise.
17650         (atomic_add): Likewise.
17651         (atomic_add_negative): Likewise.
17652         (atomic_add_zero): Likewise.
17653         (atomic_bit_set): Likewise.
17654         (atomic_bit_test_set): Likewise.
17655         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
17656         code unconditional.
17657         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17659         * math/test-math-errno.h: New file.
17660         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
17661         empty.
17662         (TEST_ERRNO): New macro.
17663         (TEST_EXCEPTIONS): Likewise.
17664         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
17665         (TEST_EXCEPTIONS): Likewise.
17666         * math/test-math-vector.h (TEST_ERRNO): Likewise.
17667         * math/test-double.c: Include "test-math-errno.h".
17668         * math/test-float.c: Likewise.
17669         * math/test-ldouble.c: Likewise.
17670         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
17671         code unconditional.
17672         (test_exceptions): Only run code if TEST_EXCEPTIONS.
17673         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
17674         unconditional.
17675         (test_errno): Only run code if TEST_ERRNO.
17676         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
17678 2015-11-04  Florian Weimer  <fweimer@redhat.com>
17680         * nptl/tst-once5.cc: Remove attribution.
17682 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
17684         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
17685         sqrt, tan, tanh, y0, y1 and yn.
17686         * math/auto-libm-test-out: Regenerated.
17687         * math/libm-test.inc (scalb_test_data): Add more tests.
17688         (scalbn_test_data): Likewise.
17689         (scalbln_test_data): Likewise.
17690         (signbit_test_data): Likewise.
17691         (sin_test_data): Likewise.
17692         (sincos_test_data): Likewise.
17693         (sinh_test_data): Likewise.
17694         (sqrt_test_data): Likewise.
17695         (tan_test_data): Likewise.
17696         (tanh_test_data): Likewise.
17697         (tgamma_test_data): Likewise.
17698         (y0_test_data): Likewise.
17699         (y1_test_data): Likewise.
17700         (yn_test_data): Likewise.
17701         (significand_test_data): Likewise.
17702         * sysdeps/i386/fpu/libm-test-ulps: Update.
17704 2015-11-03  David Kastrup  <dak@gnu.org>
17706         [BZ #18604]
17707         * assert/assert.h (assert): Don't macro-expand failed assertion
17708         expression in error message.
17709         * malloc/malloc.c (assert): Likewise.
17711 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
17713         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
17714         test.
17715         * configure: Regenerated.
17717 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
17719         * math/libm-test.inc (modf_test_data): Add more tests.
17720         (nearbyint_test_data): Likewise.
17721         (nextafter_test_data): Likewise.
17722         (nexttoward_test_data): Likewise.
17723         (pow_test_data): Likewise.
17724         (remainder_test_data): Likewise.
17725         (remquo_test_data): Likewise.
17726         (rint_test_data): Likewise.
17728         [BZ #19201]
17729         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17730         Check for zero remainder in case of large exponents and ensure
17731         correct sign of result in that case.
17732         * math/libm-test.inc (remainder_test_data): Add more tests.
17734         [BZ #6799]
17735         * math/s_nextafter.c: Include <errno.h>.
17736         (__nextafter): Set errno on overflow and underflow.
17737         * math/s_nexttowardf.c: Include <errno.h>.
17738         (__nexttowardf): Set errno on overflow and underflow.
17739         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
17740         (__nextafterl): Set errno on overflow and underflow.
17741         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
17742         (__nexttoward): Set errno on overflow and underflow.
17743         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
17744         (__nexttowardf): Set errno on overflow and underflow.
17745         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
17746         (__nextafterf): Set errno on overflow and underflow.
17747         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
17748         (__nextafterl): Set errno on overflow and underflow.
17749         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
17750         (__nexttoward): Set errno on overflow and underflow.
17751         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
17752         (__nexttowardf): Set errno on overflow and underflow.
17753         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
17754         (__nextafterl): Set errno on overflow and underflow.
17755         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
17756         (__nexttoward): Set errno on overflow and underflow.
17757         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
17758         (__nexttowardf): Set errno on overflow and underflow.
17759         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
17760         (__nexttoward): Set errno on overflow and underflow.
17761         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
17762         (__nexttowardf): Set errno on overflow and underflow.
17763         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
17764         (__nldbl_nexttowardf): Set errno on overflow and underflow.
17765         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
17766         (__nextafterl): Set errno on overflow and underflow.
17767         * math/libm-test.inc (nextafter_test_data): Do not allow errno
17768         setting to be missing on overflow.  Add more tests.
17769         (nexttoward_test_data): Likewise.
17771         * configure.ac (libc_cv_initfini_array): Remove configure test.
17772         * configure: Regenerated.
17774 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
17776         [BZ #19189]
17777         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
17778         non-finite argument handle arguments with negative sign.
17780         * math/libm-test.inc (j0_test_data): Do not test sign of zero
17781         result from infinite argument.
17782         (j1_test_data): Likewise.
17783         (jn_test_data): Likewise.
17784         (y0_test_data): Likewise.
17785         (y1_test_data): Likewise.
17786         (yn_test_data): Likewise.
17788         [BZ #16171]
17789         * math/w_remainder.c (drem): Define as weak alias of __remainder.
17790         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
17791         * math/w_remainderf.c (dremf): Define as weak alias of
17792         __remainderf.
17793         * math/w_remainderl.c (dreml): Define as weak alias of
17794         __remainderl.
17795         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
17796         __remainder.
17797         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
17798         __remainderf.
17799         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
17800         __remainderl.
17801         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
17802         weak alias of remainderl.
17803         * sysdeps/ieee754/ldbl-opt/w_remainder.c
17804         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
17805         alias of __remainder.
17806         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
17807         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
17808         strong alias of __remainderl.
17809         (dreml): Use long_double_symbol.
17810         * math/Makefile (libm-calls): Remove w_drem.
17811         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
17812         (CFLAGS-nldbl-drem.c): Remove variable.
17813         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
17814         * math/w_drem.c: Remove file.
17815         * math/w_dremf.c: Likewise.
17816         * math/w_dreml.c: Likewise.
17817         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
17818         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
17819         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
17821         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
17822         * sysdeps/i386/configure: Regenerated.
17823         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
17824         * sysdeps/x86_64/configure: Regenerated.
17826         * configure.ac (libc_cv_asm_protected_directive): Remove configure
17827         test.
17828         (libc_cv_visibility_attribute): Likewise.
17829         (libc_cv_protected_data): Test unconditionally.
17830         (libc_cv_broken_visibility_attribute): Remove configure test.
17831         (libc_cv_have_sdata_section): Test unconditionally.
17832         * configure: Regenerated.
17834         * include/libc-internal.h (libc_max_align_t): Remove typedef.
17835         * include/scratch_buffer.h: Include <stddef.h> instead of
17836         <libc-internal.h>.
17837         (struct scratch_buffer): Use max_align_t instead of
17838         libc_max_align_t.
17840 2015-10-29  Florian Weimer  <fweimer@redhat.com>
17842         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
17843         instead of extend_alloca.  Change control flow to avoid a goto.
17844         Remove assert which is trivially always true.
17846 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
17848         [BZ #16068]
17849         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
17850         (FE_ALL_EXCEPT_X86): New macro.
17851         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
17852         FE_ALL_EXCEPT.  Ensure precision control is included in
17853         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
17854         handle "denormal operand exception" and clear FZ and DAZ bits.
17855         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
17856         (FE_ALL_EXCEPT_X86): New macro.
17857         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
17858         FE_ALL_EXCEPT.  Ensure precision control is included in
17859         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
17860         handle "denormal operand exception" and clear FZ and DAZ bits.
17861         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
17862         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
17863         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17864         test-fenv-x87 and test-fenv-sse-2.
17865         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
17867         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
17868         * math/test-double.h (BUILD_COMPLEX): New macro.
17869         * math/test-float.h (BUILD_COMPLEX): Likewise.
17870         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
17872         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
17873         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
17874         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
17875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
17876         instead of DBL_DENORM_MIN in comment.
17877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
17878         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
17879         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
17880         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
17881         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
17882         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
17884 2015-10-28  Florian Weimer  <fweimer@redhat.com>
17886         [BZ# 19048]
17887         * malloc/malloc.c (struct malloc_state): Update comment.  Add
17888         attached_threads member.
17889         (main_arena): Initialize attached_threads.
17890         * malloc/arena.c (list_lock): Update comment.
17891         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
17892         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
17893         (deattach_arena): New function.
17894         (_int_new_arena): Initialize arena reference count and deattach
17895         replaced arena.
17896         (get_free_list, reused_arena): Update reference count and deattach
17897         replaced arena.
17898         (arena_thread_freeres): Update arena reference count and only put
17899         unreferenced arenas on the free list.
17901 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
17903         [BZ #19181]
17904         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
17905         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
17906         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
17907         * math/test-fenv-clear-main.c: New file.
17908         * math/test-fenv-clear.c: Likewise.
17909         * math/Makefile (tests): Add test-fenv-clear.
17910         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
17911         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17912         test-fenv-clear-sse.
17913         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
17915         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
17916         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
17917         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
17919 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17921         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
17922         static libc.
17924 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
17926         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
17927         test.
17928         * sysdeps/i386/configure: Regenerated.
17929         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
17930         test.
17931         * sysdeps/x86_64/configure: Regenerated.
17932         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
17933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17934         memset-avx2 unconditionally instead of conditionally on
17935         [$(config-cflags-avx2) = yes].
17936         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17937         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
17938         unconditional.
17939         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
17940         * sysdeps/x86_64/multiarch/memset_chk.S
17941         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
17942         to [IS_IN (libc) && SHARED].
17944 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
17946         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
17947         configure test.
17948         * sysdeps/arm/configure: Regenerated.
17949         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
17950         Define variable if not already defined.
17952         [BZ #17404]
17953         * sysdeps/mips/atomic-machine.h
17954         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
17955         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
17956         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17958         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
17959         unconditional.
17960         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
17961         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17962         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
17963         unconditional.
17964         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17965         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
17966         unconditional.
17967         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17968         * stdlib/setenv.c
17969         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
17970         code unconditional.
17971         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
17972         Remove conditional code.
17973         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
17974         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
17975         unconditional.
17976         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17977         code.
17978         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
17979         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
17980         unconditional.
17981         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17982         code.
17983         * sysdeps/ieee754/ldbl-128/k_tanl.c
17984         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17985         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17986         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
17987         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17988         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17989         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
17990         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
17991         unconditional.
17992         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17993         code.
17994         * sysdeps/ieee754/ldbl-96/k_tanl.c
17995         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17996         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17998         * nptl/tst-initializers1-c11.c: New file.
17999         * nptl/tst-initializers1-gnu11.c: Likewise.
18000         * nptl/Makefile (tests): Add these new tests.
18001         (CFLAGS-tst-initializers1-c11.c): New variable.
18002         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18004         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
18005         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
18006         instead of -std=gnu99.
18007         * configure.ac (systemtap): Test with -std=gnu11 instead of
18008         -std=gnu99.
18009         * configure: Regenerated.
18010         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
18011         in compilation command in comment.
18013         * sysdeps/nptl/configure.ac: Remove file.
18014         * sysdeps/nptl/configure: Remove generated file.
18015         * configure.ac (libc_cv_forced_unwind): Do not substitute.
18016         * configure: Regenerated.
18017         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
18018         * config.make.in (have-forced-unwind): Remove variable.
18019         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18020         unconditional.
18021         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
18022         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
18023         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
18024         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
18025         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18026         unconditional.
18028 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18030         [BZ #19174]
18031         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
18032         .skip_lock_out_of_tbegin_retries.
18033         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18034         (__lll_lock_elision): Likewise, and respect a value of
18035         try_tbegin <= 0.
18037 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18039         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
18040         statement.
18042 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18044         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
18045         variable.
18046         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18047         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18049         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18050         of -std=c1x -D_ISOC11_SOURCE.
18052         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18053         * configure: Regenerated.
18054         * manual/install.texi (Tools for Compilation): Document
18055         requirement for GCC 4.7 or later.
18056         * INSTALL: Regenerated.
18058 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
18060         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18061         on CNT to a conditional jump to 'puntdata'.
18063 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18065         * configure.ac (libc_cv_gcc___thread): Remove configure test.
18066         (libc_cv_gcc_tls_model_attr): Likewise.
18067         * configure: Regenerated.
18069         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18070         * configure: Regenerated.
18071         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18073 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18075         * configure.ac (old_glibc_headers): Remove configure test.
18076         * configure: Regenerated.
18077         * config.make.in (old-glibc-headers): Remove variable.
18078         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18079         (install): Remove dependency on remove-old-headers.
18080         (headers2_0): Remove variable.
18081         (remove-old-headers): Remove rule.
18083         * configure.ac (libc_cv_dot_text): Remove configure test.
18084         (libc_cv_asm_set_directive): Use .text instead of
18085         ${libc_cv_dot_text} in configure test.
18086         * configure: Regenerated.
18088 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18090         [BZ #19168]
18091         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18093 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18095         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18096         not support static linking.
18097         * configure: Regenerate.
18099 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18101         * math/libm-test.inc (check_float_internal): Do not special-case
18102         errors up to 0.5 ulp.
18104         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18105         log2.
18106         * math/auto-libm-test-out: Regenerated.
18107         * math/libm-test.inc (MAX_EXP): New macro.
18108         (ilogb_test_data): Add more tests.
18109         (isfinite_test_data): Likewise.
18110         (isgreater_test_data): Likewise.
18111         (isgreaterequal_test_data): Likewise.
18112         (isinf_test_data): Likewise.
18113         (isless_test_data): Likewise.
18114         (islessequal_test_data): Likewise.
18115         (islessgreater_test_data): Likewise.
18116         (isnan_test_data): Likewise.
18117         (isnormal_test_data): Likewise.
18118         (issignaling_test_data): Likewise.
18119         (isunordered_test_data): Likewise.
18120         (j0_test_data): Likewise.
18121         (j1_test_data): Likewise.
18122         (jn_test_data): Likewise.
18123         (lgamma_test_data): Likewise.
18124         (log_test_data): Likewise.
18125         (log10_test_data): Likewise.
18126         (log1p_test_data): Likewise.
18127         (log2_test_data): Likewise.
18128         (logb_test_data): Likewise.
18129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18131         [BZ #18611]
18132         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18133         avoid excess range and precision on underflow.
18134         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18135         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18136         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18137         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18138         underflow.
18139         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18140         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18141         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18142         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18143         * math/auto-libm-test-in: Do not allow missing errno setting for
18144         tests of j1 and jn.
18145         * math/auto-libm-test-out: Regenerated.
18147 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18149         [BZ #15491]
18150         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18151         floating-point environment instead of clearing all exceptions.
18152         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18153         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18154         merging in "invalid" exceptions from frndint.
18155         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18156         * math/test-nearbyint-except.c: New file.
18157         * math/Makefile (tests): Add test-nearbyint-except.
18159 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18161         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18163         * sysdeps/tile/libm-test-ulps: Regenerated.
18165 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18168         (__NR_sync_file_range2): Assume it is always defined.
18169         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18170         (__NR_sync_file_range): Assume it is always defined.
18172 2015-10-22  Andreas Schwab  <schwab@suse.de>
18174         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18175         INTERNAL_SYSCALL_ERRNO.
18176         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18177         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18178         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18179         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18180         Likewise.
18181         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18183 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18185         * io/tst-fcntl.c (fd): New static variable.
18186         (do_prepare): Open temporary file here....
18187         (do_test): ...not here.
18189         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18191 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18193         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18194         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18195         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18196         Moved before "#ifdef __ASSEMBLER__".
18198 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18200         [BZ #19156]
18201         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18202         arguments very close to 0.
18204 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18206         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18207         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18209 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18211         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18212         New.  Defined for GCC 5 and above when not compiling for
18213         profiling.
18214         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18216         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18217         Renamed to ...
18218         (CFLAGS-epoll_pwait.o): This.
18219         (CFLAGS-mmap.c): Renamed to ...
18220         (CFLAGS-mmap.o): This.
18221         (CFLAGS-mmap64.c): Renamed to ...
18222         (CFLAGS-mmap64.o): This.
18223         (CFLAGS-epoll_pwait.os): New.
18224         (CFLAGS-mmap.os): Likewise.
18225         (CFLAGS-mmap64.os): Likewise.
18226         (CFLAGS-semtimedop.os): Likewise.
18227         (CFLAGS-semtimedop.c): Renamed to ...
18228         (CFLAGS-semtimedop.o): This.
18230 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18232         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18233         warning message.
18235 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18237         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18238         * Makefile ($(objpfx)c++-types-check.out): Filter out
18239         $(+gccwarn-c) instead of -Wstrict-prototypes.
18241         * io/fts.c (fts_open): Convert to prototype-style function
18242         definition.
18243         * malloc/mcheck.c (mcheck): Likewise.
18244         (mcheck_pedantic): Likewise.
18245         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18246         internal_function.
18247         (re_search_internal): Likewise.
18248         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18249         prototype-style function definition.
18250         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18251         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18252         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18253         (xdr_utmpptr): Likewise.
18254         (xdr_utmparr): Likewise.
18255         (xdr_utmpidle): Likewise.
18256         (xdr_utmpidleptr): Likewise.
18257         (xdr_utmpidlearr): Likewise.
18259         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18260         log, log10 and log2.
18261         * math/auto-libm-test-out: Regenerated.
18262         * math/libm-test.inc (fmod_test_data): Add more tests.
18263         (fpclassify_test_data): Likewise.
18264         (frexp_test_data): Likewise.
18265         (hypot_test_data): Likewise.
18266         (ilogb_test_data): Likewise.
18268 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18270         * debug/fortify_fail.c (__fortify_fail): Convert to
18271         prototype-style function definition.  Use internal_function.
18272         * libio/genops.c (save_for_backup): Convert to prototype-style
18273         function definition.
18274         * libio/wgenops.c (save_for_wbackup): Likewise.
18275         * login/grantpt.c (grantpt): Likewise.
18276         * login/ptsname.c (ptsname): Likewise.
18277         (__ptsname_r): Likewise.
18278         * login/unlockpt.c (unlockpt): Likewise.
18279         * mach/msgserver.c (__mach_msg_server): Likewise.
18280         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18281         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18282         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18283         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18284         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18285         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18286         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18287         Likewise.
18288         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18289         internal_function.
18290         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18291         prototype-style function definition.
18292         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18293         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18294         (__pthread_create_2_0): Likewise.
18295         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18296         * nptl/register-atfork.c (__register_atfork): Likewise.
18297         * posix/glob.c (glob): Likewise.
18298         * posix/regcomp.c (re_comp): Likewise.
18299         * posix/regexec.c (re_exec): Likewise.
18300         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18301         [!__STDC__]: Remove conditional code.
18302         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18303         [!__STDC__]: Remove conditional code.
18304         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18305         [!__STDC__]: Remove conditional code.
18306         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18307         [!__STDC__]: Remove conditional code.
18308         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18309         [!__STDC__]: Remove conditional code.
18310         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18311         [!__STDC__]: Remove conditional code.
18312         * stdlib/mul.c [__STDC__]: Make code unconditional.
18313         [!__STDC__]: Remove conditional code.
18314         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18315         [!__STDC__]: Remove conditional code.
18316         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18317         [!__STDC__]: Remove conditional code.
18318         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18319         function definition.
18320         (STRTOF): Likewise.
18321         * stdlib/strtod_l.c (__STRTOF): Likewise.
18322         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18323         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18324         (__strtol_l): Likewise.
18325         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18326         [!__STDC__]: Remove conditional code.
18327         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18328         definition.
18329         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18330         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18331         type.
18332         (__strcasecmp): Convert to prototype-style function definition.
18333         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18334         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18335         type.
18336         (__strncasecmp): Convert to prototype-style function definition.
18337         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18338         * sunrpc/xdr.c (xdr_union): Likewise.
18339         * sunrpc/xdr_array.c (xdr_array): Likewise.
18340         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18341         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18342         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18343         Likewise.
18344         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18345         Likewise.
18346         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18347         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18348         Likewise.
18349         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18350         (LOCALE_PARAM_PROTO): Likewise.
18351         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18352         argument type.
18353         (ut_argument_spec): Remove macro.
18354         (ut_argument_spec_iso): Rename to ut_argument_spec.
18355         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
18356         prototype-style function definition.
18357         (memcpy_uppcase): Likewise.
18358         (__strftime_internal): Likewise.
18359         (my_strftime): Likewise.
18360         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18361         (LOCALE_PARAM_DECL): Likewise.
18362         [_LIBC] (LOCALE_PARAM): Include argument type.
18363         (__strptime_internal): Convert to prototype-style function
18364         definition.
18365         (strptime): Likewise.
18366         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18367         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18368         type.
18369         (__wcscasecmp): Convert to prototype-style function definition.
18370         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
18371         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18372         type.
18373         (__wcsncasecmp): Convert to prototype-style function definition.
18375         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
18376         function definition.
18377         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18378         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18379         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
18380         * elf/dl-minimal.c (_itoa): Likewise.
18381         * hurd/hurdmalloc.c (malloc): Likewise.
18382         (free): Likewise.
18383         (realloc): Likewise.
18384         * inet/inet6_option.c (inet6_option_space): Likewise.
18385         (inet6_option_init): Likewise.
18386         (inet6_option_append): Likewise.
18387         (inet6_option_alloc): Likewise.
18388         (inet6_option_next): Likewise.
18389         (inet6_option_find): Likewise.
18390         * io/ftw.c (FTW_NAME): Likewise.
18391         (NFTW_NAME): Likewise.
18392         (NFTW_NEW_NAME): Likewise.
18393         (NFTW_OLD_NAME): Likewise.
18394         * libio/iofwide.c (_IO_fwide): Likewise.
18395         * libio/strops.c (_IO_str_init_static_internal): Likewise.
18396         (_IO_str_init_static): Likewise.
18397         (_IO_str_init_readonly): Likewise.
18398         (_IO_str_overflow): Likewise.
18399         (_IO_str_underflow): Likewise.
18400         (_IO_str_count): Likewise.
18401         (_IO_str_seekoff): Likewise.
18402         (_IO_str_pbackfail): Likewise.
18403         (_IO_str_finish): Likewise.
18404         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
18405         (_IO_wstr_overflow): Likewise.
18406         (_IO_wstr_underflow): Likewise.
18407         (_IO_wstr_count): Likewise.
18408         (_IO_wstr_seekoff): Likewise.
18409         (_IO_wstr_pbackfail): Likewise.
18410         (_IO_wstr_finish): Likewise.
18411         * locale/programs/localedef.c (normalize_codeset): Likewise.
18412         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18413         (add_locales_to_archive): Likewise.
18414         (delete_locales_from_archive): Likewise.
18415         * malloc/malloc.c (__libc_mallinfo): Likewise.
18416         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
18417         * misc/tsearch.c (__tfind): Likewise.
18418         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
18419         * nptl/pthread_attr_getdetachstate.c
18420         (__pthread_attr_getdetachstate): Likewise.
18421         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
18422         Likewise.
18423         * nptl/pthread_attr_getinheritsched.c
18424         (__pthread_attr_getinheritsched): Likewise.
18425         * nptl/pthread_attr_getschedparam.c
18426         (__pthread_attr_getschedparam): Likewise.
18427         * nptl/pthread_attr_getschedpolicy.c
18428         (__pthread_attr_getschedpolicy): Likewise.
18429         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
18430         Likewise.
18431         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
18432         Likewise.
18433         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
18434         Likewise.
18435         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
18436         Likewise.
18437         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
18438         (__pthread_attr_init_2_0): Likewise.
18439         * nptl/pthread_attr_setdetachstate.c
18440         (__pthread_attr_setdetachstate): Likewise.
18441         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
18442         Likewise.
18443         * nptl/pthread_attr_setinheritsched.c
18444         (__pthread_attr_setinheritsched): Likewise.
18445         * nptl/pthread_attr_setschedparam.c
18446         (__pthread_attr_setschedparam): Likewise.
18447         * nptl/pthread_attr_setschedpolicy.c
18448         (__pthread_attr_setschedpolicy): Likewise.
18449         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
18450         Likewise.
18451         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
18452         Likewise.
18453         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
18454         Likewise.
18455         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
18456         Likewise.
18457         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
18458         Likewise.
18459         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
18460         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18461         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
18462         use internal_function.
18463         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
18464         prototype-style function definition.
18465         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
18466         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
18467         internal_function.
18468         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
18469         Convert to prototype-style function definition.
18470         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
18471         Likewise.
18472         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
18473         Likewise.
18474         (__pthread_mutex_unlock): Likewise.
18475         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
18476         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
18477         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
18478         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
18479         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
18480         * nss/makedb.c (process_input): Likewise.
18481         * posix/fnmatch.c (__strchrnul): Likewise.
18482         (__wcschrnul): Likewise.
18483         (fnmatch): Likewise.
18484         * posix/fnmatch_loop.c (FCT): Likewise.
18485         * posix/glob.c (globfree): Likewise.
18486         (__glob_pattern_type): Likewise.
18487         (__glob_pattern_p): Likewise.
18488         * posix/regcomp.c (re_compile_pattern): Likewise.
18489         (re_set_syntax): Likewise.
18490         (re_compile_fastmap): Likewise.
18491         (regcomp): Likewise.
18492         (regerror): Likewise.
18493         (regfree): Likewise.
18494         * posix/regexec.c (regexec): Likewise.
18495         (re_match): Likewise.
18496         (re_search): Likewise.
18497         (re_match_2): Likewise.
18498         (re_search_2): Likewise.
18499         (re_search_stub): Likewise.  Use internal_function
18500         (re_copy_regs): Likewise.
18501         (re_set_registers): Convert to prototype-style function
18502         definition.
18503         (prune_impossible_nodes): Likewise.  Use internal_function.
18504         * resolv/inet_net_pton.c (inet_net_pton): Convert to
18505         prototype-style function definition.
18506         (inet_net_pton_ipv4): Likewise.
18507         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18508         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
18509         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
18510         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
18511         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18512         Make variadic.
18513         * time/strptime_l.c (localtime_r): Convert to prototype-style
18514         function definition.
18515         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18516         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18517         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18518         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18520         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
18521         definition.
18522         (_ufc_doit_r): Likewise.
18523         * crypt/crypt_util.c (_ufc_copymem): Likewise.
18524         (_ufc_output_conversion_r): Likewise.
18525         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
18526         * inet/rcmd.c (rcmd_af): Likewise.
18527         (rcmd): Likewise.
18528         (ruserok_af): Likewise.
18529         (ruserok): Likewise.
18530         (ruserok2_sa): Likewise.
18531         (ruserok_sa): Likewise.
18532         (iruserok_af): Likewise.
18533         (iruserok): Likewise.
18534         (__ivaliduser): Likewise.
18535         (__validuser2_sa): Likewise.
18536         * inet/rexec.c (rexec_af): Likewise.
18537         (rexec): Likewise.
18538         * inet/ruserpass.c (ruserpass): Likewise.
18539         * locale/programs/xmalloc.c (xcalloc): Likewise.
18540         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
18541         * math/w_drem.c (__drem): Likewise.
18542         * math/w_dremf.c (__dremf): Likewise.
18543         * math/w_dreml.c (__dreml): Likewise.
18544         * misc/daemon.c (daemon): Likewise.
18545         * resolv/res_debug.c (p_fqnname): Likewise.
18546         * stdlib/div.c (div): Likewise.
18547         * string/memcmp.c (memcmp_bytes): Likewise.
18548         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
18549         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
18551         * crypt/cert.c (main): Convert to prototype-style function
18552         definition.
18553         * io/pipe.c (__pipe): Likewise.
18554         * io/pipe2.c (__pipe2): Likewise.
18555         * misc/futimesat.c (futimesat): Likewise.
18556         * misc/utimes.c (__utimes): Likewise.
18557         * posix/execve.c (__execve): Likewise.
18558         * posix/execvp.c (execvp): Likewise.
18559         * posix/execvpe.c (__execvpe): Likewise.
18560         * posix/fexecve.c (fexecve): Likewise.
18561         * socket/socketpair.c (socketpair): Likewise.
18562         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18563         * stdlib/erand48.c (erand48): Likewise.
18564         * stdlib/erand48_r.c (__erand48_r): Likewise.
18565         * stdlib/jrand48.c (jrand48): Likewise.
18566         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
18567         * stdlib/lcong48.c (lcong48): Likewise.
18568         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
18569         * stdlib/nrand48.c (nrand48): Likewise.
18570         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
18571         * stdlib/seed48.c (seed48): Likewise.
18572         * stdlib/seed48_r.c (__seed48_r): Likewise.
18573         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
18574         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
18575         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
18577 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
18579         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
18580         * configure: Regenerated.
18581         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
18582         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
18583         unconditional.
18584         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18585         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18586         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18587         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
18588         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
18589         unconditional.
18590         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18592         * posix/Makefile (CFLAGS-regex.c): Remove variable.
18593         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
18595         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
18596         function definition.
18597         * crypt/crypt_util.c (__encrypt_r): Likewise.
18598         * libio/genops.c (_IO_no_init): Likewise.
18599         * libio/iofopncook.c (_IO_fopencookie): Likewise.
18600         (_IO_old_fopencookie): Likewise.
18601         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18602         * libio/iogetline.c (_IO_getline): Likewise.
18603         (_IO_getline_info): Likewise.
18604         * libio/iogetwline.c (_IO_getwline): Likewise.
18605         (_IO_getwline_info): Likewise.
18606         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
18607         * libio/vswprintf.c (_IO_vswprintf): Likewise.
18608         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
18609         (find_entry): Likewise.
18610         (iterate_table): Likewise.
18611         (lookup): Likewise.
18612         * login/forkpty.c (forkpty): Likewise.
18613         * misc/hsearch_r.c (__hsearch_r): Likewise.
18614         * misc/select.c (__select): Likewise.
18615         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
18616         Likewise.
18617         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
18618         Likewise.
18619         * nptl/old_pthread_cond_timedwait.c
18620         (__pthread_cond_timedwait_2_0): Likewise.
18621         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
18622         * nptl/pthread_barrierattr_getpshared.c
18623         (pthread_barrierattr_getpshared): Likewise.
18624         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
18625         Likewise.
18626         * nptl/pthread_mutex_setprioceiling.c
18627         (pthread_mutex_setprioceiling): Likewise.
18628         * nptl/pthread_mutexattr_getprioceiling.c
18629         (pthread_mutexattr_getprioceiling): Likewise.
18630         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
18631         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18632         Likewise.
18633         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18634         Likewise.
18635         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
18636         Likewise.
18637         * socket/recvfrom.c (__recvfrom): Likewise.
18638         * socket/sendto.c (__sendto): Likewise.
18639         * socket/setsockopt.c (__setsockopt): Likewise.
18640         * stdio-common/_itoa.c (_itoa): Likewise.
18641         * stdio-common/_itowa.c (_itowa): Likewise.
18642         * stdio-common/reg-printf.c (__register_printf_specifier):
18643         Likewise.
18644         (__register_printf_function): Likewise.
18645         * stdio-common/tempname.c (__path_search): Likewise.
18646         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
18647         * stdlib/mul_1.c (mpn_mul_1): Likewise.
18648         * stdlib/random_r.c (__initstate_r): Likewise.
18649         * stdlib/setenv.c (__add_to_environ): Likewise.
18650         * stdlib/submul_1.c (mpn_submul_1): Likewise.
18651         * streams/getpmsg.c (getpmsg): Likewise.
18652         * streams/putmsg.c (putmsg): Likewise.
18653         * streams/putpmsg.c (putpmsg): Likewise.
18654         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
18655         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
18656         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
18657         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
18658         * sunrpc/pm_getport.c (pmap_getport): Likewise.
18659         * sunrpc/svc_udp.c (cache_get): Likewise.
18660         * sunrpc/xdr_array.c (xdr_vector): Likewise.
18661         * sysdeps/mach/hurd/getcwd.c
18662         (__canonicalize_directory_name_internal): Likewise.
18663         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
18664         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
18665         * sysdeps/mach/hurd/select.c (__select): Likewise.
18666         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
18667         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18668         * sysdeps/sparc/nptl/pthread_barrier_init.c
18669         (__pthread_barrier_init): Likewise.
18670         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
18671         (__pthread_cond_timedwait): Likewise.
18672         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
18673         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
18674         Likewise.
18675         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
18676         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
18677         Likewise.
18678         * sysvipc/semtimedop.c (semtimedop): Likewise.
18679         * time/setitimer.c (__setitimer): Likewise.
18680         * time/strftime_l.c (emacs_strftime): Likewise.
18682 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
18684         * config.make.in (have-ssp): Delete.
18685         (stack-protector): New variable.
18686         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
18687         cache test for -fstack-protector-strong.  Export stack_protector to
18688         the best ssp flag.
18689         * configure: Regenerated.
18690         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
18691         * nscd/Makefile (CFLAGS-nscd): Likewise.
18692         * resolv/Makefile (CFLAGS-libresolv): Likewise.
18694 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
18696         [BZ #19122]
18697         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
18698         attribute_hidden.
18700 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18702         [BZ #18743]
18703         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
18704         code to...
18705         (ELIDE_LOCK): ...here.
18706         (__get_new_count): New function with part of the code from
18707         __elide_lock that updates the value of adapt_count after a
18708         transaction abort.
18709         (__elided_trylock): Moved this code to...
18710         (ELIDE_TRYLOCK): ...here.
18712 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
18714         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
18715         * configure: Regenerate.
18716         * INSTALL: Regenerate.
18717         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
18718         and tweak grammar.
18720 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
18722         * login/programs/pt_chown.c: Include signal.h
18723         (main): Clear any signal mask from the parent process.
18725 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
18727         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
18728         * configure: Regenerated.
18729         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
18730         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
18731         $(gnu89-inline-CFLAGS).
18733         * configure.ac (libc_cv_asm_weak_directive): Remove configure
18734         test.
18735         (libc_cv_asm_weakext_directive): Likewise.
18736         * configure: Regenerated.
18737         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
18738         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
18739         * include/libc-symbols.h
18740         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
18741         #error.
18742         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
18743         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
18745         * sysdeps/arm/backtrace.c (__backtrace): Convert to
18746         prototype-style function definition.
18747         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18748         * sysdeps/i386/ffs.c (__ffs): Likewise.
18749         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18750         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
18751         Likewise.
18752         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18753         Likewise.
18754         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
18755         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18756         Likewise.
18757         * sysdeps/m68k/ffs.c (__ffs): Likewise.
18758         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
18759         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
18760         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
18761         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
18762         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
18763         * sysdeps/mach/hurd/access.c (__access): Likewise.
18764         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
18765         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
18766         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
18767         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
18768         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
18769         (cthread_getspecific): Likewise.
18770         (cthread_setspecific): Likewise.
18771         (__libc_getspecific): Likewise.
18772         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
18773         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
18774         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
18775         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
18776         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
18777         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
18778         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
18779         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
18780         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
18781         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
18782         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
18783         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
18784         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
18785         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
18786         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
18787         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
18788         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
18789         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
18790         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
18791         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
18792         * sysdeps/mach/hurd/link.c (__link): Likewise.
18793         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
18794         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
18795         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
18796         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
18797         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18798         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
18799         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
18800         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
18801         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18802         * sysdeps/mach/hurd/rename.c (rename): Likewise.
18803         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
18804         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
18805         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
18806         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
18807         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
18808         * sysdeps/mach/hurd/send.c (__send): Likewise.
18809         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
18810         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
18811         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
18812         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
18813         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
18814         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
18815         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
18816         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
18817         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
18818         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
18819         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
18820         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
18821         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
18822         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
18823         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
18824         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
18825         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
18826         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
18827         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
18828         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18829         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
18830         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
18831         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
18832         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
18833         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
18834         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
18835         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
18836         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
18837         * sysdeps/posix/alarm.c (alarm): Likewise.
18838         * sysdeps/posix/cuserid.c (cuserid): Likewise.
18839         * sysdeps/posix/dirfd.c (dirfd): Likewise.
18840         * sysdeps/posix/dup.c (__dup): Likewise.
18841         * sysdeps/posix/dup2.c (__dup2): Likewise.
18842         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
18843         (main): Likewise.
18844         * sysdeps/posix/flock.c (__flock): Likewise.
18845         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
18846         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
18847         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
18848         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
18849         * sysdeps/posix/isatty.c (__isatty): Likewise.
18850         * sysdeps/posix/killpg.c (killpg): Likewise.
18851         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18852         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
18853         * sysdeps/posix/raise.c (raise): Likewise.
18854         * sysdeps/posix/remove.c (remove): Likewise.
18855         * sysdeps/posix/rename.c (rename): Likewise.
18856         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
18857         * sysdeps/posix/seekdir.c (seekdir): Likewise.
18858         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
18859         * sysdeps/posix/sigignore.c (sigignore): Likewise.
18860         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
18861         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18862         * sysdeps/posix/sigset.c (sigset): Likewise.
18863         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
18864         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
18865         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
18866         * sysdeps/posix/time.c (time): Likewise.
18867         * sysdeps/posix/ttyname.c (getttyname): Likewise.
18868         (ttyname): Likewise.
18869         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
18870         * sysdeps/posix/utime.c (utime): Likewise.
18871         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
18872         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18873         Likewise.
18874         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
18875         (pthread_spin_trylock): Likewise.
18876         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
18877         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
18878         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
18879         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
18880         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
18881         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
18882         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
18883         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
18884         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
18885         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
18886         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
18887         * sysdeps/s390/ffs.c (__ffs): Likewise.
18888         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
18889         Likewise.
18890         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18891         Likewise.
18892         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
18893         Likewise.
18894         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
18895         (pthread_barrier_destroy): Likewise.
18896         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18897         (__pthread_barrier_wait): Likewise.
18898         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
18899         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18900         (__pthread_barrier_wait): Likewise.
18901         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
18902         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
18903         (memcmp_not_common_alignment): Likewise.
18904         (MEMCMP): Likewise.
18905         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
18906         (_wordcopy_fwd_dest_aligned): Likewise.
18907         (_wordcopy_bwd_aligned): Likewise.
18908         (_wordcopy_bwd_dest_aligned): Likewise.
18909         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
18910         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
18911         * sysdeps/unix/bsd/stty.c (stty): Likewise.
18912         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
18913         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
18914         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
18915         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
18916         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
18917         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
18918         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
18919         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
18920         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18921         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
18922         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
18923         * sysdeps/unix/stime.c (stime): Likewise.
18924         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
18925         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
18926         Likewise.  Use internal_function.
18927         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
18928         Convert to prototype-style function definition.
18929         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18930         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18931         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
18932         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18933         Likewise.  Use internal_function.
18934         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
18935         prototype-style function definition
18936         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18937         Likewise.
18938         (__getlogin_r): Likewise.
18939         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
18940         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
18941         (__pthread_cond_broadcast): Likewise.
18942         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
18943         (__pthread_cond_destroy): Likewise.
18944         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
18945         (__pthread_cond_init): Likewise.
18946         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
18947         (__pthread_cond_signal): Likewise.
18948         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
18949         (__pthread_cond_wait): Likewise.
18950         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
18951         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18952         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
18953         Likewise.
18954         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
18955         Likewise.
18956         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
18957         Likewise.
18958         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
18959         Likewise.
18960         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
18961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
18962         (__ftruncate64): Likewise.
18963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
18964         (truncate64): Likewise.
18965         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
18966         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
18967         (pthread_getcpuclockid): Likewise.
18968         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
18969         Likewise.
18970         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18971         Likewise.
18972         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
18973         Likewise.
18974         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
18975         Likewise.
18976         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
18977         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
18978         (__libc_sigaction): Likewise.
18979         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
18980         Likewise.
18981         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
18982         (__sigprocmask): Likewise.
18983         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
18984         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
18985         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
18986         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18987         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18988         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
18989         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18990         Likewise.
18991         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
18992         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
18993         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18994         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
18995         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
18996         Likewise.
18997         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
18998         (__sigprocmask): Likewise.
18999         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
19000         (cfgetispeed): Likewise.
19001         (cfsetospeed): Likewise.
19002         (cfsetispeed): Likewise.
19003         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
19004         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
19005         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19006         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19007         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
19008         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
19009         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
19010         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
19011         Likewise.
19012         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
19013         Likewise.
19014         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
19015         Likewise.
19016         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
19017         Likewise.
19018         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19020 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19022         sunrpc: Rewrite with explicit TLS access using __thread.
19023         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
19024         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
19025         directly.
19026         (__rpc_thread_variables): Access thread_rpc_vars directly.
19027         Eliminate redundant assignment of the tvp variable.
19029 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19031         malloc: Rewrite with explicit TLS access using __thread.
19032         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
19033         (tsd_setspecific, tsd_getspecific): Remove.
19034         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
19035         (tsd_setspecific, tsd_getspecific): Likewise.
19036         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
19037         (tsd_setspecific, tsd_getspecific): Likewise.
19038         * malloc/arena.c (thread_arena): New TLS variable.
19039         (arena_key): Remove variable.
19040         (arena_get): Use thread_arena.
19041         (arena_lookup): Remove macro.
19042         (malloc_atfork, free_atfork, ptmalloc_lock_all)
19043         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
19044         (_int_new_arena, get_free_list, reused_arena)
19045         (arena_thread_freeres): Use thread_arena.
19046         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
19047         tsd_getspecific, tsd_setspecific from safety annotations.
19048         (Allocating Cleared Space): Remove arena_lookup from safety
19049         annotations.
19051 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19053         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19054         struct scratch_buffer instead of extend_alloca.
19056 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19058         * sysdeps/unix/sysv/linux/kernel-features.h
19059         (__ASSUME_SOCK_CLOEXEC): Remove.
19060         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19061         (__have_paccept): Remove unused macro.
19062         * include/unistd.h (__have_sock_cloexec): Remove declaration.
19063         * misc/syslog.c (openlog_internal): Remove fallback code for
19064         !__ASSUME_SOCK_CLOEXEC.
19065         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19066         missing SOCK_CLOEXEC.
19067         * nscd/connections.c (have_sock_cloexec): Remove definition.
19068         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19069         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19070         !__ASSUME_SOCK_CLOEXEC.
19071         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19072         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19073         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19074         definition.
19075         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19076         code for !__ASSUME_SOCK_CLOEXEC.
19078 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19080         [BZ #18982]
19081         * manual/stdio.texi (Variable Arguments Output): Add portability
19082         note, explaining that vfprintf clobbers the va_list pointer.
19084 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19086         * math/libm-test.inc (fabs_test_data): Add more tests.
19087         (fdim_test_data): Likewise.
19088         (fma_test_data): Likewise.
19089         (fmax_test_data): Likewise.
19090         (fmin_test_data): Likewise.
19091         (fmod_test_data): Likewise.
19093 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19095         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19096         data.
19098 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19100         * math/libm-test.inc (ceil_test_data): Add more tests and more
19101         expectations for "inexact".
19102         (floor_test_data): Add more tests.
19103         (round_test_data): Likewise.
19104         (trunc_test_data): Likewise.
19106         * crypt/cert.c (good_bye): Convert to prototype-style function
19107         definition.
19108         (get8): Likewise.
19109         (put8): Likewise.
19110         * crypt/crypt-entry.c (crypt): Likewise.
19111         (__fcrypt): Likewise.
19112         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19113         (_ufc_set_bits): Likewise.
19114         (_ufc_clearmem): Likewise.
19115         (__init_des_r): Likewise.
19116         (shuffle_sb): Likewise.
19117         (shuffle_sb): Likewise.
19118         (_ufc_setup_salt_r): Likewise.
19119         (_ufc_mk_keytab_r): Likewise.
19120         (_ufc_dofinalperm_r): Likewise.
19121         (encrypt): Likewise.
19122         (__setkey_r): Likewise.
19123         (setkey): Likewise.
19124         * crypt/md5.c (md5_init_ctx): Likewise.
19125         (md5_read_ctx): Likewise.
19126         (md5_finish_ctx): Likewise.
19127         (md5_stream): Likewise.
19128         (md5_buffer): Likewise.
19129         (md5_process_bytes): Likewise.
19130         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19131         (__sha256_finish_ctx): Likewise.
19132         (__sha256_process_bytes): Likewise.
19133         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19134         (__sha512_finish_ctx): Likewise.
19135         (__sha512_process_bytes): Likewise.
19136         * ctype/isctype.c (__isctype): Likewise.
19137         * debug/backtrace.c (__backtrace): Likewise.
19138         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19139         * debug/fgets_chk.c (__fgets_chk): Likewise.
19140         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19141         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19142         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19143         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19144         * debug/memset_chk.c (__memset_chk): Likewise.
19145         * debug/strcat_chk.c (__strcat_chk): Likewise.
19146         * debug/strncat_chk.c (__strncat_chk): Likewise.
19147         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19148         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19149         * dirent/dirfd.c (dirfd): Likewise.
19150         * dirent/getdents.c (__getdirentries): Likewise.
19151         * dirent/getdents64.c (getdirentries64): Likewise.
19152         * dirent/rewinddir.c (__rewinddir): Likewise.
19153         * dirent/seekdir.c (seekdir): Likewise.
19154         * dirent/telldir.c (telldir): Likewise.
19155         * elf/sln.c (makesymlinks): Likewise.
19156         (makesymlink): Likewise.
19157         * gmon/gmon.c (__moncontrol): Likewise.
19158         (__monstartup): Likewise.
19159         (write_hist): Likewise.
19160         (write_call_graph): Likewise.
19161         (write_bb_counts): Likewise.
19162         * grp/setgroups.c (setgroups): Likewise.
19163         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19164         * inet/inet_net.c (inet_network): Likewise.
19165         * inet/inet_netof.c (inet_netof): Likewise.
19166         * inet/rcmd.c (rresvport_af): Likewise.
19167         (rresvport): Likewise.
19168         * io/access.c (__access): Likewise.
19169         * io/chdir.c (__chdir): Likewise.
19170         * io/chmod.c (__chmod): Likewise.
19171         * io/chown.c (__chown): Likewise.
19172         * io/close.c (__close): Likewise.
19173         * io/creat.c (creat): Likewise.
19174         * io/creat64.c (creat64): Likewise.
19175         * io/dup.c (__dup): Likewise.
19176         * io/dup2.c (__dup2): Likewise.
19177         * io/dup3.c (__dup3): Likewise.
19178         * io/euidaccess.c (__euidaccess): Likewise.
19179         * io/faccessat.c (faccessat): Likewise.
19180         * io/fchmod.c (__fchmod): Likewise.
19181         * io/fchmodat.c (fchmodat): Likewise.
19182         * io/fchown.c (__fchown): Likewise.
19183         * io/fchownat.c (fchownat): Likewise.
19184         * io/fcntl.c (__fcntl): Likewise.
19185         * io/flock.c (__flock): Likewise.
19186         * io/fts.c (fts_load): Likewise.
19187         (fts_close): Likewise.
19188         (fts_read): Likewise.
19189         (fts_set): Likewise.
19190         (fts_children): Likewise.
19191         (fts_build): Likewise.
19192         (fts_stat): Likewise.
19193         (fts_sort): Likewise.
19194         (fts_alloc): Likewise.
19195         (fts_lfree): Likewise.
19196         (fts_palloc): Likewise.
19197         (fts_padjust): Likewise.
19198         (fts_maxarglen): Likewise.
19199         (fts_safe_changedir): Likewise.
19200         * io/getwd.c (getwd): Likewise.
19201         * io/isatty.c (__isatty): Likewise.
19202         * io/lchown.c (__lchown): Likewise.
19203         * io/link.c (__link): Likewise.
19204         * io/linkat.c (linkat): Likewise.
19205         * io/lseek.c (__libc_lseek): Likewise.
19206         * io/mkdir.c (__mkdir): Likewise.
19207         * io/mkdirat.c (mkdirat): Likewise.
19208         * io/mkfifo.c (mkfifo): Likewise.
19209         * io/mkfifoat.c (mkfifoat): Likewise.
19210         * io/open.c (__libc_open): Likewise.
19211         * io/open64.c (__libc_open64): Likewise.
19212         * io/readlink.c (__readlink): Likewise.
19213         * io/readlinkat.c (readlinkat): Likewise.
19214         * io/rmdir.c (__rmdir): Likewise.
19215         * io/symlink.c (__symlink): Likewise.
19216         * io/symlinkat.c (symlinkat): Likewise.
19217         * io/ttyname.c (ttyname): Likewise.
19218         * io/ttyname_r.c (__ttyname_r): Likewise.
19219         * io/umask.c (__umask): Likewise.
19220         * io/unlink.c (__unlink): Likewise.
19221         * io/unlinkat.c (unlinkat): Likewise.
19222         * io/utime.c (utime): Likewise.
19223         * libio/clearerr.c (clearerr): Likewise.
19224         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19225         * libio/feof.c (_IO_feof): Likewise.
19226         * libio/feof_u.c (feof_unlocked): Likewise.
19227         * libio/ferror.c (_IO_ferror): Likewise.
19228         * libio/ferror_u.c (ferror_unlocked): Likewise.
19229         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19230         * libio/fileno.c (__fileno): Likewise.
19231         * libio/fputc.c (fputc): Likewise.
19232         * libio/fputc_u.c (fputc_unlocked): Likewise.
19233         * libio/fputwc.c (fputwc): Likewise.
19234         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19235         * libio/freopen.c (freopen): Likewise.
19236         * libio/freopen64.c (freopen64): Likewise.
19237         * libio/fseek.c (fseek): Likewise.
19238         * libio/fseeko.c (fseeko): Likewise.
19239         * libio/fseeko64.c (fseeko64): Likewise.
19240         * libio/ftello.c (__ftello): Likewise.
19241         * libio/ftello64.c (ftello64): Likewise.
19242         * libio/fwide.c (fwide): Likewise.
19243         * libio/genops.c (_IO_un_link): Likewise.
19244         (_IO_link_in): Likewise.
19245         (_IO_least_marker): Likewise.
19246         (_IO_switch_to_main_get_area): Likewise.
19247         (_IO_switch_to_backup_area): Likewise.
19248         (_IO_switch_to_get_mode): Likewise.
19249         (_IO_free_backup_area): Likewise.
19250         (_IO_switch_to_put_mode): Likewise.
19251         (__overflow): Likewise.
19252         (__underflow): Likewise.
19253         (__uflow): Likewise.
19254         (_IO_setb): Likewise.
19255         (_IO_doallocbuf): Likewise.
19256         (_IO_default_underflow): Likewise.
19257         (_IO_default_uflow): Likewise.
19258         (_IO_default_xsputn): Likewise.
19259         (_IO_sgetn): Likewise.
19260         (_IO_default_xsgetn): Likewise.
19261         (_IO_sync): Likewise.
19262         (_IO_default_setbuf): Likewise.
19263         (_IO_default_seekpos): Likewise.
19264         (_IO_default_doallocate): Likewise.
19265         (_IO_init): Likewise.
19266         (_IO_old_init): Likewise.
19267         (_IO_default_sync): Likewise.
19268         (_IO_default_finish): Likewise.
19269         (_IO_default_seekoff): Likewise.
19270         (_IO_sputbackc): Likewise.
19271         (_IO_sungetc): Likewise.
19272         (_IO_set_column): Likewise.
19273         (_IO_set_column): Likewise.
19274         (_IO_adjust_column): Likewise.
19275         (_IO_get_column): Likewise.
19276         (_IO_init_marker): Likewise.
19277         (_IO_remove_marker): Likewise.
19278         (_IO_marker_difference): Likewise.
19279         (_IO_marker_delta): Likewise.
19280         (_IO_seekmark): Likewise.
19281         (_IO_unsave_markers): Likewise.
19282         (_IO_nobackup_pbackfail): Likewise.
19283         (_IO_default_pbackfail): Likewise.
19284         (_IO_default_seek): Likewise.
19285         (_IO_default_stat): Likewise.
19286         (_IO_default_read): Likewise.
19287         (_IO_default_write): Likewise.
19288         (_IO_default_showmanyc): Likewise.
19289         (_IO_default_imbue): Likewise.
19290         (_IO_iter_next): Likewise.
19291         (_IO_iter_file): Likewise.
19292         * libio/getc.c (_IO_getc): Likewise.
19293         * libio/getwc.c (_IO_getwc): Likewise.
19294         * libio/iofclose.c (_IO_new_fclose): Likewise.
19295         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19296         * libio/iofflush.c (_IO_fflush): Likewise.
19297         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19298         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19299         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19300         * libio/iofgets.c (_IO_fgets): Likewise.
19301         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19302         * libio/iofgetws.c (fgetws): Likewise.
19303         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19304         * libio/iofopen64.c (_IO_fopen64): Likewise.
19305         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19306         (_IO_cookie_write): Likewise.
19307         (_IO_cookie_seek): Likewise.
19308         (_IO_cookie_close): Likewise.
19309         (_IO_cookie_seekoff): Likewise.
19310         (_IO_old_cookie_seek): Likewise.
19311         * libio/iofputs.c (_IO_fputs): Likewise.
19312         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19313         * libio/iofputws.c (fputws): Likewise.
19314         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19315         * libio/iofread.c (_IO_fread): Likewise.
19316         * libio/iofread_u.c (__fread_unlocked): Likewise.
19317         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19318         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19319         * libio/ioftell.c (_IO_ftell): Likewise.
19320         * libio/iofwrite.c (_IO_fwrite): Likewise.
19321         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19322         * libio/iogets.c (_IO_gets): Likewise.
19323         * libio/iopadn.c (_IO_padn): Likewise.
19324         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19325         (_IO_new_popen): Likewise.
19326         (_IO_new_proc_close): Likewise.
19327         * libio/ioputs.c (_IO_puts): Likewise.
19328         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19329         (_IO_seekoff): Likewise.
19330         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19331         (_IO_seekpos): Likewise.
19332         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19333         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19334         * libio/ioungetc.c (_IO_ungetc): Likewise.
19335         * libio/ioungetwc.c (ungetwc): Likewise.
19336         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19337         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19338         * libio/iowpadn.c (_IO_wpadn): Likewise.
19339         * libio/libc_fatal.c (__libc_fatal): Likewise.
19340         * libio/memstream.c (__open_memstream): Likewise.
19341         (_IO_mem_sync): Likewise.
19342         (_IO_mem_finish): Likewise.
19343         * libio/oldfileops.c (_IO_old_file_init): Likewise.
19344         (_IO_old_file_close_it): Likewise.
19345         (_IO_old_file_finish): Likewise.
19346         (_IO_old_file_fopen): Likewise.
19347         (_IO_old_file_attach): Likewise.
19348         (_IO_old_file_setbuf): Likewise.
19349         (_IO_old_do_write): Likewise.
19350         (old_do_write): Likewise.
19351         (_IO_old_file_underflow): Likewise.
19352         (_IO_old_file_overflow): Likewise.
19353         (_IO_old_file_sync): Likewise.
19354         (_IO_old_file_seekoff): Likewise.
19355         (_IO_old_file_write): Likewise.
19356         (_IO_old_file_xsputn): Likewise.
19357         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19358         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19359         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19360         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19361         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19362         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19363         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19364         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19365         (_IO_old_popen): Likewise.
19366         (_IO_old_proc_close): Likewise.
19367         * libio/oldpclose.c (__old_pclose): Likewise.
19368         * libio/pclose.c (__new_pclose): Likewise.
19369         * libio/peekc.c (_IO_peekc_locked): Likewise.
19370         * libio/putc.c (_IO_putc): Likewise.
19371         * libio/putc_u.c (putc_unlocked): Likewise.
19372         * libio/putchar.c (putchar): Likewise.
19373         * libio/putchar_u.c (putchar_unlocked): Likewise.
19374         * libio/putwc.c (putwc): Likewise.
19375         * libio/putwc_u.c (putwc_unlocked): Likewise.
19376         * libio/putwchar.c (putwchar): Likewise.
19377         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
19378         * libio/rewind.c (rewind): Likewise.
19379         * libio/setbuf.c (setbuf): Likewise.
19380         * libio/setlinebuf.c (setlinebuf): Likewise.
19381         * libio/vasprintf.c (_IO_vasprintf): Likewise.
19382         * libio/vscanf.c (_IO_vscanf): Likewise.
19383         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
19384         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
19385         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19386         * libio/wgenops.c (_IO_least_wmarker): Likewise.
19387         (_IO_switch_to_main_wget_area): Likewise.
19388         (_IO_switch_to_wbackup_area): Likewise.
19389         (_IO_wsetb): Likewise.
19390         (_IO_wdefault_pbackfail): Likewise.
19391         (_IO_wdefault_finish): Likewise.
19392         (_IO_wdefault_uflow): Likewise.
19393         (__woverflow): Likewise.
19394         (__wuflow): Likewise.
19395         (__wunderflow): Likewise.
19396         (_IO_wdefault_xsputn): Likewise.
19397         (_IO_wdefault_xsgetn): Likewise.
19398         (_IO_wdoallocbuf): Likewise.
19399         (_IO_wdefault_doallocate): Likewise.
19400         (_IO_switch_to_wget_mode): Likewise.
19401         (_IO_free_wbackup_area): Likewise.
19402         (_IO_switch_to_wput_mode): Likewise.
19403         (_IO_sputbackwc): Likewise.
19404         (_IO_sungetwc): Likewise.
19405         (_IO_adjust_wcolumn): Likewise.
19406         (_IO_init_wmarker): Likewise.
19407         (_IO_wmarker_delta): Likewise.
19408         (_IO_seekwmark): Likewise.
19409         (_IO_unsave_wmarkers): Likewise.
19410         * libio/wmemstream.c (open_wmemstream): Likewise.
19411         (_IO_wmem_sync): Likewise.
19412         (_IO_wmem_finish): Likewise.
19413         * locale/nl_langinfo.c (nl_langinfo): Likewise.
19414         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
19415         * locale/programs/simple-hash.c (init_hash): Likewise.
19416         (delete_hash): Likewise.
19417         (insert_entry): Likewise.
19418         (set_entry): Likewise.
19419         (next_prime): Likewise.
19420         (is_prime): Likewise.
19421         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
19422         (xmalloc): Likewise.
19423         (xrealloc): Likewise.
19424         * locale/programs/xstrdup.c (xstrdup): Likewise.
19425         * localedata/collate-test.c (xstrcoll): Likewise.
19426         * localedata/xfrm-test.c (xstrcmp): Likewise.
19427         * login/getlogin_r.c (__getlogin_r): Likewise.
19428         * login/getpt.c (__posix_openpt): Likewise.
19429         * login/login_tty.c (login_tty): Likewise.
19430         * login/setlogin.c (setlogin): Likewise.
19431         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
19432         (mach_msg_destroy_port): Likewise.
19433         (mach_msg_destroy_memory): Likewise.
19434         * malloc/mcheck.c (flood): Likewise.
19435         * misc/acct.c (acct): Likewise.
19436         * misc/brk.c (__brk): Likewise.
19437         * misc/chflags.c (chflags): Likewise.
19438         * misc/chroot.c (chroot): Likewise.
19439         * misc/fchflags.c (fchflags): Likewise.
19440         * misc/fstab.c (getfsspec): Likewise.
19441         (getfsfile): Likewise.
19442         * misc/fsync.c (fsync): Likewise.
19443         * misc/ftruncate.c (__ftruncate): Likewise.
19444         * misc/ftruncate64.c (__ftruncate64): Likewise.
19445         * misc/getdomain.c (getdomainname): Likewise.
19446         (getdomainname): Likewise.
19447         * misc/gethostname.c (__gethostname): Likewise.
19448         * misc/getpass.c (getpass): Likewise.
19449         * misc/getttyent.c (skip): Likewise.
19450         (value): Likewise.
19451         * misc/gtty.c (gtty): Likewise.
19452         * misc/hsearch.c (hsearch): Likewise.
19453         (hcreate): Likewise.
19454         * misc/hsearch_r.c (__hcreate_r): Likewise.
19455         (__hdestroy_r): Likewise.
19456         * misc/ioctl.c (__ioctl): Likewise.
19457         * misc/mkdtemp.c (mkdtemp): Likewise.
19458         * misc/mkostemp.c (mkostemp): Likewise.
19459         * misc/mkostemp64.c (mkostemp64): Likewise.
19460         * misc/mkostemps.c (mkostemps): Likewise.
19461         * misc/mkostemps64.c (mkostemps64): Likewise.
19462         * misc/mkstemp.c (mkstemp): Likewise.
19463         * misc/mkstemp64.c (mkstemp64): Likewise.
19464         * misc/mkstemps.c (mkstemps): Likewise.
19465         * misc/mkstemps64.c (mkstemps64): Likewise.
19466         * misc/mktemp.c (__mktemp): Likewise.
19467         * misc/preadv.c (preadv): Likewise.
19468         * misc/preadv64.c (preadv64): Likewise.
19469         * misc/pwritev.c (pwritev): Likewise.
19470         * misc/pwritev64.c (pwritev64): Likewise.
19471         * misc/readv.c (__readv): Likewise.
19472         * misc/revoke.c (revoke): Likewise.
19473         * misc/setdomain.c (setdomainname): Likewise.
19474         * misc/setegid.c (setegid): Likewise.
19475         * misc/seteuid.c (seteuid): Likewise.
19476         * misc/sethostid.c (sethostid): Likewise.
19477         * misc/sethostname.c (sethostname): Likewise.
19478         * misc/setregid.c (__setregid): Likewise.
19479         * misc/setreuid.c (__setreuid): Likewise.
19480         * misc/sstk.c (sstk): Likewise.
19481         * misc/stty.c (stty): Likewise.
19482         * misc/syscall.c (syscall): Likewise.
19483         * misc/syslog.c (setlogmask): Likewise.
19484         * misc/truncate.c (__truncate): Likewise.
19485         * misc/truncate64.c (truncate64): Likewise.
19486         * misc/ualarm.c (ualarm): Likewise.
19487         * misc/usleep.c (usleep): Likewise.
19488         * misc/ustat.c (ustat): Likewise.
19489         * misc/writev.c (__writev): Likewise.
19490         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
19491         * nptl/old_pthread_cond_broadcast.c
19492         (__pthread_cond_broadcast_2_0): Likewise.
19493         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
19494         Likewise.
19495         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
19496         Likewise.
19497         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
19498         Likewise.
19499         * nptl/pt-raise.c (raise): Likewise.
19500         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
19501         Likewise.
19502         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
19503         * nptl/pthread_barrierattr_destroy.c
19504         (pthread_barrierattr_destroy): Likewise.
19505         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19506         Likewise.
19507         * nptl/pthread_barrierattr_setpshared.c
19508         (pthread_barrierattr_setpshared): Likewise.
19509         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19510         Likewise.
19511         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
19512         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19513         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
19514         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
19515         Likewise.
19516         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
19517         Likewise.
19518         * nptl/pthread_condattr_getpshared.c
19519         (pthread_condattr_getpshared): Likewise.
19520         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
19521         Likewise.
19522         * nptl/pthread_condattr_setpshared.c
19523         (pthread_condattr_setpshared): Likewise.
19524         * nptl/pthread_detach.c (pthread_detach): Likewise.
19525         * nptl/pthread_equal.c (__pthread_equal): Likewise.
19526         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
19527         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
19528         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
19529         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
19530         Likewise.
19531         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
19532         Likewise.
19533         * nptl/pthread_mutex_getprioceiling.c
19534         (pthread_mutex_getprioceiling): Likewise.
19535         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
19536         Likewise.
19537         * nptl/pthread_mutexattr_getprotocol.c
19538         (pthread_mutexattr_getprotocol): Likewise.
19539         * nptl/pthread_mutexattr_getpshared.c
19540         (pthread_mutexattr_getpshared): Likewise.
19541         * nptl/pthread_mutexattr_getrobust.c
19542         (pthread_mutexattr_getrobust): Likewise.
19543         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19544         Likewise.
19545         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
19546         Likewise.
19547         * nptl/pthread_mutexattr_setprioceiling.c
19548         (pthread_mutexattr_setprioceiling): Likewise.
19549         * nptl/pthread_mutexattr_setprotocol.c
19550         (pthread_mutexattr_setprotocol): Likewise.
19551         * nptl/pthread_mutexattr_setpshared.c
19552         (pthread_mutexattr_setpshared): Likewise.
19553         * nptl/pthread_mutexattr_setrobust.c
19554         (pthread_mutexattr_setrobust): Likewise.
19555         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
19556         Likewise.
19557         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
19558         Likewise.
19559         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
19560         Likewise.
19561         * nptl/pthread_rwlockattr_getkind_np.c
19562         (pthread_rwlockattr_getkind_np): Likewise.
19563         * nptl/pthread_rwlockattr_getpshared.c
19564         (pthread_rwlockattr_getpshared): Likewise.
19565         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
19566         Likewise.
19567         * nptl/pthread_rwlockattr_setkind_np.c
19568         (pthread_rwlockattr_setkind_np): Likewise.
19569         * nptl/pthread_rwlockattr_setpshared.c
19570         (pthread_rwlockattr_setpshared): Likewise.
19571         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
19572         Likewise.
19573         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
19574         Likewise.
19575         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
19576         Likewise.
19577         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
19578         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
19579         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
19580         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
19581         * nptl/sem_close.c (sem_close): Likewise.
19582         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
19583         * nptl/sem_init.c (__old_sem_init): Likewise.
19584         * nptl/sigaction.c (__sigaction): Likewise.
19585         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19586         * posix/_exit.c (_exit): Likewise.
19587         * posix/alarm.c (alarm): Likewise.
19588         * posix/confstr.c (confstr): Likewise.
19589         * posix/fpathconf.c (__fpathconf): Likewise.
19590         * posix/getgroups.c (__getgroups): Likewise.
19591         * posix/getpgid.c (__getpgid): Likewise.
19592         * posix/group_member.c (__group_member): Likewise.
19593         * posix/pathconf.c (__pathconf): Likewise.
19594         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
19595         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
19596         * posix/setgid.c (__setgid): Likewise.
19597         * posix/setpgid.c (__setpgid): Likewise.
19598         * posix/setuid.c (__setuid): Likewise.
19599         * posix/sleep.c (__sleep): Likewise.
19600         * posix/sysconf.c (__sysconf): Likewise.
19601         * posix/times.c (__times): Likewise.
19602         * posix/uname.c (__uname): Likewise.
19603         * posix/waitid.c (__waitid): Likewise.
19604         * pwd/getpw.c (__getpw): Likewise.
19605         * resolv/base64.c (b64_pton): Likewise.
19606         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
19607         * resolv/gethnamaddr.c (Dprintf): Likewise.
19608         (gethostbyname): Likewise.
19609         (gethostbyname2): Likewise.
19610         (gethostbyaddr): Likewise.
19611         (_sethtent): Likewise.
19612         (_gethtbyname): Likewise.
19613         (_gethtbyname2): Likewise.
19614         (_gethtbyaddr): Likewise.
19615         (map_v4v6_address): Likewise.
19616         (map_v4v6_hostent): Likewise.
19617         (addrsort): Likewise.
19618         (ht_sethostent): Likewise.
19619         (ht_gethostbyname): Likewise.
19620         (ht_gethostbyaddr): Likewise.
19621         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
19622         (inet_net_ntop_ipv4): Likewise.
19623         * resolv/inet_neta.c (inet_neta): Likewise.
19624         * resolv/inet_ntop.c (inet_ntop): Likewise.
19625         (inet_ntop4): Likewise.
19626         (inet_ntop6): Likewise.
19627         * resolv/inet_pton.c (__inet_pton): Likewise.
19628         (inet_pton4): Likewise.
19629         (inet_pton6): Likewise.
19630         * resolv/res_debug.c (loc_aton): Likewise.
19631         (loc_ntoa): Likewise.
19632         * resource/getpriority.c (__getpriority): Likewise.
19633         * resource/getrusage.c (__getrusage): Likewise.
19634         * resource/nice.c (nice): Likewise.
19635         * resource/setpriority.c (__setpriority): Likewise.
19636         * resource/setrlimit64.c (setrlimit64): Likewise.
19637         * resource/vlimit.c (vlimit): Likewise.
19638         * resource/vtimes.c (vtimes): Likewise.
19639         * rt/aio_error.c (aio_error): Likewise.
19640         * rt/aio_return.c (aio_return): Likewise.
19641         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
19642         * signal/kill.c (__kill): Likewise.
19643         * signal/killpg.c (killpg): Likewise.
19644         * signal/raise.c (raise): Likewise.
19645         * signal/sigaction.c (__sigaction): Likewise.
19646         * signal/sigaddset.c (sigaddset): Likewise.
19647         * signal/sigaltstack.c (sigaltstack): Likewise.
19648         * signal/sigandset.c (sigandset): Likewise.
19649         * signal/sigblock.c (__sigblock): Likewise.
19650         * signal/sigdelset.c (sigdelset): Likewise.
19651         * signal/sigempty.c (sigemptyset): Likewise.
19652         * signal/sigfillset.c (sigfillset): Likewise.
19653         * signal/sighold.c (sighold): Likewise.
19654         * signal/sigignore.c (sigignore): Likewise.
19655         * signal/sigintr.c (siginterrupt): Likewise.
19656         * signal/sigisempty.c (sigisemptyset): Likewise.
19657         * signal/sigismem.c (sigismember): Likewise.
19658         * signal/signal.c (signal): Likewise.
19659         * signal/sigorset.c (sigorset): Likewise.
19660         * signal/sigpause.c (__sigpause): Likewise.
19661         * signal/sigpending.c (sigpending): Likewise.
19662         * signal/sigprocmask.c (__sigprocmask): Likewise.
19663         * signal/sigrelse.c (sigrelse): Likewise.
19664         * signal/sigreturn.c (__sigreturn): Likewise.
19665         * signal/sigset.c (sigset): Likewise.
19666         * signal/sigsetmask.c (__sigsetmask): Likewise.
19667         * signal/sigstack.c (sigstack): Likewise.
19668         * signal/sigsuspend.c (__sigsuspend): Likewise.
19669         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
19670         * signal/sysv_signal.c (__sysv_signal): Likewise.
19671         * socket/accept.c (accept): Likewise.
19672         * socket/accept4.c (__libc_accept4): Likewise.
19673         * socket/bind.c (__bind): Likewise.
19674         * socket/connect.c (__connect): Likewise.
19675         * socket/getpeername.c (getpeername): Likewise.
19676         * socket/getsockname.c (__getsockname): Likewise.
19677         * socket/getsockopt.c (getsockopt): Likewise.
19678         * socket/listen.c (__listen): Likewise.
19679         * socket/recv.c (__recv): Likewise.
19680         * socket/recvmsg.c (__recvmsg): Likewise.
19681         * socket/send.c (__send): Likewise.
19682         * socket/sendmsg.c (__sendmsg): Likewise.
19683         * socket/shutdown.c (shutdown): Likewise.
19684         * socket/sockatmark.c (sockatmark): Likewise.
19685         * socket/socket.c (__socket): Likewise.
19686         * stdio-common/ctermid.c (ctermid): Likewise.
19687         * stdio-common/cuserid.c (cuserid): Likewise.
19688         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
19689         * stdio-common/remove.c (remove): Likewise.
19690         * stdio-common/rename.c (rename): Likewise.
19691         * stdio-common/renameat.c (renameat): Likewise.
19692         * stdio-common/tempname.c (__gen_tempname): Likewise.
19693         * stdio-common/xbug.c (InitBuffer): Likewise.
19694         (AppendToBuffer): Likewise.
19695         (ReadFile): Likewise.
19696         * stdlib/a64l.c (a64l): Likewise.
19697         * stdlib/drand48_r.c (drand48_r): Likewise.
19698         * stdlib/getcontext.c (getcontext): Likewise.
19699         * stdlib/getenv.c (getenv): Likewise.
19700         * stdlib/l64a.c (l64a): Likewise.
19701         * stdlib/llabs.c (llabs): Likewise.
19702         * stdlib/lldiv.c (lldiv): Likewise.
19703         * stdlib/lrand48_r.c (lrand48_r): Likewise.
19704         * stdlib/mrand48_r.c (mrand48_r): Likewise.
19705         * stdlib/putenv.c (putenv): Likewise.
19706         * stdlib/random.c (__srandom): Likewise.
19707         (__initstate): Likewise.
19708         (__setstate): Likewise.
19709         * stdlib/random_r.c (__srandom_r): Likewise.
19710         (__setstate_r): Likewise.
19711         (__random_r): Likewise.
19712         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
19713         * stdlib/setcontext.c (setcontext): Likewise.
19714         * stdlib/setenv.c (setenv): Likewise.
19715         (unsetenv): Likewise.
19716         * stdlib/srand48.c (srand48): Likewise.
19717         * stdlib/srand48_r.c (__srand48_r): Likewise.
19718         * stdlib/swapcontext.c (swapcontext): Likewise.
19719         * stdlib/system.c (__libc_system): Likewise.
19720         * stdlib/tst-strtod.c (expand): Likewise.
19721         * stdlib/tst-strtol.c (expand): Likewise.
19722         * stdlib/tst-strtoll.c (expand): Likewise.
19723         * streams/fattach.c (fattach): Likewise.
19724         * streams/fdetach.c (fdetach): Likewise.
19725         * streams/getmsg.c (getmsg): Likewise.
19726         * streams/isastream.c (isastream): Likewise.
19727         * string/ffs.c (__ffs): Likewise.
19728         * string/ffsll.c (ffsll): Likewise.
19729         * string/memcmp.c (memcmp_common_alignment): Likewise.
19730         (memcmp_not_common_alignment): Likewise.
19731         (MEMCMP): Likewise.
19732         * string/memcpy.c (memcpy): Likewise.
19733         * string/memmove.c (MEMMOVE): Likewise.
19734         * string/memset.c (memset): Likewise.
19735         * string/rawmemchr.c (RAWMEMCHR): Likewise.
19736         * string/strchrnul.c (STRCHRNUL): Likewise.
19737         * string/strerror.c (strerror): Likewise.
19738         * string/strndup.c (__strndup): Likewise.
19739         * string/strverscmp.c (__strverscmp): Likewise.
19740         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
19741         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
19742         (clnttcp_freeres): Likewise.
19743         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
19744         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
19745         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
19746         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
19747         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
19748         (xdr_callhdr): Likewise.
19749         * sunrpc/rpcinfo.c (udpping): Likewise.
19750         (tcpping): Likewise.
19751         (pstatus): Likewise.
19752         (pmapdump): Likewise.
19753         (brdcst): Likewise.
19754         (deletereg): Likewise.
19755         (getprognum): Likewise.
19756         (getvers): Likewise.
19757         (get_inet_address): Likewise.
19758         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
19759         * sunrpc/svc_udp.c (svcudp_create): Likewise.
19760         (svcudp_stat): Likewise.
19761         (svcudp_recv): Likewise.
19762         (svcudp_reply): Likewise.
19763         (svcudp_getargs): Likewise.
19764         (svcudp_freeargs): Likewise.
19765         (svcudp_destroy): Likewise.
19766         * sunrpc/xdr.c (xdr_bytes): Likewise.
19767         (xdr_netobj): Likewise.
19768         (xdr_string): Likewise.
19769         (xdr_wrapstring): Likewise.
19770         * sunrpc/xdr_float.c (xdr_float): Likewise.
19771         (xdr_double): Likewise.
19772         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
19773         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
19774         * sysvipc/ftok.c (ftok): Likewise.
19775         * sysvipc/msgctl.c (msgctl): Likewise.
19776         * sysvipc/msgget.c (msgget): Likewise.
19777         * sysvipc/msgrcv.c (msgrcv): Likewise.
19778         * sysvipc/msgsnd.c (msgsnd): Likewise.
19779         * sysvipc/semget.c (semget): Likewise.
19780         * sysvipc/semop.c (semop): Likewise.
19781         * sysvipc/shmat.c (shmat): Likewise.
19782         * sysvipc/shmctl.c (shmctl): Likewise.
19783         * sysvipc/shmdt.c (shmdt): Likewise.
19784         * sysvipc/shmget.c (shmget): Likewise.
19785         * termios/cfmakeraw.c (cfmakeraw): Likewise.
19786         * termios/speed.c (cfgetospeed): Likewise.
19787         (cfgetispeed): Likewise.
19788         (cfsetospeed): Likewise.
19789         (cfsetispeed): Likewise.
19790         * termios/tcflow.c (tcflow): Likewise.
19791         * termios/tcflush.c (tcflush): Likewise.
19792         * termios/tcgetattr.c (__tcgetattr): Likewise.
19793         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
19794         * termios/tcgetsid.c (tcgetsid): Likewise.
19795         * termios/tcsendbrk.c (tcsendbreak): Likewise.
19796         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
19797         * time/adjtime.c (__adjtime): Likewise.
19798         * time/dysize.c (dysize): Likewise.
19799         * time/ftime.c (ftime): Likewise.
19800         * time/getitimer.c (__getitimer): Likewise.
19801         * time/gettimeofday.c (__gettimeofday): Likewise.
19802         * time/gmtime.c (__gmtime_r): Likewise.
19803         (gmtime): Likewise.
19804         * time/localtime.c (__localtime_r): Likewise.
19805         (localtime): Likewise.
19806         * time/offtime.c (__offtime): Likewise.
19807         * time/settimeofday.c (__settimeofday): Likewise.
19808         * time/stime.c (stime): Likewise.
19809         * time/strftime_l.c (tm_diff): Likewise.
19810         (iso_week_days): Likewise.
19811         * time/strptime.c (strptime): Likewise.
19812         * time/time.c (time): Likewise.
19813         * time/timespec_get.c (timespec_get): Likewise.
19814         * time/tzset.c (tzset_internal): Likewise.
19815         (compute_change): Likewise.
19816         (__tz_compute): Likewise.
19817         * wcsmbs/btowc.c (__btowc): Likewise.
19818         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
19819         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
19820         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
19821         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
19822         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
19823         * wcsmbs/wcscat.c (__wcscat): Likewise.
19824         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19825         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
19826         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
19827         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19828         * wcsmbs/wcsdup.c (wcsdup): Likewise.
19829         * wcsmbs/wcslen.c (__wcslen): Likewise.
19830         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
19831         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
19832         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
19833         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
19834         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19835         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
19836         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19837         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19838         * wcsmbs/wcstok.c (wcstok): Likewise.
19839         * wcsmbs/wctob.c (wctob): Likewise.
19840         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
19841         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19842         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
19843         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
19844         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
19845         * wcsmbs/wmemset.c (__wmemset): Likewise.
19846         * wctype/wcfuncs.c (__towlower): Likewise.
19847         (__towupper): Likewise.
19849         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
19850         (lll_unlock_elision): Add adapt_count parameter.
19852 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
19854         * sysdeps/nptl/configure.ac: Do not give errors based on the
19855         results of top-level configure tests.
19856         * sysdeps/nptl/configure: Regenerated.
19858         * configure.ac (libc_cv_Bgroup): Remove configure test.
19859         * configure: Regenerated.
19860         * config.make.in (have-Bgroup): Remove variable.
19862         * configure.ac (sizeof_long_double): Remove configure test.
19863         * configure: Regenerated.
19864         * config.make.in (sizeof-long-double): Remove variable.
19866         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
19867         * configure: Regenerated.
19868         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
19869         variable.
19870         (exceptions): Likewise.
19871         * sysdeps/arm/configure: Regenerated.
19872         * config.make.in (exceptions): Remove variable.
19873         * Makeconfig (uses-callbacks): Use -fexceptions instead of
19874         $(exceptions).
19875         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
19876         (CFLAGS-vdprintf_chk.c): Likewise.
19877         (CFLAGS-printf_chk.c): Likewise.
19878         (CFLAGS-fprintf_chk.c): Likewise.
19879         (CFLAGS-vprintf_chk.c): Likewise.
19880         (CFLAGS-vfprintf_chk.c): Likewise.
19881         (CFLAGS-gets_chk.c): Likewise.
19882         (CFLAGS-fgets_chk.c): Likewise.
19883         (CFLAGS-fgets_u_chk.c): Likewise.
19884         (CFLAGS-fread_chk.c): Likewise.
19885         (CFLAGS-fread_u_chk.c): Likewise.
19886         (CFLAGS-wprintf_chk.c): Likewise.
19887         (CFLAGS-fwprintf_chk.c): Likewise.
19888         (CFLAGS-vwprintf_chk.c): Likewise.
19889         (CFLAGS-vfwprintf_chk.c): Likewise.
19890         (CFLAGS-fgetws_chk.c): Likewise.
19891         (CFLAGS-fgetws_u_chk.c): Likewise.
19892         * libio/Makefile (CFLAGS-fileops.c): Likewise.
19893         (CFLAGS-fputc.c): Likewise.
19894         (CFLAGS-fputwc.c): Likewise.
19895         (CFLAGS-freopen64.c): Likewise.
19896         (CFLAGS-freopen.c): Likewise.
19897         (CFLAGS-fseek.c): Likewise.
19898         (CFLAGS-fseeko64.c): Likewise.
19899         (CFLAGS-fseeko.c): Likewise.
19900         (CFLAGS-ftello64.c): Likewise.
19901         (CFLAGS-ftello.c): Likewise.
19902         (CFLAGS-fwide.c): Likewise.
19903         (CFLAGS-genops.c): Likewise.
19904         (CFLAGS-getc.c): Likewise.
19905         (CFLAGS-getchar.c): Likewise.
19906         (CFLAGS-getwc.c): Likewise.
19907         (CFLAGS-getwchar.c): Likewise.
19908         (CFLAGS-iofclose.c): Likewise.
19909         (CFLAGS-iofflush.c): Likewise.
19910         (CFLAGS-iofgetpos64.c): Likewise.
19911         (CFLAGS-iofgetpos.c): Likewise.
19912         (CFLAGS-iofgets.c): Likewise.
19913         (CFLAGS-iofgetws.c): Likewise.
19914         (CFLAGS-iofputs.c): Likewise.
19915         (CFLAGS-iofputws.c): Likewise.
19916         (CFLAGS-iofread.c): Likewise.
19917         (CFLAGS-iofsetpos64.c): Likewise.
19918         (CFLAGS-iofsetpos.c): Likewise.
19919         (CFLAGS-ioftell.c): Likewise.
19920         (CFLAGS-iofwrite.c): Likewise.
19921         (CFLAGS-iogetdelim.c): Likewise.
19922         (CFLAGS-iogetline.c): Likewise.
19923         (CFLAGS-iogets.c): Likewise.
19924         (CFLAGS-iogetwline.c): Likewise.
19925         (CFLAGS-ioputs.c): Likewise.
19926         (CFLAGS-ioseekoff.c): Likewise.
19927         (CFLAGS-ioseekpos.c): Likewise.
19928         (CFLAGS-iosetbuffer.c): Likewise.
19929         (CFLAGS-iosetvbuf.c): Likewise.
19930         (CFLAGS-ioungetc.c): Likewise.
19931         (CFLAGS-ioungetwc.c): Likewise.
19932         (CFLAGS-oldfileops.c): Likewise.
19933         (CFLAGS-oldiofclose.c): Likewise.
19934         (CFLAGS-oldiofgetpos64.c): Likewise.
19935         (CFLAGS-oldiofgetpos.c): Likewise.
19936         (CFLAGS-oldiofsetpos64.c): Likewise.
19937         (CFLAGS-oldiofsetpos.c): Likewise.
19938         (CFLAGS-peekc.c): Likewise.
19939         (CFLAGS-putc.c): Likewise.
19940         (CFLAGS-putchar.c): Likewise.
19941         (CFLAGS-putwc.c): Likewise.
19942         (CFLAGS-putwchar.c): Likewise.
19943         (CFLAGS-rewind.c): Likewise.
19944         (CFLAGS-wfileops.c): Likewise.
19945         (CFLAGS-wgenops.c): Likewise.
19946         (CFLAGS-oldiofopen.c): Likewise.
19947         (CFLAGS-iofopen.c): Likewise.
19948         (CFLAGS-iofopen64.c): Likewise.
19949         (CFLAGS-oldtmpfile.c): Likewise.
19950         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19951         (CFLAGS-fprintf.c): Likewise.
19952         (CFLAGS-printf.c): Likewise.
19953         (CFLAGS-vfwprintf.c): Likewise.
19954         (CFLAGS-vfscanf.c): Likewise.
19955         (CFLAGS-vfwscanf.c): Likewise.
19956         (CFLAGS-fscanf.c): Likewise.
19957         (CFLAGS-scanf.c): Likewise.
19958         (CFLAGS-isoc99_vfscanf.c): Likewise.
19959         (CFLAGS-isoc99_vscanf.c): Likewise.
19960         (CFLAGS-isoc99_fscanf.c): Likewise.
19961         (CFLAGS-isoc99_scanf.c): Likewise.
19962         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
19963         (CFLAGS-isoc99_fwscanf.c): Likewise.
19964         (CFLAGS-isoc99_vwscanf.c): Likewise.
19965         (CFLAGS-isoc99_vfwscanf.c): Likewise.
19967         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
19968         after mkstemp64.
19969         * login/tst-utmp.c (do_prepare): Likewise.
19970         * rt/tst-aio.c (do_prepare): Likewise.
19971         * rt/tst-aio64.c (do_prepare): Likewise.
19973 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19975         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19976         (__lll_lock_elision): Remove adapt_count decrement...
19977         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19978         (__lll_trylock_elision): Likewise.
19979         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19980         (__lll_unlock_elision): ... to here. And utilize
19981         new adapt_count parameter.
19982         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19983         (__lll_unlock_elision): Update to include adapt_count
19984         parameter.
19985         (lll_unlock_elision): Pass pointer to adapt_count
19986         variable.
19988 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19990         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
19991         Add elision adapt_count parameter to list of arguments.
19992         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19993         (lll_unlock_elision): Update with new parameter list
19994         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
19995         (lll_unlock_elision): Likewise.
19996         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
19997         (lll_unlock_elision): Likewise.
19999 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20001         [BZ #19122]
20002         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
20003         attribute_hidden.
20005         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
20006         attribute_hidden.
20007         [IS_IN (rtld)] (__strdup): Likewise.
20008         [IS_IN (rtld)] (__strerror_r): Likewise.
20009         [IS_IN (rtld)] (__strsep_g): Likewise.
20010         [IS_IN (rtld)] (memchr): Likewise.
20011         [IS_IN (rtld)] (memcmp): Likewise.
20012         [IS_IN (rtld)] (memcpy): Likewise.
20013         [IS_IN (rtld)] (memmove): Likewise.
20014         [IS_IN (rtld)] (memset): Likewise.
20015         [IS_IN (rtld)] (rawmemchr): Likewise.
20016         [IS_IN (rtld)] (stpcpy): Likewise.
20017         [IS_IN (rtld)] (strchr): Likewise.
20018         [IS_IN (rtld)] (strcmp): Likewise.
20019         [IS_IN (rtld)] (strlen): Likewise.
20020         [IS_IN (rtld)] (strnlen): Likewise.
20021         [IS_IN (rtld)] (strsep): Likewise.
20023         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
20024         attribute_hidden.
20025         [IS_IN (rtld)] (__strtoul_internal): Likewise.
20027         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
20028         attribute_hidden.
20029         [IS_IN (rtld)] (__libc_sigaction): Likewise.
20031         * include/setjmp.h (__longjmp): Add attribute_hidden.
20032         [IS_IN (rtld)] (__sigsetjmp): Likewise.
20034         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
20035         Add attribute_hidden.
20037         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
20038         [IS_IN (rtld)] (__open): Likewise.
20039         [IS_IN (rtld)] (__fcntl): Likewise.
20041         * include/dirent.h (__opendirat): Add attribute_hidden.
20042         (__getdents): Likewise.
20043         (__getdents64): Likewise.
20044         (__alloc_dir): Likewise.
20045         [IS_IN (rtld)] (__closedir): Likewise.
20046         [IS_IN (rtld)] (__fdopendir): Likewise.
20047         [IS_IN (rtld)] (__readdir): Likewise.
20048         [IS_IN (rtld)] (__readdir64): Likewise.
20049         [IS_IN (rtld)] (__rewinddir): Likewise.
20051         * include/dlfcn.h (_dl_catch_error): Moved to ...
20052         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20053         attribute_hidden.
20055         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20056         (_itoa_word): Likewise.
20058         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20059         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20060         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20061         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20062         (_dl_higher_prime_number): Likewise.
20063         (_dl_debug_printf_c): Likewise.
20064         (_dl_signal_cerror): Likewise.
20065         (_dl_receive_error): Likewise.
20066         (_dl_reloc_bad_type): Likewise.
20067         (_dl_resolve_conflicts): Likewise.
20068         (_dl_check_all_versions): Likewise.
20069         (_dl_check_map_versions): Likewise.
20070         (_dl_sort_fini): Likewise.
20071         (_dl_debug_initialize): Likewise.
20072         (_dl_init_paths): Likewise.
20073         (_dl_show_auxv): Likewise.
20074         (_dl_next_ld_env_entry): Likewise.
20075         (_dl_important_hwcaps): Likewise.
20076         (_dl_load_cache_lookup): Likewise.
20077         (_dl_update_slotinfo): Likewise.
20078         (_dl_show_scope): Likewise.
20080         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20081         attribute_hidden.
20082         (_wordcopy_fwd_dest_aligned): Likewise.
20083         (_wordcopy_bwd_aligned): Likewise.
20084         (_wordcopy_bwd_dest_aligned): Likewise.
20086         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20087         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20088         Likewise.
20089         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20090         Likewise.
20091         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20093 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20095         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20096         GCC 5 requirement.
20098 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20100         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20101         test.
20102         * sysdeps/i386/configure: Regenerated.
20103         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20104         code unconditional.
20106         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20107         test.
20108         (libc_cv_asm_popsection_directive): Likewise.
20109         * configure: Regenerated.
20110         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20111         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20112         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20113         (__make_section_unallocated): Make definition unconditional.
20114         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20115         Remove conditional definition.
20116         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20117         (__make_section_unallocated): Likewise.
20119         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20120         * configure: Regenerated.
20121         * config.make.in (static-libgcc): Remove variable.
20122         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20123         $(static-libgcc).
20124         (build-module-helper): Likewise.
20126         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20127         * configure: Regenerated.
20129 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20131         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20132         (struct char_buffer): New type.
20133         (char_buffer_start, char_buffer_size, char_buffer_error)
20134         (char_buffer_rewind, char_buffer_add): New functions.
20135         (ADDW): Remove macro, replaced by the char_buffer_add function.
20136         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20137         of extend_alloca.  Make control flow more explicit.
20139 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20141         [BZ #19137]
20142         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20143         Add -fomit-frame-pointer.
20144         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20146 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20148         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20149         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20150         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20151         only if !__GNUC_PREREQ (5,0).
20152         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20153         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20154         (INTERNAL_SYSCALL_NCS): Likewise.
20155         (LOADREGS_0): New macro for GCC 5.
20156         (ASMARGS_0): Likewise.
20157         (LOADREGS_1): Likewise.
20158         (ASMARGS_1): Likewise.
20159         (LOADREGS_2): Likewise.
20160         (ASMARGS_2): Likewise.
20161         (LOADREGS_3): Likewise.
20162         (ASMARGS_3): Likewise.
20163         (LOADREGS_4): Likewise.
20164         (ASMARGS_4): Likewise.
20165         (LOADREGS_5): Likewise.
20166         (ASMARGS_5): Likewise.
20167         (LOADREGS_6): Likewise.
20168         (ASMARGS_6): Likewise.
20170 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20172         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20173         -fomit-frame-pointer.
20174         (CFLAGS-mmap64.c): Likewise.
20175         (CFLAGS-semtimedop.c): Likewise.
20176         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20177         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20178         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20179         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20181 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20183         [BZ #18928]
20184         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20185         _dl_pointer_guard member.
20186         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20187         initializer.
20188         (security_init): Always set up pointer guard.
20189         (process_envvars): Do not process LD_POINTER_GUARD.
20191 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20193         [BZ #19134]
20194         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20195         (.LC2): Likewise.
20196         (.LC3): Likewise.
20197         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20199 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20201         [BZ #19129]
20202         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20203         r0 and r1.
20205 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20207         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20209 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20211         * include/stap-probe.h: Fix macro definition formatting.
20213 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20215         [BZ #19074]
20216         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20217         load and store num_ifs.
20219 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20221         [BZ #18822]
20222         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20223         (__sched_getaffinity_new): Add libc_hidden_proto and
20224         libc_hidden_def.
20226 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20228         [BZ #19007]
20229         * scripts/localplt.awk: Also allow GOT references.
20230         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20231         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20232         with "+ REL R_386_GLOB_DAT".
20233         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20234         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20236 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20238         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20239         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20240         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20241         Likewise.
20242         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20243         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20244         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20245         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20246         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20247         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20248         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20249         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20250         Likewise.
20251         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20253 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20255         [BZ #19125]
20256         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20257         <math_private.h> and <stdint.h>.
20258         (__llround): Avoid conversions to and from long long int, and
20259         subtractions, where those might raise spurious exceptions.
20260         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20261         <math_private.h> and <stdint.h>.
20262         (__llroundf): Avoid conversions to and from long long int, and
20263         subtractions, where those might raise spurious exceptions.
20265 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20267         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20268         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20269         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20270         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20271         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20272         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20273         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20274         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20275         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20276         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20277         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20278         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20279         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20280         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20281         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20282         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20283         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20284         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20285         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20286         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20287         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20288         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20289         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20290         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20291         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20292         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20293         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20294         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20295         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20296         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20297         (__xstat64_conv): Likewise.
20298         (__xstat32_conv): Likewise.
20300 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20302         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20303         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20304         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20305         <sysdeps/unix/sysv/linux/sysdep.h>.
20306         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20307         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20308         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20309         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20310         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20311         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20312         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20313         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20314         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20317         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20318         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20319         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20320         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20322         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20323         (sysdep-dl-routines): Add sysdep.
20324         [$(subdir) == nptl] (libpthread-routines): Likewise.
20325         [$(subdir) == rt] (librt-routines): Likewise.
20326         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20327         PIC when branching to SYSCALL_ERROR_LABEL.
20328         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20329         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20330         <sysdeps/unix/sysv/linux/sysdep.h>.
20331         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20332         (SYSCALL_ERROR_ERRNO): Removed.
20333         (SYSCALL_ERROR_HANDLER): Changed to empty.
20334         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20335         (__syscall_error): New prototype.
20336         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20337         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20339 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20341         [BZ #19124]
20342         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20343         (_dl_runtime_resolve_avx512): Make it a hidden alias of
20344         _dl_runtime_resolve_avx.
20345         (_dl_runtime_profile_avx512): Make it a hidden alias of
20346         _dl_runtime_profile_avx.
20348 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20350         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20351         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20352         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20353         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20355         [BZ #16422]
20356         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20357         New configure test.
20358         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20359         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20360         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20361         <math_private.h> and <stdint.h>.
20362         (__llrint): Avoid conversions to long long int where those might
20363         raise spurious exceptions.
20364         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20365         <math_private.h> and <stdint.h>.
20366         (__llrintf): Avoid conversions to long long int where those might
20367         raise spurious exceptions.
20369 2015-10-12  Andreas Schwab  <schwab@suse.de>
20371         [BZ #18969]
20372         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
20373         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
20374         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
20375         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
20376         $(gen-locales).
20377         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
20378         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
20379         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
20380         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
20381         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
20382         $(gen-locales).
20383         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
20384         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
20385         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
20386         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
20387         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
20388         ($(objpfx)tst-ftell-active-handler.out)
20389         ($(objpfx)tst-ftell-append.out)
20390         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
20391         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
20392         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
20393         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
20394         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
20395         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
20396         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
20397         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
20398         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
20399         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
20400         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
20401         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
20402         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
20403         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
20404         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
20405         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
20406         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
20407         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
20408         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
20409         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
20410         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
20411         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
20412         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
20413         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
20414         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
20415         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
20416         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
20417         $(gen-locales).
20418         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
20419         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
20420         $(gen-locales).
20421         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
20422         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
20423         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
20424         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
20425         $(gen-locales).
20426         * libio/tst_wprintf2.c (main): Use explicit locale.
20427         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
20429 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20431         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
20432         __msg_sig_post.
20433         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
20435 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20437         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20438         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20440         * sysdeps/arm/libm-test-ulps: Regenerated.
20442         [BZ #15470]
20443         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
20445         [BZ #16399]
20446         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
20447         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
20448         and <fix-fp-int-convert-overflow.h>.
20449         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20450         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20451         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
20452         and <fix-fp-int-convert-overflow.h>.
20453         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
20454         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20455         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
20456         <fix-fp-int-convert-overflow.h>.
20457         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20458         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20459         * sysdeps/ieee754/dbl-64/s_lround.c: Include
20460         <fix-fp-int-convert-overflow.h>.
20461         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
20462         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20463         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
20464         and <fix-fp-int-convert-overflow.h>.
20465         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20466         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20467         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
20468         <limits.h> and <fix-fp-int-convert-overflow.h>.
20469         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20470         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20471         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
20472         and <fix-fp-int-convert-overflow.h>.
20473         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20474         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20475         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
20476         and <fix-fp-int-convert-overflow.h>.
20477         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20478         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20479         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
20481 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
20483         [BZ #18589]
20484         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
20485         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
20486         $(gen-locales).
20488 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20489             Phil Blundell <pb@pbcl.net>
20491         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
20492         * nptl/tst-cancel26.c: New file.
20493         * nptl/tst-cancel27.c: Likewise.
20495 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
20497         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
20498         __ILP32__ isn't defined.
20499         (lrint): Likewise.
20500         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
20501         (lrintf): Likewise.
20502         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
20503         (lrintl): Likewise.
20504         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
20505         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
20506         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
20508 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20510         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20511         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20513         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
20514         file.
20515         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
20516         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20518 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20520         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
20521         configure test.
20522         * sysdeps/i386/configure: Regenerated.
20523         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
20524         configure test.
20525         * sysdeps/x86_64/configure: Regenerated.
20526         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
20527         Make code unconditional.
20529         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
20530         test.
20531         * sysdeps/i386/configure: Regenerated.
20532         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
20533         test.
20534         * sysdeps/x86_64/configure: Regenerated.
20535         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
20536         Make code unconditional.
20537         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20538         Likewise.
20539         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
20540         Likewise.
20541         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20542         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
20543         code unconditional.
20544         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20545         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
20546         code unconditional.
20547         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20548         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
20549         code unconditional.
20550         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
20551         code unconditional.
20552         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20553         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
20554         code unconditional.
20555         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20556         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
20557         code unconditional.
20558         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20559         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
20560         code unconditional.
20561         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20562         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
20563         code unconditional.
20564         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20565         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
20567         [BZ #19095]
20568         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
20569         mantissa to long int before shifting left.
20571 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
20573         [BZ #19094]
20574         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
20575         <limits.h>.
20576         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20577         when result overflows but exception would not result from cast.
20578         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
20579         <limits.h>.
20580         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20581         when result overflows but exception would not result from cast.
20582         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
20583         <limits.h>.
20584         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20585         when result overflows but exception would not result from cast.
20586         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
20587         <limits.h>.
20588         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20589         when result overflows but exception would not result from cast.
20590         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
20591         <limits.h>.
20592         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20593         when result overflows but exception would not result from cast.
20594         * math/libm-test.inc (lrint_test_data): Add more tests.
20595         (llrint_test_data): Likewise.
20597 2015-10-08  Roland McGrath  <roland@hack.frob.com>
20599         [BZ #18872]
20600         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
20601         Move out from under [$(run-built-tests) = yes] conditional.
20602         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
20603         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
20605 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
20607         [BZ #18589]
20608         * string/Makefile (tests): Add bug-strcoll2.
20609         (LOCALES): Add cs_CZ.UTF-8.
20610         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
20612         [BZ #18589]
20613         * string/bug-strcoll2.c: New file.
20614         * locale/categories.def: Revert commit
20615         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
20616         * locale/langinfo.h: Likewise.
20617         * locale/localeinfo.h: Likewise.
20618         * locale/C-collate.c: Likewise.
20619         * locale/programs/ld-collate.c (collate_output): Likewise.
20620         * string/strcoll_l.c (STRDIFF): Likewise.
20621         (STRCOLL): Likewise.
20622         * wcsmbs/wcscoll_l.c: Likewise.
20624 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
20626         * math/libm-test.inc (lround_test_data): Do not expect the absence
20627         of "inexact" for some tests with non-integer arguments.
20628         (llround_test_data): Likewise.
20630         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
20631         test.
20632         (libc_cv_cc_sse2avx): Likewise.
20633         * sysdeps/i386/configure: Regenerated.
20634         * sysdeps/i386/i686/multiarch/Makefile
20635         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
20636         [$(subdir) = math].
20637         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
20638         code unconditional.
20639         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20640         Likewise.
20641         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
20642         Likewise.
20643         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
20644         Likewise.
20645         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
20646         test.
20647         (libc_cv_cc_sse2avx): Likewise.
20648         * sysdeps/x86_64/configure: Regenerated.
20649         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
20650         unconditional.
20651         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
20652         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
20653         unconditional.
20654         (_dl_runtime_profile)
20655         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
20656         conditional code.
20657         * sysdeps/x86_64/fpu/multiarch/Makefile
20658         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
20659         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20660         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20661         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20662         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20663         * sysdeps/x86_64/fpu/multiarch/e_log.c
20664         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20665         * sysdeps/x86_64/fpu/multiarch/s_atan.c
20666         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20667         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20668         Likewise.
20669         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
20670         Likewise.
20671         * sysdeps/x86_64/fpu/multiarch/s_sin.c
20672         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20673         * sysdeps/x86_64/fpu/multiarch/s_tan.c
20674         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20675         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
20676         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
20677         (HAVE_SSE2AVX_SUPPORT): Likewise.
20679 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
20681         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
20682         instead of #pragma optimize.
20684 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
20686         [BZ #17195]
20687         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
20688         as is similarly done in systrim and _int_free already.
20690 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20692         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
20694 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
20696         [BZ #19088]
20697         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
20698         <limits.h>.
20699         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
20700         overflows but exception would not result from cast.
20701         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
20702         and <limits.h>.
20703         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
20704         overflows but exception would not result from cast.
20705         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
20706         <limits.h>.
20707         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
20708         overflows but exception would not result from cast.
20709         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
20710         <limits.h>.
20711         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
20712         overflows but exception would not result from cast.
20713         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
20714         <limits.h>.
20715         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
20716         overflows but exception would not result from cast.
20717         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
20718         <limits.h>.
20719         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
20720         overflows but exception would not result from cast.
20721         * math/libm-test.inc (lround_test_data): Add more tests.
20722         (llround_test_data): Likewise.
20724 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
20726         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
20727         (CFLAGS-ialloc.c): Ditto.
20728         (CFLAGS-scheck.c): Ditto.
20730 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
20732         [BZ #19086]
20733         * manual/filesys.texi (Storage Allocation): Fix argument order for
20734         posix_fallocate64.
20736 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
20738         [BZ #19085]
20739         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
20740         exponent below 48 inside case for non-overflowing exponent.
20741         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
20743 2015-10-07  Florian Weimer  <fweimer@redhat.com>
20745         * iconvdata/cp737.h (from_idx): Add const.
20746         * iconvdata/cp775.h (from_idx): Likewise.
20748 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
20750         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
20751         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
20752         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
20754         [BZ #19079]
20755         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
20756         file, conditioned on [!_LP64].
20757         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
20758         [!_LP64] (__lround): Do not define as function or alias.
20759         [!_LP64] (lround): Likewise.
20760         [!_LP64] (__lroundl): Likewise.
20761         [!_LP64] (lroundl): Likewise.
20762         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
20763         macro.
20764         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20765         Likewise.
20767 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
20769         * math/libm-test.inc (lrint_test_data): Add more tests.
20770         (llrint_test_data): Likewise.
20771         (lround_test_data): Likewise.
20772         (llround_test_data): Likewise.
20774         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
20775         (llrint_test_data): Add tests used for lrint.
20777         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
20778         test.
20779         * sysdeps/i386/configure: Regenerated.
20780         * sysdeps/i386/i686/multiarch/Makefile
20781         [$(config-cflags-sse4) = yes]: Make code unconditional.
20782         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
20783         Likewise.
20784         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
20785         Likewise.
20786         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
20787         test.
20788         * sysdeps/x86_64/configure: Regenerated.
20789         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
20790         Make code unconditional.
20791         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
20792         Likewise.
20793         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
20794         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
20796         * scripts/rpm2dynsym.sh: Remove file.
20798 2015-10-06  Florian Weimer  <fweimer@redhat.com>
20800         * configure.ac (libc_cv_cxx_thread_local): Define.
20801         * configure: Regenerate.
20802         * config.make.in (have-cxx-thread_local): Define.
20803         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
20804         (LDLIBS-tst-thread_local1): Define.
20805         (tests): Add tst-thread_local1.
20806         [have-cxx-thread_local != yes] (tests-unsupported): Add
20807         tst-thread_local1.
20808         * nptl/tst-thread_local1.cc: New file.
20810 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
20812         [BZ #19078]
20813         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
20814         (u_thres): Likewise.
20815         (__expl): Determine whether to call __kernel_standard_l based on
20816         value of result, not argument.
20818         * math/libm-test.inc (scalb_test_data): Add more expectations for
20819         the "inexact" exception.
20821         [BZ #19077]
20822         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
20823         0.0L for argument 1.0L.
20825         [BZ #19076]
20826         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
20827         constant 0.0L when computing infinite result.
20829 2015-10-06  Florian Weimer  <fweimer@redhat.com>
20831         [BZ #10432]
20832         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
20833         malloc_usable_size.
20835 2015-10-06  Florian Weimer  <fweimer@redhat.com>
20837         [BZ #19018]
20838         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20839         Mangle function pointer before storing it.
20840         (__call_tls_dtors): Demangle function pointer before calling it.
20842 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20844         [BZ #19012]
20845         * iconv/gconv_db.c (gen_steps): Check for additional errors.
20846         Clean up on failure.
20848 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
20850         [BZ #19071]
20851         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
20852         long int variable to store possibly incremented high part of
20853         mantissa.
20854         * math/libm-test.inc (lround_test_data): Add tests used for
20855         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
20856         for tests requiring 64-bit long.  Do not condition tests on
20857         [TEST_FLOAT] unnecessarily.
20858         (llround_test_data): Add tests used for lround.  Add another
20859         expectation for the "inexact" exception.  Do not condition tests
20860         on [TEST_FLOAT] unnecessarily.
20862         [BZ #887]
20863         [BZ #19049]
20864         [BZ #19050]
20865         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
20866         * sysdeps/ieee754/dbl-64/e_log10.c: Include
20867         <fix-int-fp-convert-zero.h>.
20868         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20869         * sysdeps/ieee754/dbl-64/e_log2.c: Include
20870         <fix-int-fp-convert-zero.h>.
20871         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20872         * sysdeps/ieee754/dbl-64/s_erf.c: Include
20873         <fix-int-fp-convert-zero.h>.
20874         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20875         * sysdeps/ieee754/dbl-64/s_logb.c: Include
20876         <fix-int-fp-convert-zero.h>.
20877         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20878         * sysdeps/ieee754/flt-32/e_log10f.c: Include
20879         <fix-int-fp-convert-zero.h>.
20880         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20881         * sysdeps/ieee754/flt-32/e_log2f.c: Include
20882         <fix-int-fp-convert-zero.h>.
20883         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20884         * sysdeps/ieee754/flt-32/s_erff.c: Include
20885         <fix-int-fp-convert-zero.h>.
20886         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20887         * sysdeps/ieee754/flt-32/s_logbf.c: Include
20888         <fix-int-fp-convert-zero.h>.
20889         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20890         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
20891         <fix-int-fp-convert-zero.h>.
20892         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20893         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
20894         <fix-int-fp-convert-zero.h>.
20895         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20896         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
20897         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
20898         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
20899         file.
20900         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
20902 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
20904         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20906 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
20908         [BZ #19059]
20909         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
20910         overflowing computation.
20911         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20912         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20913         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20914         Likewise.
20915         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20916         Likewise.
20917         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20918         Likewise.
20919         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20920         Likewise.
20921         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20922         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20923         Likewise.
20924         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20925         Likewise.
20926         * math/libm-test.inc (nexttoward_test_data): Add more tests.
20928         * nss/rewrite_field.c (__nss_rewrite_field): Use
20929         internal_function.
20930         * nss/valid_field.c (__nss_valid_field): Likewise.
20931         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
20933 2015-10-02  Florian Weimer  <fweimer@redhat.com>
20935         [BZ #18724]
20936         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
20937         (__nss_invalid_field_characters, __nss_valid_field)
20938         (__nss_valid_list_field, __nss_rewrite_field): Declare.
20939         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
20940         tst-field.c: New file.
20941         * nss/Makefile (routines): Add valid_field, rewrite_field.
20942         (tests-static): Define unconditionally.
20943         (tests): Include tests-static.
20944         [build-static-nss] (tests-static): Use append.
20945         [build-static-nss] (tests): Remove modification.
20946         * nss/getent.c (print_group): Call putgrent.  Report error.
20947         (print_gshadow): Call putsgent.  Report error.
20948         (print_passwd): Call putpwent.  Report error.
20949         (print_shadow): Call putspent.  Report error.
20950         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
20951         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
20952         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
20953         name, password, directory, shell fields for valid syntax.  Rewrite
20954         GECOS field to match syntax.
20955         * pwd/Makefile (tests): Add tst-putpwent.
20956         * pwd/tst-putpwent.c: New file.
20957         * grp/putgrent.c (putgrent): Convert to ISO function definition.
20958         Check grName, grpasswd, gr_mem fields for valid syntax.
20959         Change loop variable i to size_t.
20960         * grp/Makefile (tests): Add tst-putgrent.
20961         * grp/tst-putgrent.c: New file.
20962         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
20963         valid syntax.
20964         * shadow/Makefile (tests): Add tst-putspent.
20965         * shadow/tst-putspent.c: New file.
20966         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
20967         sg_mem fields for valid syntax.
20968         * gshadow/Makefile (tests): Add tst-putsgent.
20969         * gshadow/tst-putsgent.c: New file.
20971 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20973         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
20974         assembly instructions.
20976 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20978         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
20979         prefix from operands.
20981 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
20983         [BZ #16347]
20984         [BZ #19046]
20985         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
20986         <libc-internal.h>.
20987         (MAXLGM): Do not use diagnostic control macros.
20988         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
20989         threshold for ldbl-128ibm.
20990         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
20991         instead of multiplying by log then subtracting.
20992         * math/auto-libm-test-in: Add more tests of lgamma.
20993         * math/auto-libm-test-out: Regenerated.
20995         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
20996         (TYPE_HEX_DIG): Likewise.
20997         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
20998         precisions when printing floating-point numbers.
20999         (check_float_internal): Likewise.
21001 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #16620]
21004         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
21005         of log (10) rounded downward to 48 bits.
21006         (log10_low): Use corresponding low part of log (10).
21008         [BZ #19032]
21009         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
21010         compute result as (x - x) / (x - x) not as 0 / 0.
21011         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21012         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
21014         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21015         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
21016         and expm1.
21017         * math/auto-libm-test-out: Regenerated.
21018         * math/libm-test.inc (acos_test_data): Add more tests.
21019         (asin_test_data): Likewise.
21020         (asinh_test_data): Likewise.
21021         (atan_test_data): Likewise.
21022         (atanh_test_data): Likewise.
21023         (atan2_test_data): Likewise.
21024         (cbrt_test_data): Likewise.
21025         (ceil_test_data): Likewise.
21026         (copysign_test_data): Likewise.
21027         (cos_test_data): Likewise.
21028         (cosh_test_data): Likewise.
21029         (erf_test_data): Likewise.
21030         (erfc_test_data): Likewise.
21031         (exp_test_data): Likewise.
21032         (exp10_test_data): Likewise.
21033         (exp2_test_data): Likewise.
21034         (expm1_test_data): Likewise.
21035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21037 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
21039         [BZ #19006]
21040         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
21041         to ...
21042         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
21043         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
21044         to ...
21045         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
21046         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
21047         to ...
21048         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
21049         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21050         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21051         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21052         to ...
21053         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21054         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21055         Moved to ...
21056         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21057         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21058         Moved to ...
21059         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21060         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21061         to ...
21062         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21063         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21064         Moved to ...
21065         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21066         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21067         to ...
21068         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21069         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21070         Removed.
21071         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21072         Likewise.
21073         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21074         Likewise.
21075         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21076         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21077         Likewise.
21078         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21079         Likewise.
21080         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21081         Likewise.
21082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21083         Likewise.
21084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21085         Likewise.
21086         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21087         Likewise.
21088         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21089         Likewise.
21090         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21091         Likewise.
21092         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21093         Likewise.
21094         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21095         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21096         Likewise.
21097         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21098         Likewise.
21099         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21100         Likewise.
21101         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21102         Likewise.
21103         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21104         Likewise.
21105         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21106         Replace ../i486/pthread_cond_timedwait.S with
21107         ../pthread_cond_timedwait.S.
21109 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21111         * math/libm-test.inc (acos_test_data): Refine expectations for
21112         errno and "inexact" exceptions.
21113         (acosh_test_data): Likewise.
21114         (asin_test_data): Likewise.
21115         (asinh_test_data): Likewise.
21116         (atan_test_data): Likewise.
21117         (atanh_test_data): Likewise.
21118         (atan2_test_data): Likewise.
21119         (cbrt_test_data): Likewise.
21120         (ceil_test_data): Likewise.
21121         (copysign_test_data): Likewise.
21122         (cosh_test_data): Likewise.
21123         (erf_test_data): Likewise.
21124         (erfc_test_data): Likewise.
21125         (exp_test_data): Likewise.
21126         (exp10_test_data): Likewise.
21127         (exp2_test_data): Likewise.
21128         (expm1_test_data): Likewise.
21129         (fabs_test_data): Likewise.
21130         (floor_test_data): Likewise.
21131         (fma_test_data): Likewise.
21132         (fmax_test_data): Likewise.
21133         (fmin_test_data): Likewise.
21134         (fmod_test_data): Likewise.
21135         (fpclassify_test_data): Likewise.
21136         (frexp_test_data): Likewise.
21137         (hypot_test_data): Likewise.
21138         (ilogb_test_data): Likewise.
21139         (isgreater_test_data): Likewise.
21140         (isgreaterequal_test_data): Likewise.
21141         (isinf_test_data): Likewise.
21142         (isless_test_data): Likewise.
21143         (islessequal_test_data): Likewise.
21144         (islessgreater_test_data): Likewise.
21145         (isnan_test_data): Likewise.
21146         (isnormal_test_data): Likewise.
21147         (issignaling_test_data): Likewise.
21148         (isunordered_test_data): Likewise.
21149         (j0_test_data): Likewise.
21150         (j1_test_data): Likewise.
21151         (jn_test_data): Likewise.
21152         (lgamma_test_data): Likewise.
21153         (lrint_test_data): Likewise.
21154         (llrint_test_data): Likewise.
21155         (log_test_data): Likewise.
21156         (log10_test_data): Likewise.
21157         (log1p_test_data): Likewise.
21158         (log2_test_data): Likewise.
21159         (logb_test_data): Likewise.
21160         (lround_test_data): Likewise.
21161         (llround_test_data): Likewise.
21162         (modf_test_data): Likewise.
21163         (nearbyint_test_data): Likewise.
21164         (nextafter_test_data): Likewise.
21165         (nexttoward_test_data): Likewise.
21166         (pow_test_data): Likewise.
21167         (remainder_test_data): Likewise.
21168         (remquo_test_data): Likewise.
21169         (rint_test_data): Likewise.
21170         (round_test_data): Likewise.
21171         (signbit_test_data): Likewise.
21172         (sinh_test_data): Likewise.
21173         (sqrt_test_data): Likewise.
21174         (tanh_test_data): Likewise.
21175         (tgamma_test_data): Likewise.
21176         (trunc_test_data): Likewise.
21177         (y0_test_data): Likewise.
21178         (y1_test_data): Likewise.
21179         (yn_test_data): Likewise.
21180         (significand_test_data): Likewise.
21182 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21184         * manual/filesys.texi (Storage Allocation): Document that
21185         posix_fallocate emulation fails when fd is open with O_WRONLY.
21187 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21189         [BZ #19016]
21190         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21191         allow more cases with X^2 + Y^2 >= 0.5.
21192         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21193         normal element in sum instead of special-casing based on values of
21194         arguments.
21195         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21196         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21197         -1 as normal element in sum instead of special-casing based on
21198         values of arguments.
21199         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21200         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21201         (__x2y2m1): Update comment.
21202         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21203         as normal element in sum instead of special-casing based on values
21204         of arguments.
21205         * math/s_clog.c (__clog): Handle more cases using log1p without
21206         hypot.
21207         * math/s_clog10.c (__clog10): Likewise.
21208         * math/s_clog10f.c (__clog10f): Likewise.
21209         * math/s_clog10l.c (__clog10l): Likewise.
21210         * math/s_clogf.c (__clogf): Likewise.
21211         * math/s_clogl.c (__clogl): Likewise.
21212         * math/auto-libm-test-in: Add more tests of clog and clog10.
21213         * math/auto-libm-test-out: Regenerated.
21214         * sysdeps/i386/fpu/libm-test-ulps: Update.
21215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21217 2015-09-28  Martin Sebor  <msebor@redhat.com>
21219         [BZ #18969]
21220         * string/Makefile (LOCALES): Define.
21221         (gen-locales.mk): Include.
21222         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21223         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21224         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21225         on setlocale failure.
21227 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21229         [BZ #18985]
21230         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21231         (__strftime_internal): Likewise.
21232         * time/tst-strftime.c (do_bz18985): New test.
21233         (do_test): Call it.
21235 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21237         [BZ #18956]
21238         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21239         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21240         extracting high part.
21241         * math/auto-libm-test-in: Add another test of pow.
21242         * math/auto-libm-test-out: Regenerated.
21243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21245 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21247         [BZ #18825]
21248         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21249         New macro.
21250         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21251         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21252         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21253         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21254         DBL_NARROW_EVAL, reloading the PIC register as needed.
21255         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21256         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21257         FLT_NARROW_EVAL.  Use separate return path for case when first
21258         argument is NaN.
21259         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21260         DEFINE_LDBL_MIN.
21261         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21262         PIC register.
21263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21264         math_check_force_underflow_nonneg.
21265         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21266         underflow for subnormal result.
21267         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21268         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21269         math_check_force_underflow_nonneg.
21270         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21271         math_check_force_underflow.
21272         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21273         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21274         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21275         DEFINE_LDBL_MIN.
21276         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21277         * math/auto-libm-test-in: Add more tests of pow.
21278         * math/auto-libm-test-out: Regenerated.
21280 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21282         * nss/bug17079.c (init_test_items): Add diagnostic for
21283         inconsistent entries.
21284         (test_buffer_size): Skip inconsistent entries.
21286 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21288         [BZ #13304]
21289         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21290         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21291         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21293         [BZ #13304]
21294         * sysdeps/microblaze/s_fma.c: New file.
21295         * sysdeps/microblaze/s_fmaf.c: Likewise.
21296         * sysdeps/microblaze/sfp-machine.h: Likewise.
21298 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21300         [BZ #17250]
21301         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21302         member.
21304 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21306         [BZ #18803]
21307         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21308         (MO): New macro.
21309         (__ieee754_hypot) [PIC]: Load PIC register.
21310         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21311         DBL_NARROW_EVAL.
21312         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21313         math_check_force_underflow_nonneg in case where result might be
21314         tiny.
21315         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21316         Likewise.
21317         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21318         Likewise.
21319         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21320         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21321         * math/auto-libm-test-in: Add more tests of hypot.
21322         * math/auto-libm-test-out: Regenerated.
21324 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21326         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21328 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21330         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21331         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21332         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21333         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21334         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21335         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21336         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21338         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21339         LOAD_PIC_REG.
21341         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21342         (FLT_CHECK_FORCE_UFLOW): Likewise.
21343         (DBL_CHECK_FORCE_UFLOW): Likewise.
21344         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21345         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21346         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21347         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21348         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21349         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21350         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21351         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21352         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21353         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21354         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21355         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21356         (flt_min): Replace with use of DEFINE_FLT_MIN.
21357         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21358         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21359         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21360         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21361         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21362         (flt_min): Replace with use of DEFINE_FLT_MIN.
21363         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21364         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21365         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21366         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
21367         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
21368         (flt_min): Replace with use of DEFINE_FLT_MIN.
21369         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
21370         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
21371         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21372         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21373         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
21374         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21375         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21376         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
21377         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21378         (__atan): Use DBL_CHECK_FORCE_UFLOW.
21379         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
21380         (flt_min): Replace with use of DEFINE_FLT_MIN.
21381         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
21382         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
21383         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21384         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
21385         main computation.
21386         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
21387         (flt_min): Replace with use of DEFINE_FLT_MIN.
21388         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
21389         main computation.
21390         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
21391         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21392         (MO): New macro.
21393         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
21394         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
21395         (flt_min): Replace with use of DEFINE_FLT_MIN.
21396         (MO): New macro.
21397         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
21398         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
21399         (__log1pl): Use MO.
21401         [BZ #19003]
21402         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
21403         $(config-cflags-nofma).
21405 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21407         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21409 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
21411         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
21412         (TWO127): Likewise.
21414         * sysdeps/generic/math_private.h (fabs_tg): New macro.
21415         (min_of_type): Likewise.
21416         (math_check_force_underflow): Likewise.
21417         (math_check_force_underflow_nonneg): Likewise.
21418         (math_check_force_underflow_complex): Likewise.
21419         * math/e_exp2l.c (__ieee754_exp2l): Use
21420         math_check_force_underflow_nonneg.
21421         * math/k_casinh.c (__kernel_casinh): Likewise.
21422         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21423         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21424         * math/s_catan.c (__catan): Use
21425         math_check_force_underflow_complex.
21426         * math/s_catanf.c (__catanf): Likewise.
21427         * math/s_catanh.c (__catanh): Likewise.
21428         * math/s_catanhf.c (__catanhf): Likewise.
21429         * math/s_catanhl.c (__catanhl): Likewise.
21430         * math/s_catanl.c (__catanl): Likewise.
21431         * math/s_ccosh.c (__ccosh): Likewise.
21432         * math/s_ccoshf.c (__ccoshf): Likewise.
21433         * math/s_ccoshl.c (__ccoshl): Likewise.
21434         * math/s_cexp.c (__cexp): Likewise.
21435         * math/s_cexpf.c (__cexpf): Likewise.
21436         * math/s_cexpl.c (__cexpl): Likewise.
21437         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
21438         * math/s_clog10.c (__clog10): Likewise.
21439         * math/s_clog10f.c (__clog10f): Likewise.
21440         * math/s_clog10l.c (__clog10l): Likewise.
21441         * math/s_clogf.c (__clogf): Likewise.
21442         * math/s_clogl.c (__clogl): Likewise.
21443         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
21444         * math/s_csinf.c (__csinf): Likewise.
21445         * math/s_csinh.c (__csinh): Likewise.
21446         * math/s_csinhf.c (__csinhf): Likewise.
21447         * math/s_csinhl.c (__csinhl): Likewise.
21448         * math/s_csinl.c (__csinl): Likewise.
21449         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
21450         * math/s_csqrtf.c (__csqrtf): Likewise.
21451         * math/s_csqrtl.c (__csqrtl): Likewise.
21452         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
21453         * math/s_ctanf.c (__ctanf): Likewise.
21454         * math/s_ctanh.c (__ctanh): Likewise.
21455         * math/s_ctanhf.c (__ctanhf): Likewise.
21456         * math/s_ctanhl.c (__ctanhl): Likewise.
21457         * math/s_ctanl.c (__ctanl): Likewise.
21458         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
21459         instead of volatile.
21460         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
21461         math_check_force_underflow.
21462         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21463         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
21464         volatile when forcing underflow.
21465         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21466         math_check_force_underflow_nonneg.
21467         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
21468         Likewise.
21469         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
21470         math_check_force_underflow.
21471         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21472         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21473         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21474         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
21475         math_check_force_underflow_nonneg.
21476         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
21477         math_check_force_underflow.
21478         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
21479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
21480         instead of volatile.
21481         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
21482         math_check_force_underflow.
21483         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21484         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21485         math_check_force_underflow_nonneg.
21486         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
21487         math_check_force_underflow.
21488         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
21489         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21490         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
21491         math_check_force_underflow_nonneg.
21492         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21493         Likewise.
21494         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
21495         math_check_force_underflow.
21496         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21497         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21498         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
21499         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
21500         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
21501         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
21502         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
21503         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
21504         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21505         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
21506         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
21507         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
21508         Likewise.
21509         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
21510         math_check_force_underflow_nonneg.
21511         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21512         Likewise.
21513         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
21514         math_check_force_underflow.
21515         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21516         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
21517         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21518         Likewise.
21519         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
21520         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
21521         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
21522         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
21523         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
21524         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
21525         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
21526         instead of volatile.
21527         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
21528         math_check_force_underflow.
21529         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
21530         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
21531         math_check_force_underflow.
21532         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
21533         Likewise.
21534         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21535         Use math_check_force_underflow_nonneg.
21536         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
21537         math_check_force_underflow.
21538         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21539         Likewise.
21540         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21541         Likewise.
21542         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21543         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21544         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21545         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21546         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
21547         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21548         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
21549         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
21550         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
21551         math_check_force_underflow_nonneg.
21552         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
21553         math_check_force_underflow.
21554         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21555         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
21556         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
21557         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
21558         math_check_force_underflow_nonneg.
21559         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
21560         math_check_force_underflow.
21561         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
21562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
21563         instead of volatile.
21564         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
21565         math_check_force_underflow.
21567         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
21568         * stdlib/strtod_l.c: Include <math_private.h>.
21569         (overflow_value): Use math_narrow_eval.
21570         (underflow_value): Likewise.
21571         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21572         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21573         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
21574         (__ieee754_gamma_r): Likewise.
21575         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
21576         Likewise.
21577         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
21578         Likewise.
21579         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
21580         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
21581         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
21582         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
21583         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
21584         (__ieee754_gammaf_r): Likewise.
21585         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21586         Likewise.
21587         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
21588         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
21589         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
21590         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
21591         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
21592         volatile.
21593         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
21594         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
21595         math_narrow_eval.
21596         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21597         Likewise.
21598         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21599         Likewise.
21600         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
21601         Likewise.
21602         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
21603         volatile.
21604         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
21605         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
21606         math_narrow_eval.
21607         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21608         Likewise.
21609         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21610         Likewise.
21612 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
21614         * nptl/Versions: Remove ignored symbols.
21616 2015-09-22  Florian Weimer  <fweimer@redhat.com>
21618         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
21619         * nss/Makefile (tests): Update.
21621 2015-09-22  Florian Weimer  <fweimer@redhat.com>
21623         * nss/bug18287.c: New file.
21624         * nss/Makefile (tests): Add bug18287.
21626 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21628         * mach/Versions (__mach_host_self_): Add symbol.
21630 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21632         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
21633         vm_page_size.
21635 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21637         Really fix sysdeps/i386/fpu/s_scalbn.S build
21639         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
21640         (libc: GLIBC_2_22): Remove unused version set.
21642 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
21644         * config.make.in (enable-timezone-tools): New variable.
21645         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
21646         (enable_timezone_tools): Export to generated files.
21647         * configure: Regenerate.
21648         * INSTALL: Regenerate.
21649         * manual/install.texi (--disable-timezone-tools): Document new flag.
21650         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
21651         ifeq ($(enable-timezone-tools),yes) check.
21653 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21655         * timezone/Makefile: Revert previous change.
21657         [BZ #18980]
21658         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
21659         (DEFINE_DBL_MIN): Likewise.
21660         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21661         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21662         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21663         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21664         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
21665         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21666         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21667         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
21668         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
21669         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21670         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21671         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
21672         (flt_min): Replace with use of DEFINE_FLT_MIN.
21673         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21674         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
21675         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21676         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21677         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
21678         (flt_min): Replace with use of DEFINE_FLT_MIN.
21679         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21680         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
21681         (flt_min): Replace with use of DEFINE_FLT_MIN.
21682         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21683         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
21684         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
21685         (__ieee754_hypot): Use DBL_NARROW_EVAL.
21686         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
21687         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
21688         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
21689         (__ieee754_pow): Use DBL_NARROW_EVAL.
21690         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
21691         (__ieee754_powf): Use FLT_NARROW_EVAL.
21692         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
21693         (__ieee754_expf_sse2): Convert double-precision result to single
21694         precision.
21695         * sysdeps/i386/fpu/libm-test-ulps: Update.
21697 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21699         * timezone/Makefile: Ignore unused variable errors due to private.h
21700         (time_t_min) and (time_t_max).
21701         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
21702         Likewise.
21704 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21706         [BZ #18981]
21707         * sysdeps/i386/fpu/i386-math-asm.h: New file.
21708         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
21709         (__ieee754_scalb): Use DBL_NARROW_EVAL.
21710         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
21711         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
21712         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
21713         (__scalbn): Use DBL_NARROW_EVAL.
21714         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
21715         (__scalbnf): Use FLT_NARROW_EVAL.
21717 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21719         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
21720         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
21721         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
21722         * stdio-common/printf_fp.c (___printf_fp):
21723         Use signbit to get the sign. Use isinf macro to allow inlining.
21724         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
21725         * stdio-common/printf_size.c (__printf_size): Likewise.
21727 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
21729         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
21731 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21733         [BZ #18980]
21734         * sysdeps/generic/math_private.h: Include <float.h>.
21735         (math_narrow_eval): New macro.
21736         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
21737         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
21738         math_narrow_eval on overflowing return value.
21739         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
21740         Likewise.
21741         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21742         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
21743         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
21744         Likewise.
21745         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21747 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21749         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
21750         * math/Makefile: Remove isinf_ns.c.
21751         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
21752         * math/multc3.c (__multc3): Likewise.
21753         * math/s_casin.c (__casin): Likewise.
21754         * math/s_casinf.c (__casinf): Likewise.
21755         * math/s_casinl.c (__casinl): Likewise.
21756         * math/s_cproj.c (__cproj): Likewise.
21757         * math/s_cprojf.c (__cprojf): Likewise.
21758         * math/s_cprojl.c (__cprofl): Likewise.
21759         * math/s_ctan.c (__ctan): Likewise.
21760         * math/s_ctanf.c (__ctanf): Likewise.
21761         * math/s_ctanh.c (__ctanh): Likewise.
21762         * math/s_ctanhf.c (__ctanhf): Likewise.
21763         * math/s_ctanhl.c (__ctanhl): Likewise.
21764         * math/s_ctanl.c (__ctanl): Likewise.
21765         * math/w_fmod.c (__fmod): Likewise.
21766         * math/w_fmodf.c (__fmodf): Likewise.
21767         * math/w_fmodl.c (_fmodl): Likewise.
21768         * math/w_remainder.c (__remainder): Likewise.
21769         * math/w_remainderf.c (__remainderf): Likewise.
21770         * math/w_remainderl.c (__remainderl): Likewise.
21771         * math/w_scalb.c (__scalb): Likewise.
21772         * math/w_scalbf.c (__scalbf): Likewise.
21773         * math/w_scalbl.c (__scalbl): Likewise.
21774         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
21775         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
21776         with isinf.
21777         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
21778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
21779         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
21780         __isinf_nsf with isinf.
21781         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
21782         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
21783         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
21784         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
21785         with isinf.
21786         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
21787         __isinf_nsl with isinf.
21788         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
21789         with isinf.
21790         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
21791         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
21792         __isinf_nsl with isinf.
21793         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
21794         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
21795         with isinf.
21797 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21799         * resolv/base64.c (rcsid): Remove unused static.
21800         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
21801         static.  (tqpi1): Likewise.
21802         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
21803         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
21804         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
21805         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
21806         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
21807         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
21808         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
21809         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
21810         Likewise.
21812 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
21814         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
21815         <nptl/pthreadP.h>.
21816         (_longjmp_unwind): Use __libc_ptf_call.
21817         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
21819 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
21821         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
21822         * sysdeps/arm/__longjmp.S: Likewise.
21824 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21826         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
21827         Use __builtin_signbit.
21828         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
21829         Use __builtin_signbitf.
21830         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
21831         Use __builtin_signbitl.
21832         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21833         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
21835 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21837         [BZ #15367]
21838         [BZ #17441]
21840         * math/Makefile: Build test-snan.c with -fsignaling-nans.
21841         * math/math.h (fpclassify): Use __builtin_fpclassify when
21842         available.  (signbit): Use __builtin_signbit(f/l).
21843         (isfinite): Use__builtin_isfinite.  (isnormal): Use
21844         __builtin_isnormal.  (isnan): Use __builtin_isnan.
21845         (isinf): Use __builtin_isinf_sign.
21847 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21849         * benchtests/Makefile: Add bench-math-inlines, link with libm.
21850         * benchtests/bench-math-inlines.c: New benchmark.
21851         * benchtests/bench-util.h: New file.
21852         * benchtests/bench-util.c: New file.
21853         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
21855 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
21857         * elf/tst-dlmopen1.c: Define TEST_SO.
21858         (do_test): Use TEST_SO.
21860         * elf/dl-load.c: Include libc-internal.h.
21861         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
21863 2015-09-18  Vincent Bernat  <vincent@bernat.im>
21865         [BZ #17887]
21866         * time/strptime_l.c (__strptime_internal): Make %z accept
21867         [+-]HH:MM time zones.
21869 2015-09-18  Vincent Bernat  <vincent@bernat.im>
21871         [BZ #17886]
21872         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
21873         valid time zone.
21875 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
21877         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
21878         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
21879         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21880         (__ASSUME_FDATASYNC): Delete.
21882 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
21884         * conform/linknamespace.pl: Require weak undefined symbols to be
21885         in the standard namespace.
21886         (%strong_syms): Rename to %seen_syms.
21887         (%strong_seen): Rename to %seen_where.
21889 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
21891         [BZ #18970]
21892         * misc/error.c (error): Replace pthread_setcancelstate with
21893         __pthread_setcancelstate.
21894         (error_at_line): Likewise.
21895         * posix/wordexp.c (parse_comm): Likewise.
21896         * stdlib/fmtmsg.c (fmtmsg): Likewise.
21897         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
21898         (__pthread_setcancelstate): This.
21899         (pthread_setcancelstate): Add an alias.
21900         * nptl/nptl-init.c (pthread_functions): Replace
21901         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
21902         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
21903         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
21904         hidden_proto.
21905         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
21906         it with hidden_def.
21907         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
21908         (pthread_setcancelstate): Renamed to ...
21909         (__pthread_setcancelstate): This.
21910         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
21911         __libc_ptf_call with __pthread_setcancelstate.
21913 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
21914             Andreas Schwab  <schwab@suse.de>
21916         [BZ #17118]
21917         * math/s_ctan.c (__ctan): Determine sign of zero real part of
21918         result when imaginary part of argument is infinite using sine and
21919         cosine.
21920         * math/s_ctanf.c (__ctanf): Likewise.
21921         * math/s_ctanl.c (__ctanl): Likewise.
21922         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
21923         of result when real part of argument is infinite using sine and
21924         cosine.
21925         * math/s_ctanhf.c (__ctanhf): Likewise.
21926         * math/s_ctanhl.c (__ctanhl): Likewise.
21927         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
21928         (ctanh_test_data): Add more tests of ctanh.
21930 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
21932         [BZ #15384]
21933         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
21934         bit-mask as in subtraction.
21935         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
21936         Likewise.
21937         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
21938         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
21939         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
21941         [BZ #18951]
21942         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
21943         underflow exception for small results.
21944         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21945         Likewise.
21946         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21947         Likewise.
21948         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21949         Likewise.
21950         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21951         Likewise.
21952         * math/auto-libm-test-in: Add more tests of tgamma.
21953         * math/auto-libm-test-out: Regenerated.
21955 2015-09-17  Andreas Schwab  <schwab@suse.de>
21957         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
21959 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
21961         [BZ #18977]
21962         * math/bits/mathcalls.h
21963         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
21964         not declare.
21965         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
21966         Likewise.
21967         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
21968         Likewise.
21969         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
21970         Likewise.
21971         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
21972         Likewise.
21973         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
21974         Likewise.
21975         * conform/data/math.h-data
21976         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
21977         function.
21978         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
21979         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
21980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
21981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
21982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
21983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
21984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
21985         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
21986         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
21987         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
21988         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
21990         [BZ #6803]
21991         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
21992         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
21993         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
21994         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
21995         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
21996         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
21997         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
21998         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
21999         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22000         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
22001         Likewise.
22002         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22003         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
22004         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
22005         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
22006         long_double_symbol calls.
22007         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
22008         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
22009         strong alias of __ldexpl.
22010         (scalbnl): Define using long_double_symbol.
22011         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
22012         Remove alias.
22013         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
22014         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
22015         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
22016         (scalbln_test_data): Add more errno expectations.
22018 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
22020         Cache the host port like we cache the task port.  This way we do not
22021         need to call the kernel just to get the port.  Furthermore, we no
22022         longer increase the reference count on every invocation of
22023         `mach_host_self'.
22025         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
22026         Protect declarations against the macro expansion.
22027         * mach/mach_init.c (__mach_host_self_): New variable.
22028         (mach_init): Initialize `__mach_host_self_'.
22029         * mach/mach_init.h (__mach_host_self_): New declaration.
22030         (__mach_host_self, mach_host_self): New macros.
22031         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
22032         Release reference.
22034 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22036         [BZ #4404]
22037         * po/de.po: Update from Translation Project.
22039         [BZ #16415]
22040         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
22041         (__expm1l): Remove code to handle positive infinity and overflow.
22042         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
22043         variable.
22044         (__expm1l): Remove code to handle positive infinity and overflow.
22046 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22047             Paul Pluzhnikov  <ppluzhnikov@google.com>
22049         [BZ #18872]
22050         * stdio-common/Makefile (tst-printf-bz18872): New test.
22051         (tst-printf-bz18872-mem.out): Likewise.
22052         * stdio-common/tst-printf-bz18872.sh: Generate new test.
22053         * stdio-common/vfprintf.c: Fix memory leaks.
22055 2015-09-16  Andreas Schwab  <schwab@suse.de>
22057         [BZ #17244]
22058         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22059         Remove extra va_start/va_end calls.
22061         [BZ #17243]
22062         * posix/execl.c (execl): Add missing va_end.
22063         * posix/execle.c (execle): Likewise.
22064         * posix/execlp.c (execlp): Likewise.
22066 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22068         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22069         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22071 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22073         [BZ #18967]
22074         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22075         undefine around includes of <bits/mathcalls.h>.
22076         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22077         not declare function.
22078         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22079         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22080         (scalb): Likewise.
22081         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22082         not define macro.
22083         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22084         variable.
22085         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22086         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22087         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22089         [BZ #18857]
22090         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22091         return non-finite argument without doing ordered comparisons on
22092         it.
22094         [BZ #16296]
22095         * math/fenv.h (fegetround): Use __attribute_pure__.
22096         * include/fenv.h (__fegetround): Likewise.
22098         [BZ #18595]
22099         * math/s_ctan.c (__ctan): Force underflow exception for results
22100         whose real or imaginary part has small absolute value.
22101         * math/s_ctanf.c (__ctanf): Likewise.
22102         * math/s_ctanh.c (__ctanh): Likewise.
22103         * math/s_ctanhf.c (__ctanhf): Likewise.
22104         * math/s_ctanhl.c (__ctanhl): Likewise.
22105         * math/s_ctanl.c (__ctanl): Likewise.
22106         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22107         and ctanh.  Add more tests of ctan and ctanh.
22109         [BZ #15918]
22110         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22111         handling of cases where one argument is an infinity.
22113         [BZ #18875]
22114         [BZ #18966]
22115         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22116         (MO): New macro.
22117         (__ieee754_exp10): For small results, force underflow exception
22118         and remove excess range and precision from return value.
22119         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22120         (MO): New macro.
22121         (__ieee754_exp10f): For small results, force underflow exception
22122         and remove excess range and precision from return value.
22123         * math/auto-libm-test-in: Add more tests of exp10.
22124         * math/auto-libm-test-out: Regenerated.
22126 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22128         [BZ #18875]
22129         [BZ #18961]
22130         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22131         (MO): New macro.
22132         (__ieee754_exp): For small results, force underflow exception and
22133         remove excess range and precision from return value.
22134         (__exp_finite): Likewise.
22135         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22136         (MO): New macro.
22137         (__ieee754_expf): For small results, force underflow exception and
22138         remove excess range and precision from return value.
22139         (__expf_finite): Likewise.
22140         * math/auto-libm-test-in: Add more tests of exp.
22141         * math/auto-libm-test-out: Regenerated.
22143         [BZ #16521]
22144         [BZ #18875]
22145         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22146         small results.
22147         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22148         (MO): New macro.
22149         (__ieee754_exp2): For small results, force underflow exception and
22150         remove excess range and precision from return value.
22151         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22152         (MO): New macro.
22153         (__ieee754_exp2f): For small results, force underflow exception
22154         and remove excess range and precision from return value.
22155         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22156         (MO): New macro.
22157         (__ieee754_exp2l): Force underflow exception for small results.
22158         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22159         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22160         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22161         (MO): New macro.
22162         (__ieee754_exp2l): Force underflow exception for small results.
22163         * math/auto-libm-test-in: Add more tests or exp2.
22164         * math/auto-libm-test-out: Regenerated.
22166 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22168         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22170         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22171         /dev/null.
22173 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22175         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22176         io fs process)): Drop spurious backslash.
22178 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22180         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22181         Use sysinfo system call instead of parsing /proc/meminfo.
22182         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22183         Likewise.
22185 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22187         [BZ #16985]
22188         * programs/localedef.c (main): Display argv[remaining] when
22189         output_path is NULL.
22191 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22193         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22194         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22195         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22196         tanh.
22197         * math/auto-libm-test-out: Regenerated.
22198         * sysdeps/i386/fpu/libm-test-ulps: Update.
22199         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22200         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22203 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22205         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22206         Use 'override' keyword to freeze the value here, preventing
22207         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22209 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22211         [BZ #14912]
22212         * sysdeps/aarch64/bits/atomic.h: Move to ...
22213         * sysdeps/aarch64/atomic-machine.h: ...here.
22214         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22215         _AARCH64_ATOMIC_MACHINE_H.
22216         * sysdeps/alpha/bits/atomic.h: Move to ...
22217         * sysdeps/alpha/atomic-machine.h: ...here.
22218         * sysdeps/arm/bits/atomic.h: Move to ...
22219         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22220         * bits/atomic.h: Move to ...
22221         * sysdeps/generic/atomic-machine.h: ...here.
22222         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22223         * sysdeps/i386/bits/atomic.h: Move to ...
22224         * sysdeps/i386/atomic-machine.h: ...here.
22225         * sysdeps/ia64/bits/atomic.h: Move to ...
22226         * sysdeps/ia64/atomic-machine.h: ...here.
22227         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22228         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22229         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22230         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22231         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22232         * sysdeps/microblaze/bits/atomic.h: Move to ...
22233         * sysdeps/microblaze/atomic-machine.h: ...here.
22234         * sysdeps/mips/bits/atomic.h: Move to ...
22235         * sysdeps/mips/atomic-machine.h: ...here.
22236         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22237         * sysdeps/powerpc/bits/atomic.h: Move to ...
22238         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22239         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22240         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22241         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22242         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22243         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22244         <atomic-machine.h> instead of <bits/atomic.h>.
22245         * sysdeps/s390/bits/atomic.h: Move to ...
22246         * sysdeps/s390/atomic-machine.h: ...here.
22247         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22248         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22249         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22250         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22251         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22252         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22253         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22254         * sysdeps/tile/bits/atomic.h: Move to ...
22255         * sysdeps/tile/atomic-machine.h: ...here.
22256         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22257         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22258         <sysdeps/tile/atomic-machine.h> instead of
22259         <sysdeps/tile/bits/atomic.h>.
22260         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22261         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22262         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22263         <sysdeps/tile/atomic-machine.h> instead of
22264         <sysdeps/tile/bits/atomic.h>.
22265         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22266         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22267         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22268         <sysdeps/arm/atomic-machine.h> instead of
22269         <sysdeps/arm/bits/atomic.h>.
22270         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22271         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22272         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22273         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22274         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22275         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22276         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22277         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22278         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22279         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22280         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22281         * sysdeps/x86_64/bits/atomic.h: Move to ...
22282         * sysdeps/x86_64/atomic-machine.h: ...here.
22283         * include/atomic.h: Include <atomic-machine.h> instead of
22284         <bits/atomic.h>.
22286         * sysdeps/mips/mips32/libm-test-ulps: Update.
22287         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22289         [BZ #18952]
22290         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22291         not convert non-integer negative arguments to int to determine the
22292         value of signgam.
22293         * math/auto-libm-test-in: Add more tests of lgamma.
22294         * math/auto-libm-test-out: Regenerated.
22296         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22297         cosh, csqrt, erfc, expm1 and lgamma.
22298         * math/auto-libm-test-out: Regenerated.
22299         * sysdeps/i386/fpu/libm-test-ulps: Update.
22300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22302 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22304         [BZ #2542]
22305         [BZ #2543]
22306         [BZ #2558]
22307         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22308         __lgamma_neg for arguments from -28.0 to -2.0.
22309         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22310         __lgamma_negf for arguments from -15.0 to -2.0.
22311         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22312         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22313         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22314         Call __lgamma_negl for arguments from -33.0 to -2.0.
22315         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22316         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22317         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22318         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22319         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22320         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22321         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22322         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22323         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22324         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22325         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22326         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22327         (__lgamma_neg): Likewise.
22328         (__lgamma_negl): Likewise.
22329         (__lgamma_product): Likewise.
22330         (__lgamma_productl): Likewise.
22331         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22332         * math/auto-libm-test-in: Add more tests of lgamma.
22333         * math/auto-libm-test-out: Regenerated.
22334         * sysdeps/i386/fpu/libm-test-ulps: Update.
22335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22337 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
22339         [BZ #18675]
22340         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22342 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
22344         [BZ #14912]
22345         * bits/libc-lock.h: Move to ...
22346         * sysdeps/generic/libc-lock.h: ...here.
22347         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22348         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22349         * sysdeps/mach/hurd/libc-lock.h: ...here.
22350         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22351         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22352         * sysdeps/mach/bits/libc-lock.h: Move to ...
22353         * sysdeps/mach/libc-lock.h: ...here.
22354         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22355         * sysdeps/nptl/bits/libc-lock.h: Move to ...
22356         * sysdeps/nptl/libc-lock.h: ...here.
22357         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22358         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22359         * sysdeps/nptl/libc-lockP.h: ...here.
22360         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22361         * crypt/crypt_util.c: Include <libc-lock.h> instead of
22362         <bits/libc-lock.h>.
22363         * dirent/scandir-tail.c: Likewise.
22364         * dlfcn/dlerror.c: Likewise.
22365         * elf/dl-close.c: Likewise.
22366         * elf/dl-iteratephdr.c: Likewise.
22367         * elf/dl-lookup.c: Likewise.
22368         * elf/dl-open.c: Likewise.
22369         * elf/dl-support.c: Likewise.
22370         * elf/dl-writev.h: Likewise.
22371         * elf/rtld.c: Likewise.
22372         * grp/fgetgrent.c: Likewise.
22373         * gshadow/fgetsgent.c: Likewise.
22374         * gshadow/sgetsgent.c: Likewise.
22375         * iconv/gconv_conf.c: Likewise.
22376         * iconv/gconv_db.c: Likewise.
22377         * iconv/gconv_dl.c: Likewise.
22378         * iconv/gconv_int.h: Likewise.
22379         * iconv/gconv_trans.c: Likewise.
22380         * include/link.h: Likewise.
22381         * inet/getnameinfo.c: Likewise.
22382         * inet/getnetgrent.c: Likewise.
22383         * inet/getnetgrent_r.c: Likewise.
22384         * intl/bindtextdom.c: Likewise.
22385         * intl/dcigettext.c: Likewise.
22386         * intl/finddomain.c: Likewise.
22387         * intl/gettextP.h: Likewise.
22388         * intl/loadmsgcat.c: Likewise.
22389         * intl/localealias.c: Likewise.
22390         * intl/textdomain.c: Likewise.
22391         * libidn/idn-stub.c: Likewise.
22392         * libio/libioP.h: Likewise.
22393         * locale/duplocale.c: Likewise.
22394         * locale/freelocale.c: Likewise.
22395         * locale/newlocale.c: Likewise.
22396         * locale/setlocale.c: Likewise.
22397         * login/getutent_r.c: Likewise.
22398         * login/getutid_r.c: Likewise.
22399         * login/getutline_r.c: Likewise.
22400         * login/utmp-private.h: Likewise.
22401         * login/utmpname.c: Likewise.
22402         * malloc/mtrace.c: Likewise.
22403         * misc/efgcvt.c: Likewise.
22404         * misc/error.c: Likewise.
22405         * misc/fstab.c: Likewise.
22406         * misc/getpass.c: Likewise.
22407         * misc/mntent.c: Likewise.
22408         * misc/syslog.c: Likewise.
22409         * nis/nis_call.c: Likewise.
22410         * nis/nis_callback.c: Likewise.
22411         * nis/nss-default.c: Likewise.
22412         * nis/nss_compat/compat-grp.c: Likewise.
22413         * nis/nss_compat/compat-initgroups.c: Likewise.
22414         * nis/nss_compat/compat-pwd.c: Likewise.
22415         * nis/nss_compat/compat-spwd.c: Likewise.
22416         * nis/nss_nis/nis-alias.c: Likewise.
22417         * nis/nss_nis/nis-ethers.c: Likewise.
22418         * nis/nss_nis/nis-grp.c: Likewise.
22419         * nis/nss_nis/nis-hosts.c: Likewise.
22420         * nis/nss_nis/nis-network.c: Likewise.
22421         * nis/nss_nis/nis-proto.c: Likewise.
22422         * nis/nss_nis/nis-pwd.c: Likewise.
22423         * nis/nss_nis/nis-rpc.c: Likewise.
22424         * nis/nss_nis/nis-service.c: Likewise.
22425         * nis/nss_nis/nis-spwd.c: Likewise.
22426         * nis/nss_nisplus/nisplus-alias.c: Likewise.
22427         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
22428         * nis/nss_nisplus/nisplus-grp.c: Likewise.
22429         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
22430         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
22431         * nis/nss_nisplus/nisplus-network.c: Likewise.
22432         * nis/nss_nisplus/nisplus-proto.c: Likewise.
22433         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
22434         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
22435         * nis/nss_nisplus/nisplus-service.c: Likewise.
22436         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
22437         * nis/ypclnt.c: Likewise.
22438         * nptl/libc_pthread_init.c: Likewise.
22439         * nss/getXXbyYY.c: Likewise.
22440         * nss/getXXent.c: Likewise.
22441         * nss/getXXent_r.c: Likewise.
22442         * nss/nss_db/db-XXX.c: Likewise.
22443         * nss/nss_db/db-netgrp.c: Likewise.
22444         * nss/nss_db/nss_db.h: Likewise.
22445         * nss/nss_files/files-XXX.c: Likewise.
22446         * nss/nss_files/files-alias.c: Likewise.
22447         * nss/nsswitch.c: Likewise.
22448         * posix/regex_internal.h: Likewise.
22449         * posix/wordexp.c: Likewise.
22450         * pwd/fgetpwent.c: Likewise.
22451         * resolv/res_hconf.c: Likewise.
22452         * resolv/res_libc.c: Likewise.
22453         * shadow/fgetspent.c: Likewise.
22454         * shadow/lckpwdf.c: Likewise.
22455         * shadow/sgetspent.c: Likewise.
22456         * socket/opensock.c: Likewise.
22457         * stdio-common/reg-modifier.c: Likewise.
22458         * stdio-common/reg-printf.c: Likewise.
22459         * stdio-common/reg-type.c: Likewise.
22460         * stdio-common/vfprintf.c: Likewise.
22461         * stdio-common/vfscanf.c: Likewise.
22462         * stdlib/abort.c: Likewise.
22463         * stdlib/cxa_atexit.c: Likewise.
22464         * stdlib/fmtmsg.c: Likewise.
22465         * stdlib/random.c: Likewise.
22466         * stdlib/setenv.c: Likewise.
22467         * string/strsignal.c: Likewise.
22468         * sunrpc/auth_none.c: Likewise.
22469         * sunrpc/bindrsvprt.c: Likewise.
22470         * sunrpc/create_xid.c: Likewise.
22471         * sunrpc/key_call.c: Likewise.
22472         * sunrpc/rpc_thread.c: Likewise.
22473         * sysdeps/arm/backtrace.c: Likewise.
22474         * sysdeps/generic/ldsodefs.h: Likewise.
22475         * sysdeps/generic/stdio-lock.h: Likewise.
22476         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
22477         * sysdeps/i386/backtrace.c: Likewise.
22478         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22479         * sysdeps/m68k/backtrace.c: Likewise.
22480         * sysdeps/mach/hurd/cthreads.c: Likewise.
22481         * sysdeps/mach/hurd/dirstream.h: Likewise.
22482         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22483         * sysdeps/nptl/malloc-machine.h: Likewise.
22484         * sysdeps/nptl/stdio-lock.h: Likewise.
22485         * sysdeps/posix/dirstream.h: Likewise.
22486         * sysdeps/posix/getaddrinfo.c: Likewise.
22487         * sysdeps/posix/system.c: Likewise.
22488         * sysdeps/pthread/aio_suspend.c: Likewise.
22489         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22490         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22491         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22492         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22493         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
22494         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
22495         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
22496         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22497         * sysdeps/unix/sysv/linux/system.c: Likewise.
22498         * sysdeps/x86_64/backtrace.c: Likewise.
22499         * time/alt_digit.c: Likewise.
22500         * time/era.c: Likewise.
22501         * time/tzset.c: Likewise.
22502         * wcsmbs/wcsmbsload.c: Likewise.
22503         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
22504         instead of <bits/libc-lock.h> in comment.
22506 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
22508         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
22509         Only use .set mips2 if the current ISA is below mips2.
22510         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
22511         Likewise.
22512         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
22513         mips32r2 if the current ISA is below mips32r2.
22514         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
22515         (TLS_IE): Updated to use the TLD_RDHWR macro.
22516         (TLS_LE): Likewise.
22517         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
22518         __ASSEMBLER__ condition.
22520 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22522         Fix parallel build of before-compile targets.
22524         * sysdeps/mach/Makefile ($(patsubst
22525         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
22526         mach-before-compile target.
22527         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22528         io fs process)): Move rule to dedicated hurd-before-compile target.
22530 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22532         Fix rules generating headers in hurd/ and mach/ when initial make call
22533         has subdir= explicitly set.
22535         * sysdeps/mach/Makefile ($(patsubst
22536         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
22537         calling $(MAKE).
22538         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22539         io fs process)): Force subdir to hurd when calling $(MAKE).
22540         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
22541         subdir to mach when calling $(MAKE).
22543 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
22545         Check sysheaders when looking for Mach and Hurd headers
22547         * sysdeps/mach/configure.ac: Add sysheaders check.
22548         * sysdeps/mach/configure: Regenerate.
22549         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
22550         * sysdeps/mach/hurd/configure: Regenerate.
22552 2015-09-04  Roland McGrath  <roland@hack.frob.com>
22554         [BZ #18921]
22555         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
22556         Fix inverted sense of test of 'o_directory_works' value.
22557         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
22558         Bernhard Voelker <mail@bernhard-voelker.de>.
22560 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
22562         [BZ #14912]
22563         * bits/linkmap.h: Move to ...
22564         * sysdeps/generic/linkmap.h: ...here.
22565         * sysdeps/aarch64/bits/linkmap.h: Move to ...
22566         * sysdeps/aarch64/linkmap.h: ...here.
22567         * sysdeps/arm/bits/linkmap.h: Move to ...
22568         * sysdeps/arm/linkmap.h: ...here.
22569         * sysdeps/hppa/bits/linkmap.h: Move to ...
22570         * sysdeps/hppa/linkmap.h: ...here.
22571         * sysdeps/ia64/bits/linkmap.h: Move to ...
22572         * sysdeps/ia64/linkmap.h: ...here.
22573         * sysdeps/mips/bits/linkmap.h: Move to ...
22574         * sysdeps/mips/linkmap.h: ...here.
22575         * sysdeps/s390/bits/linkmap.h: Move to ...
22576         * sysdeps/s390/linkmap.h: ...here.
22577         * sysdeps/sh/bits/linkmap.h: Move to ...
22578         * sysdeps/sh/linkmap.h: ...here.
22579         * sysdeps/x86/bits/linkmap.h: Move to ...
22580         * sysdeps/x86/linkmap.h: ...here.
22581         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
22583 2015-09-04  Andreas Schwab  <schwab@suse.de>
22585         [BZ #18635]
22586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
22587         (__makecontext): Terminate FDE before return label.
22588         (__novec_makecontext): Likewise.
22590 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22592         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
22593         first member of struct sv in syscall macro.
22595 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
22597         [BZ #14912]
22598         * bits/stdio-lock.h: Move to ...
22599         * sysdeps/generic/stdio-lock.h: ...here.
22600         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22601         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
22602         * sysdeps/nptl/stdio-lock.h: ...here.
22603         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22604         * include/libio.h: Include <stdio-lock.h> instead of
22605         <bits/stdio-lock.h>.
22606         * sysdeps/nptl/fork.c: Likewise.
22607         * sysdeps/pthread/flockfile.c: Likewise.
22608         * sysdeps/pthread/ftrylockfile.c: Likewise.
22609         * sysdeps/pthread/funlockfile.c: Likewise.
22611         [BZ #14912]
22612         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
22613         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
22614         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
22615         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
22616         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
22617         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22618         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
22620 2015-09-03  Roland McGrath  <roland@hack.frob.com>
22622         * elf/Makefile (test-xfail-tst-protected1a): New variable.
22623         (test-xfail-tst-protected1b): New variable.
22625 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
22627         [BZ #14912]
22628         * bits/libc-tsd.h: Move to ...
22629         * sysdeps/generic/libc-tsd.h: ...here.
22630         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
22631         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
22632         * sysdeps/mach/hurd/libc-tsd.h: ...here.
22633         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
22634         * include/ctype.h: Include <libc-tsd.h> instead of
22635         <bits/libc-tsd.h>.
22636         * include/rpc/rpc.h: Likewise.
22637         * locale/localeinfo.h: Likewise.
22638         * sunrpc/rpc_thread.c: Likewise.
22639         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22640         * sysdeps/nptl/malloc-machine.h: Likewise.
22642         * Makefile (headers): Remove bits/libc-lock.h.
22643         * libio/Makefile (headers): Remove bits/stdio-lock.h.
22645         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
22646         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
22647         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
22648         <bits/stdio-lock.h>.
22649         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
22650         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
22652 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
22654         [BZ #18757]
22655         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
22656         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
22657         BZ #18757.
22659 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
22661         * malloc/mtrace.pl: Filter out NULL entries.
22663 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
22665         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
22666         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
22667         macro.
22669         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
22670         (TCP_CC_INFO): Likewise.
22671         (TCP_SAVE_SYN): Likewise.
22672         (TCP_SAVED_SYN): Likewise.
22674 2015-08-31  Brett Neumeier <brett@neumeier.us>
22676         [BZ #18870]
22677         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
22679 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
22681         [BZ #18873]
22682         Fix broken overflow check in posix_fallocate
22683         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
22684         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22685         Fix parenthesization typo.
22687 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
22689         [BZ #18887]
22690         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
22691         tst-mntent-blank-passno.
22692         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
22693         * misc/tst-mntent-blank-corrupt.c: New test.
22694         * misc/tst-mntent-blank-passno.c: New test ripped from ...
22695         * misc/tst-mntent.c (do_test): ... here.
22697 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
22699         [BZ #4404]
22700         * po/de.po: Fix SIGALRM typo.
22702 2015-08-28  James Perkins  <james@loowit.net>
22704         * time/tst-strptime2.c (tests): Replace short list of test
22705         strings for strptime %z specifier with code which exhaustively
22706         tests every combination of sign and 0 to 5 digits. Tests for
22707         rejection of invalid strings.
22709 2015-08-28  James Perkins  <james@loowit.net>
22711         [BZ #16141]
22712         * time/strptime_l.c (__strptime_internal): Fix %z minutes
22713         calculation, removing incorrect decimal time rounding, so that
22714         all minute values result in a valid seconds value.
22715         * time/strptime_l.c (__strptime_internal): Extend %z time zone
22716         offset range limits to UTC-99:59 through UTC+99:59 to parse
22717         current and historical use cases.
22718         * time/tst-strptime2.c (tests): Modify and add tests for the
22719         strptime %z input field descriptor, specifically conversion of
22720         minutes to seconds and validating an offset range of -9959 to
22721         +9959.
22723 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22724             Dmitry V. Levin  <ldv@altlinux.org>
22726         [BZ #18877]
22727         * posix/Makefile (tests): Add tst-mmap-offset.
22728         * posix/tst-mmap.c: New file.
22729         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
22730         offset calculation for negative values.
22732 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22734         * sysdeps/i386/init-arch.h: New file.
22735         * sysdeps/i386/i586/init-arch.h: Likewise.
22736         * sysdeps/i386/i686/init-arch.h: Likewise.
22737         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
22738         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
22739         * sysdeps/x86/cpu-features.h (bit_I586): New.
22740         (bit_I686): Likewise.
22741         (bit_CX8): Likewise.
22742         (bit_CMOV): Likewise.
22743         (index_CX8): Likewise.
22744         (index_CMOV): Likewise.
22745         (index_I586): Likewise.
22746         (index_I686): Likewise.
22747         (reg_CX8): Likewise.
22748         (reg_CMOV): Likewise.
22749         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
22750         available at compile-time.
22751         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
22752         available at compile-time.
22753         * sysdeps/x86/init-arch.h (USE_I586): New macro.
22754         (USE_I686): Likewise.
22756 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22758         * sysdeps/i386/bcopy.S: New file.
22759         * sysdeps/i386/bzero.S: Likewise.
22760         * sysdeps/i386/memcpy.S: Likewise.
22761         * sysdeps/i386/memmove.S: Likewise.
22762         * sysdeps/i386/mempcpy.S: Likewise.
22763         * sysdeps/i386/memset.S: Likewise.
22764         * sysdeps/i386/bzero.c: Removed.
22765         * sysdeps/i386/memset.c: Likewise.
22766         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
22767         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
22768         * sysdeps/i386/i586/memset_chk.S: Likewise.
22769         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
22770         * sysdeps/i386/memcpy_chk.S: Here.
22771         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
22772         * sysdeps/i386/memmove_chk.S: Here.
22773         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
22774         * sysdeps/i386/mempcpy_chk.S: Likewise.
22775         * sysdeps/i386/i686/memset_chk.S: Moved to ...
22776         * sysdeps/i386/memset_chk.S: Likewise.
22778 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
22780         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
22781         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
22782         file, move DIAG_POP_NEEDS_COMMENT to end of file.
22783         * soft-fp/fmadf4.c: Ditto.
22784         * soft-fp/fmatf4.c: Ditto.
22786 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22788         * sysdeps/i386/i586/Implies: Removed.
22789         * sysdeps/i386/i686/Implies: Likewise.
22791 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22793         * sysdeps/i386/i486/strlen.S: Moved to ...
22794         * sysdeps/i386/strlen.S: Here.
22796 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22798         * sysdeps/i386/i486/strcat.S: Moved to ...
22799         * sysdeps/i386/strcat.S: Here.
22801 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22803         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
22804         * sysdeps/i386/pthread_spin_trylock.S: Here.
22805         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
22806         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
22808 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22810         * sysdeps/i386/i486/string-inlines.c: Moved to ...
22811         * sysdeps/i386/string-inlines.c: Here.
22813 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22815         * sysdeps/i386/i486/htonl.S: Moved ...
22816         * sysdeps/i386/htonl.S: here.
22818 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22820         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
22821         * sysdeps/i386/bits/atomic.h: Here.
22823 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22825         * sysdeps/i386/i486/Versions: Removed.
22827 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22829         [BZ #2898]
22830         * misc/mktemp.c: Add mkdtemp to the link_warning message.
22831         Based on patch by Aurelien Jarno.
22833 2015-08-26  Stan Shebs  <stanshebs@google.com>
22835         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
22836         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22838 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22840         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
22841         * sysdeps/powerpc/dl-procinfo.c:
22842         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
22843         feature so it shows when LD_SHOW_AUXV=1.
22845 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22847         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22848         (__arch_compare_and_exchange_val_32_acq): Remove and use common
22849         definition.  ISA 2.07B no longer requires full sync.
22851 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
22853         [BZ #18863]
22854         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
22855         (si_call_addr): Define.
22856         (si_syscall): Define.
22857         (si_arch): Define.
22859 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22861         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
22862         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
22863         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
22864         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
22865         (__memset_zero_constant_len_parameter): New.
22866         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
22867         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
22868         (__memset_zero_constant_len_parameter): Don't define if
22869         __memset_chk or USE_AS_BZERO are defined.
22871         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
22872         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
22873         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
22875         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
22876         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
22877         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
22878         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
22879         comments.
22880         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
22881         -mno-mmx for $(all-rtld-routines).
22882         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
22883         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
22884         i386.
22886 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
22888         * sysdeps/generic/unwind.h
22889         (_Unwind_Word): Use __mode__(__unwind_word__)
22890         instead of __mode__(__word__).
22891         (_Unwind_Sword): Likewise.
22893         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22894         (MAX_NEEDED_INPUT): New define.
22895         (MAX_NEEDED_OUTPUT): New define.
22897         * NEWS: New item for IBM z13 string optimizations.
22899         * sysdeps/s390/multiarch/memrchr-c.c: New File.
22900         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
22901         * sysdeps/s390/multiarch/memrchr.c: Likewise.
22902         * sysdeps/s390/multiarch/Makefile
22903         (sysdep_routines): Add memrchr functions.
22904         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22905         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
22907         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
22908         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
22909         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
22910         * sysdeps/s390/multiarch/Makefile
22911         (sysdep_routines): Add wmemcmp functions.
22912         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22913         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
22914         * benchtests/bench-wmemcmp.c: New File.
22915         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
22917         * sysdeps/s390/multiarch/wmemset-c.c: New File.
22918         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
22919         * sysdeps/s390/multiarch/wmemset.c: Likewise.
22920         * sysdeps/s390/multiarch/Makefile
22921         (sysdep_routines): Add wmemset functions.
22922         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22923         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
22924         * wcsmbs/wmemset.c: Use WMEMSET if defined.
22925         * string/test-memset.c: Add wmemset support.
22926         * wcsmbs/test-wmemset.c: New File.
22927         * wcsmbs/Makefile (strop-tests): Add wmemset.
22928         * benchtests/bench-memset.c: Add wmemset support.
22929         * benchtests/bench-wmemset.c: New File.
22930         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
22932         * sysdeps/s390/multiarch/memccpy-c.c: New File.
22933         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
22934         * sysdeps/s390/multiarch/memccpy.c: Likewise.
22935         * sysdeps/s390/multiarch/Makefile
22936         (sysdep_routines): Add memccpy functions.
22937         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22938         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
22939         * string/memccpy.c: Use MEMCCPY if defined.
22941         * sysdeps/s390/multiarch/memchr-vx.S: New File.
22942         * sysdeps/s390/multiarch/memchr.c: Likewise.
22943         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
22944         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
22945         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
22946         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
22947         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
22948         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
22949         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
22950         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
22951         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
22952         and rawmemchr functions.
22953         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22954         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
22955         and wmemchr.
22956         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
22957         * string/test-memchr.c: Add wmemchr support.
22958         * wcsmbs/test-wmemchr.c: New File.
22959         * wcsmbs/Makefile (strop-tests): Add wmemchr.
22960         * benchtests/bench-memchr.c: Add wmemchr support.
22961         * benchtests/bench-wmemchr.c: New File.
22962         * benchtests/Makefile (wcsmbs-bench): wmemchr.
22964         * sysdeps/s390/multiarch/strcspn-c.c: New File.
22965         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
22966         * sysdeps/s390/multiarch/strcspn.c: Likewise.
22967         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
22968         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
22969         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
22970         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
22971         wcscspn functions.
22972         * sysdeps/s390/multiarch/ifunc-impl-list.c
22973         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
22974         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
22975         * string/test-strcspn.c: Add wcscspn support.
22976         * wcsmbs/test-wcscspn.c: New File.
22977         * wcsmbs/Makefile (strop-tests): Add wcscspn.
22978         * benchtests/bench-strcspn.c: Add wcscspn support.
22979         * benchtests/bench-wcscspn.c: New File.
22980         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
22982         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
22983         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
22984         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
22985         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
22986         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
22987         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
22988         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
22989         wcspbrk functions.
22990         * sysdeps/s390/multiarch/ifunc-impl-list.c
22991         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
22992         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
22993         * string/test-strpbrk.c: Add wcspbrk support.
22994         * wcsmbs/test-wcspbrk.c: New File.
22995         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
22996         * benchtests/bench-strpbrk.c: Add wcspbrk support.
22997         * benchtests/bench-wcspbrk.c: New File.
22998         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
23000         * sysdeps/s390/multiarch/strspn-c.c: New File.
23001         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
23002         * sysdeps/s390/multiarch/strspn.c: Likewise.
23003         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
23004         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
23005         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
23006         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
23007         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
23008         wcsspn functions.
23009         * sysdeps/s390/multiarch/ifunc-impl-list.c
23010         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
23011         * string/test-strspn.c: Add wcsspn support.
23012         * wcsmbs/test-wcsspn.c: New File.
23013         * wcsmbs/Makefile (strop-tests): Add wcsspn.
23014         * benchtests/bench-strspn.c: Add wcsspn support.
23015         * benchtests/bench-wcsspn.c: New File.
23016         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
23018         * sysdeps/s390/multiarch/strrchr-c.c: New File.
23019         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
23020         * sysdeps/s390/multiarch/strrchr.c: Likewise.
23021         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
23022         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
23023         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
23024         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
23025         wcsrchr functions.
23026         * sysdeps/s390/multiarch/ifunc-impl-list.c
23027         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
23028         * benchtests/bench-wcsrchr.c: New File.
23029         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
23031         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
23032         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
23033         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
23034         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
23035         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
23036         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
23037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
23038         wcschrnul functions.
23039         * sysdeps/s390/multiarch/ifunc-impl-list.c
23040         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
23041         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
23042         * string/test-strchr.c: Add wcschrnul support.
23043         * wcsmbs/test-wcschrnul.c: New File.
23044         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
23045         * benchtests/bench-strchr.c: Add wcschrnul support.
23046         * benchtests/bench-wcschrnul.c: New File.
23047         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
23049         * sysdeps/s390/multiarch/strchr-c.c: New File.
23050         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23051         * sysdeps/s390/multiarch/strchr.c: Likewise.
23052         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23053         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23054         * sysdeps/s390/multiarch/wcschr.c: Likewise.
23055         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23056         wcschr functions.
23057         * sysdeps/s390/multiarch/ifunc-impl-list.c
23058         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23059         * string/strchr.c (STRCHR): Define and use macro.
23060         * benchtests/bench-wcschr.c: New File.
23061         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23063         * sysdeps/s390/multiarch/strncmp-c.c: New File.
23064         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23065         * sysdeps/s390/multiarch/strncmp.c: Likewise.
23066         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23067         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23068         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23069         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23070         wcsncmp functions.
23071         * sysdeps/s390/multiarch/ifunc-impl-list.c
23072         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23073         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23074         * benchtests/bench-strncmp.c: Add wcsncmp support.
23075         * benchtests/bench-wcsncmp.c: New File.
23076         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23078         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23079         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23080         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23081         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23082         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23083         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23084         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23085         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23086         wcscmp functions.
23087         * sysdeps/s390/multiarch/ifunc-impl-list.c
23088         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23089         * string/strcmp.c (STRCMP): Define and use macro.
23090         * benchtests/bench-wcscmp.c: New File.
23091         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23092         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23093         instead of _HAVE_STRING_ARCH_memchr.
23095         * sysdeps/s390/multiarch/strncat-c.c: New File.
23096         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23097         * sysdeps/s390/multiarch/strncat.c: Likewise.
23098         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23099         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23100         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23101         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23102         wcsncat functions.
23103         * sysdeps/s390/multiarch/ifunc-impl-list.c
23104         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23105         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23106         * string/test-strncat.c: Add wcsncat support.
23107         * wcsmbs/test-wcsncat.c: New File.
23108         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23109         * benchtests/bench-strncat.c: Add wcsncat support.
23110         * benchtests/bench-wcsncat.c: New File.
23111         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23113         * sysdeps/s390/multiarch/strcat-c.c: New File.
23114         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23115         * sysdeps/s390/multiarch/strcat.c: Likewise.
23116         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23117         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23118         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23119         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23120         wcscat functions.
23121         * sysdeps/s390/multiarch/ifunc-impl-list.c
23122         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23123         * string/strcat.c (STRCAT): Define and use macro.
23124         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23125         * string/test-strcat.c: Add wcscat support.
23126         * wcsmbs/test-wcscat.c: New File.
23127         * wcsmbs/Makefile (strop-tests): Add wcscat.
23128         * benchtests/bench-strcat.c: Add wcscat support.
23129         * benchtests/bench-wcscat.c: New File.
23130         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23132         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23133         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23134         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23135         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23136         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23137         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23138         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23139         wcpncpy functions.
23140         * sysdeps/s390/multiarch/ifunc-impl-list.c
23141         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23142         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23143         * string/test-stpncpy.c: Add wcpncpy support.
23144         * wcsmbs/test-wcpncpy.c: New File.
23145         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23146         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23147         * benchtests/bench-wcpncpy.c: New File.
23148         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23150         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23151         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23152         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23153         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23154         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23155         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23156         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23157         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23158         wcsncpy functions.
23159         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23160         * sysdeps/s390/multiarch/ifunc-impl-list.c
23161         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23162         * string/test-strncpy.c: Add wcsncpy support.
23163         * wcsmbs/test-wcsncpy.c: New File.
23164         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23165         * benchtests/bench-strncpy.c: Add wcsncpy support.
23166         * benchtests/bench-wcsncpy.c: New File.
23167         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23169         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23170         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23171         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23172         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23173         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23174         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23175         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23176         wcpcpy functions.
23177         * string/stpcpy.c: Use STPCPY if defined.
23178         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23179         * sysdeps/s390/multiarch/ifunc-impl-list.c
23180         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23181         * string/test-stpcpy.c: Add wcpcpy support.
23182         * wcsmbs/test-wcpcpy.c: New File.
23183         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23184         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23185         * benchtests/bench-wcpcpy.c: New File.
23186         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23188         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23189         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23190         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23191         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23192         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23193         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23194         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23195         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23196         wcscpy functions.
23197         * sysdeps/s390/multiarch/ifunc-impl-list.c
23198         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23199         * benchtests/bench-wcscpy.c: New File.
23200         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23202         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23203         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23204         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23205         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23206         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23207         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23208         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23209         wcsnlen functions.
23210         * sysdeps/s390/multiarch/ifunc-impl-list.c
23211         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23212         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23213         * string/test-strnlen.c: Add wcsnlen support.
23214         * wcsmbs/test-wcsnlen.c: New File.
23215         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23216         * benchtests/bench-strnlen.c: Add wcsnlen support.
23217         * benchtests/bench-wcsnlen.c: New File.
23218         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23220         * sysdeps/s390/multiarch/Makefile: New File.
23221         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23222         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23223         * sysdeps/s390/multiarch/strlen.c: Likewise.
23224         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23225         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23226         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23227         * string/strlen.c (STRLEN): Define and use macro.
23228         * sysdeps/s390/multiarch/ifunc-impl-list.c
23229         (IFUNC_VX_IMPL): New macro function.
23230         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23231         * benchtests/Makefile (wcsmbs-bench): New variable.
23232         (string-bench-all): Added wcsmbs-bench.
23233         * benchtests/bench-wcslen.c: New File.
23235         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23236         s390_vx_libc_ifunc2): New macro function.
23238         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23239         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23240         assembler support.
23241         * sysdeps/s390/configure: Regenerated.
23243         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23244         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23246         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23247         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23248         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23250         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23251         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23252         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23253         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23254         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23255         (memcmp, bcmp): Use __memcmp_default as alias source.
23256         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23257         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23258         Rename to __memcmp_default.
23259         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23260         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23261         (memcpy): Use __memcpy_default as alias source.
23262         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23263         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23264         Rename to __memcpy_default.
23265         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23266         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23267         (memset): Use __memset_default as alias source.
23268         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23269         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23270         Rename to __memset_default.
23271         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23272         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23273         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23274         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23275         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23276         (memcmp, bcmp): Use __memcmp_default as alias source.
23277         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23278         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23279         Rename to __memcmp_default.
23280         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23281         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23282         (memcpy): Use __memcpy_default as alias source.
23283         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23284         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23285         Rename to __memcpy_default.
23286         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23287         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23288         (memset): Use __memset_default as alias source.
23289         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23290         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23291         Rename to __memset_default.
23292         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23293         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23295         [BZ #18610]
23296         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23297         __ieee_instruction_pointer to __unused.
23298         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23299         __ieee_instruction_pointer.
23300         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23301         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23302         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23303         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23304         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23305         Mark dxc-field as reserved.
23307 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23309         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23310         if the weak reference is not null.
23312 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23314         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23316         [BZ #11214]
23317         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23319 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23321         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23322         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23323         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23324         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23325         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23326         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23327         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23328         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23329         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23330         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23331         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23332         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23333         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23334         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23335         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23336         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23337         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23338         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23340 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23342         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23343         register other than r0 for tabort, it has special meaning.
23344         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23345         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23346         transaction before starting syscall.
23348 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23350         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23352 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23354         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23356         * sysdeps/x86_64/rtld-memcmp.c: Removed.
23357         * sysdeps/x86_64/rtld-memset.S: Likewise.
23358         * sysdeps/x86_64/rtld-strchr.S: Likewise.
23359         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23360         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23361         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23363         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23365 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
23367         * debug/strcpy_chk.c: Improve performance.
23368         * debug/stpcpy_chk.c: Likewise.
23369         * sysdeps/x86_64/strcpy_chk.S: Remove.
23370         * sysdeps/x86_64/stpcpy_chk.S: Remove.
23372         [BZ #18240]
23373         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
23375 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23377         [BZ #15128]
23378         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
23379         ifuncmain8.
23380         (modules-names): Add ifuncmod8.
23381         ($(objpfx)ifuncmain8): New rule.
23382         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
23383         <cpuid.h>.
23384         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
23385         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
23386         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
23387         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
23388         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
23389         * sysdeps/x86_64/dl-trampoline.h: Likewise.
23390         * sysdeps/x86_64/ifuncmain8.c: New file.
23391         * sysdeps/x86_64/ifuncmod8.c: Likewise.
23392         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
23393         Removed.
23394         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
23395         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
23396         Change rtld_savespace_sse to __glibc_unused2.
23397         (RTLD_CHECK_FOREIGN_CALL): Removed.
23398         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
23399         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
23400         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
23402 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23404         * sysdeps/aarch64/bzero.S (__bzero): Remove.
23406 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23408         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
23409         Unconditionally set __fpcr to avoid uninialized warning.
23410         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
23412 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23414         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
23415         is corrupt.
23417         * malloc/arena.c (arena_get2): Drop unused argument.
23418         (arena_lock): Adjust.
23419         (arena_get_retry): Likewise.
23421 2015-08-24  Andreas Schwab  <schwab@suse.de>
23423         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
23424         Don't define.
23425         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23426         (__ASSUME_IPC64): Don't undef.
23427         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
23428         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23429         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23430         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
23431         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
23432         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
23433         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
23434         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
23435         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
23436         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
23437         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
23438         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
23439         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
23440         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
23441         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
23442         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
23443         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
23444         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
23445         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
23446         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
23447         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
23449 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
23451         * manual/Makefile (install): Only build manual when perl is available.
23453 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23455         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
23456         '#undef memcpy' by '#undef memchr'.
23458 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23460         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
23461         memchr not point to the internal __GI_memchr implementation.
23463 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23465         * timezone/Makefile (CFLAGS-zdump.c): Remove
23466         -Wno-strict-prototypes.
23467         (CFLAGS-zic.c): Likewise.
23468         (CFLAGS-ialloc.c): Likewise.
23469         (CFLAGS-scheck.c): Likewise.
23471         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
23472         -Wno-error=undef.
23474 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23476         * i386/i686/multiarch/strcasestr-c.c: Removed.
23477         * x86_64/multiarch/strcasestr.c: Likewise.
23478         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23479         Remove strcasestr.
23481 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23483         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
23485         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
23486         variables for high and low parts before possibly modifying them.
23488 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23490         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
23491         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
23492         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
23493         of "multiarch/init-arch.h".
23494         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
23495         * sysdeps/x86/init-arch.h: This.
23497 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23499         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
23500         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
23502 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
23504         [BZ #17787]
23505         * manual/macros.texi: Add twoexp macro.
23506         * manual/filesys.texi: Fix exponents.
23507         * manual/llio.texi: Likewise.
23508         * manual/stdio.texi: Likewise.
23510 2015-08-20  Florian Weimer  <fweimer@redhat.com>
23512         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
23513         incorrect use.
23515 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
23517         [BZ #18370]
23518         * math/s_csqrt.c (__csqrt): Force underflow exception for results
23519         whose real or imaginary part has small absolute value.
23520         * math/s_csqrtf.c (__csqrtf): Likewise.
23521         * math/s_csqrtl.c (__csqrtl): Likewise.
23522         * math/auto-libm-test-in: Add more tests of csqrt.
23523         * math/auto-libm-test-out: Regenerated.
23524         * sysdeps/i386/fpu/libm-test-ulps: Update.
23526 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23528         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
23529         __ppc_set_ppr_very_low): New functions.
23530         * manual/platform.texi: Add documentation about
23531         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
23533 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
23535         * string/stpncpy.c (stpncpy): Improve performance using
23536         __strnlen/memcpy/memset.
23538 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23540         [BZ #18796]
23541         * scripts/test-installation.pl: Don't add -lmvec to build options if
23542         libmvec wasn't built.
23544 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23546         [BZ #14341]
23547         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
23548         case when there is a gap between DT_REL and DT_JMPREL sections.
23549         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
23550         (LDFLAGS-tst-split-dynreloc): New.
23551         (tst-split-dynreloc-ENV): Likewise.
23552         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
23553         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
23555 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23557         [BZ #18822]
23558         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
23559         attribute_hidden.
23560         (__xstat64_conv): Likewise.
23561         (__xstat32_conv): Likewise.
23563 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23565         [BZ #18822]
23566         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23567         Don't load %ebx when calling __setcontext.  Call __setcontext
23568         with HIDDEN_JUMPTARGET.
23569         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
23570         libc_hidden_def.
23572 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23574         * sysdeps/i386/i686/Makefile
23575         [$(subdir) == string] (sysdep_routines): Moved to ...
23576         * sysdeps/i386/Makefile: Here.
23577         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
23578         * sysdeps/i386/cacheinfo.c: Here.
23579         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
23580         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
23581         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
23582         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
23584 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23586         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
23587         __i586__ is defined.
23588         (HAS_I686): Defined to 1 if __i686__ is defined.
23590 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
23592         * elf/Makefile [$(have-z-execstack) = yes]
23593         (CPPFLAGS-tst-execstack.c): New variable.
23595         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
23596         conditional to [defined UTMPX || _HAVE_UT_TYPE].
23597         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
23598         UTMPX || _HAVE_UT_TV].
23599         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
23600         UTMPX || _HAVE_UT_TV - 0].
23602 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
23604         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
23605         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
23606         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
23608 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23610         * sysdeps/powerpc/dl-procinfo.c:
23611         (_dl_powerpc_cap_flags): Added missing strings for some
23612         hwcap features.
23613         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
23615 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
23617         Port the 0x7efe...feff pattern to GCC 6.
23618         See Steve Ellcey's bug report in:
23619         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
23620         * string/memrchr.c (MEMRCHR):
23621         * string/rawmemchr.c (RAWMEMCHR):
23622         * string/strchr.c (strchr):
23623         * string/strchrnul.c (STRCHRNUL):
23624         Rewrite code to avoid issues with signed shift overflow.
23626 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
23628         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
23629         whether cpuid is available only if HAS_CPUID is 0.
23630         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
23631         (HAS_I586): Likewise.
23632         (HAS_I686): Likewise.
23634 2015-08-18  Zack Weinberg  <zackw@panix.com>
23636         * misc/Versions (libc): Add GLIBC_2.23.
23638 2015-08-18  Alan Modra  <amodra@gmail.com>
23640         [BZ #18421]
23641         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
23642         .Lp__global.
23643         (_start): Load %dp via .Lp__global.
23644         [!SHARED]: Use .section .rodata.
23646 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23648         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
23649         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
23651 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23653         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
23654         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
23656 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23658         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
23659         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
23661 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23663         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
23664         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
23666 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23668         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
23669         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
23671 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23673         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
23674         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
23676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23678         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
23680 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23682         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
23683         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
23684         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23685         (__ASSUME_LWS_CAS): Delete.
23687 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23689         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
23690         * sysdeps/hppa/configure: Regenerated.
23691         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
23692         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
23693         * sysdeps/hppa/nptl/tls.h: Likewise.
23695 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
23697         [BZ #18823]
23698         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
23699         for scaling up small arguments.
23700         * math/s_csqrtf.c (__csqrtf): Likewise.
23701         * math/s_csqrtl.c (__csqrtl): Likewise.
23702         * math/auto-libm-test-in: Add more tests of csqrt.
23703         * math/auto-libm-test-out: Regenerated.
23705 2015-08-17  Andreas Schwab  <schwab@suse.de>
23707         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
23708         version set GLIBC_2.19.
23710 2015-08-16  Zack Weinberg  <zackw@panix.com>
23712         [BZ #18681]
23713         * misc/regexp.h: This interface is no longer supported.
23714         Remove all contents, leaving only an #error directive.
23715         * misc/regexp.c (loc1, loc2, locs, step, advance):
23716         Demote to compatibility symbols.
23718 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
23720         [BZ #18084]
23721         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
23722         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
23723         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23724         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
23725         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
23726         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
23727         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
23728         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
23729         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
23731 2015-08-15  Zack Weinberg  <zackw@panix.com>
23733         [BZ #18795]
23734         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
23735         buffer length is known to be too large, not if it's known to be
23736         small enough.
23737         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
23738         overflow at runtime, involving a length parameter, twice: once
23739         with a compile-time constant length parameter, once without.
23741 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
23743         [BZ #18824]
23744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
23745         scaling x * y up instead of down.
23746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23748         * math/auto-libm-test-in: Add more tests of fma.
23749         * math/auto-libm-test-out: Regenerated.
23751 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
23753         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23755 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23757         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
23758         unnecessary movq.
23759         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
23760         Likewise.
23762 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
23764         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23765         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
23766         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
23767         and tgamma.
23768         * math/auto-libm-test-out: Regenerated.
23769         * sysdeps/i386/fpu/libm-test-ulps: Update.
23770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23772         [BZ #16520]
23773         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
23774         (__tanh): Force underflow exception for arguments with small
23775         absolute value.
23776         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
23777         (__tanhf): Force underflow exception for arguments with small
23778         absolute value.
23779         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
23780         (__tanhl): Force underflow exception for arguments with small
23781         absolute value.
23782         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
23783         (__tanhl): Force underflow exception for arguments with small
23784         absolute value.
23785         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
23786         (__tanhl): Force underflow exception for arguments with small
23787         absolute value.
23788         * math/auto-libm-test-in: Add more tests of tanh.
23789         * math/auto-libm-test-out: Regenerated.
23790         * sysdeps/i386/fpu/libm-test-ulps: Update.
23792 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23794         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
23795         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
23797 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23799         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
23800         <cpuid.h>.
23802 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23804         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
23805         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
23807 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23809         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
23810         Remove $(objpfx)init-arch.o.
23811         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
23812         init-arch.
23813         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
23814         (INIT_ARCH_EXT): Defined as empty.
23815         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
23816         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
23817         __init_cpu_features call.  Replace HAS_XXX with
23818         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23819         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
23820         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
23821         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
23822         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
23823         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23824         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
23825         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
23826         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23827         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
23828         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
23829         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23830         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
23831         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
23832         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23833         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
23834         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
23835         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23836         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23837         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
23838         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
23839         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23840         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
23841         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
23842         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23843         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
23844         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
23845         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23846         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
23847         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
23848         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23849         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
23850         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
23851         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23852         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
23853         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
23855 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23857         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
23858         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23859         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
23860         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
23861         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
23862         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
23863         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
23864         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
23865         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
23866         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
23867         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
23868         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
23869         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23870         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23871         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23872         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23873         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23874         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23875         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23876         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23877         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23878         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23879         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23880         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23881         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23882         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23883         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23884         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23885         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23886         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23887         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23888         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23889         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23890         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23891         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23892         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23893         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23894         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23895         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23896         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23897         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23898         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23899         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23901 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23903         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
23904         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23905         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23906         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23907         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23908         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
23909         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23910         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
23911         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23912         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23913         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23914         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
23915         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
23916         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
23917         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
23918         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
23919         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
23920         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
23921         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
23922         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
23923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
23924         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
23925         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
23926         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23927         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23928         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
23929         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
23930         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
23931         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23932         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23933         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23934         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23935         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23936         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23937         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23938         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23939         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23940         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23941         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23942         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23943         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23944         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23945         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23947 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23949         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
23950         (dl_platform_init): Call init_cpu_features.
23951         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
23952         * sysdeps/i386/i686/cacheinfo.c
23953         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
23954         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
23955         * sysdeps/i386/i686/multiarch/Versions: Removed.
23956         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
23957         Removed.
23958         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
23959         * sysdeps/unix/sysv/linux/x86/Makefile
23960         (libpthread-sysdep_routines): Remove init-arch.
23961         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
23962         <sysdeps/x86_64/dl-procinfo.c> instead of
23963         sysdeps/generic/dl-procinfo.c>.
23964         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
23965         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
23966         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
23967         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
23968         [$(subdir) == elf] (tests-static): Add
23969         tst-get-cpu-features-static.
23970         * sysdeps/x86/Versions: New file.
23971         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
23972         * sysdeps/x86/cpu-features.c: Likewise.
23973         * sysdeps/x86/cpu-features.h: Likewise.
23974         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
23975         * sysdeps/x86/libc-start.c: Likewise.
23976         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
23977         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
23978         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
23979         * sysdeps/x86_64/dl-procinfo.c: Likewise.
23980         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
23981         Assume USE_MULTIARCH is defined and don't check it.
23982         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
23983         (is_amd): Likewise.
23984         (max_cpuid): Likewise.
23985         (intel_check_word): Likewise.
23986         (__cache_sysconf): Don't call __init_cpu_features.
23987         (__x86_preferred_memory_instruction): Removed.
23988         (init_cacheinfo): Don't call __init_cpu_features. Replace
23989         __cpu_features with GLRO(dl_x86_cpu_features).
23990         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
23991         (dl_platform_init): Call init_cpu_features.
23992         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
23993         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
23994         * sysdeps/x86_64/multiarch/Versions: Removed.
23995         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
23996         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
23997         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
23998         Removed.
23999         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
24001 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24003         [BZ #18820]
24004         * libio/Makefile (test-fmemopen-mem): New test.
24005         * libio/test-fmemopen.c (do_bz18820): New test.
24006         * libio/fmemopen.c (__fmemopen): Fix memory leak.
24007         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
24009 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24011         [BZ #16734]
24012         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
24013         (FREE_BUF): Delete.
24014         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
24015         * libio/genops.c (_IO_setb): Use malloc and free directly.
24016         (_IO_default_doallocate, _IO_default_finish): Likewise.
24017         ( _IO_unbuffer_all): Likewise.
24018         ( libc_freeres_fn): Likewise.
24019         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24020         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24021         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
24022         (_IO_wdefault_doallocate): Likewise.
24024 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24026         [BZ #18086]
24027         * sysdeps/posix/nice.c (nice): Restore old errno.
24028         * posix/tst-nice.c (do_test): Add test for BZ #18086.
24030 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
24032         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
24034 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24036         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
24037         __bcopy and add a weak_alias to bcopy.
24038         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
24039         for static build.
24041         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
24042         cleanup macro usage.
24043         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
24044         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
24045         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24046         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
24047         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24048         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
24049         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24050         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24051         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24052         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24054         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24056         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24058         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24059         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24060         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24061         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24063         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24064         libc_hidden_def.
24065         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24067         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24068         (sysdep_routines): Add strstr-ppc64.
24069         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24071 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24073         [BZ #18778]
24074         * elf/Makefile (tests): Add Add tst-nodelete2.
24075         (modules-names): Add tst-nodelete2mod.
24076         (tst-nodelete2mod.so-no-z-defs): New.
24077         ($(objpfx)tst-nodelete2): Likewise.
24078         ($(objpfx)tst-nodelete2.out): Likewise.
24079         (LDFLAGS-tst-nodelete2): Likewise.
24080         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24081         out of loop through all loaded libraries.
24082         * elf/tst-nodelete2.c: New file.
24083         * elf/tst-nodelete2mod.c: Likewise.
24084         * elf/tst-znodelete-zlib.cc: Delete.
24086 2015-08-11  Andreas Schwab  <schwab@suse.de>
24088         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24089         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24090         (__openat64_nocancel): Likewise.
24092 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24094         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24095         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24096         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24097         * math/auto-libm-test-out: Regenerated.
24098         * sysdeps/i386/fpu/libm-test-ulps: Update.
24099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24101 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24103         [BZ #18790]
24104         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24105         threshold for returning +/- 1.
24106         * math/auto-libm-test-in: Add more tests of tanh.
24107         * math/auto-libm-test-out: Regenerated.
24108         * sysdeps/i386/fpu/libm-test-ulps: Update.
24110 2015-08-10  Andreas Schwab  <schwab@suse.de>
24112         [BZ #18781]
24113         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24114         MORE_OFLAGS to oflag.
24115         * io/test-lfs.c (do_test): Test openat64.
24117 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24119         [BZ #18789]
24120         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24121         smaller threshold for returning the argument.
24122         * math/auto-libm-test-in: Add more tests of sinh.
24123         * math/auto-libm-test-out: Regenerated.
24124         * sysdeps/i386/fpu/libm-test-ulps: Update.
24126 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24128         [BZ #18674]
24129         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24130         break.
24132 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24134         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24135         (generated): Don't add $(addprefix z.,$(tzfiles)).
24137 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24139         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24140         * scripts/sysd-rules.awk: Likewise.
24142 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24144         * iconvdata/tst-tables.sh: Change echo -n to printf.
24145         * nss/db-Makefile: Likewise.
24146         * posix/tst-getconf.sh: Likewise.
24147         * stdio-common/tst-unbputc.sh: Likewise.
24149 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24151         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24152         MADV_*_PAGES defines behind this feature check.
24154 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24156         [BZ #18480]
24157         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24158         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24159         Define.
24160         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24161         LOAD_REGS_5, LOAD_REGS_6): Update.
24162         (INTERNAL_SYSCALL): Update using new LOAD defines.
24163         (INTERNAL_SYSCALL_NCS): Likewise.
24164         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24166 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24168         [BZ #16734]
24169         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24171 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24173         [BZ #17905]
24174         * catgets/Makefile (tst-catgets-mem): New test.
24175         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24176         * catgets/open_catalog.c (__open_catalog): Likewise.
24177         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24179 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24181         [BZ #18787]
24182         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24183         clobber registers.
24184         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24185         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24186         Cast return to __typeof (oldval).
24188 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24190         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24191         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24192         and delete sys/syscall.h include.
24194 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24196         [BZ #16517]
24197         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24198         (tan): Force underflow exception for arguments with small absolute
24199         value.
24200         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24201         (__kernel_tanf): Force underflow exception for arguments with
24202         small absolute value.
24203         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24204         (__kernel_tanl): Force underflow exception for arguments with
24205         small absolute value.
24206         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24207         (__kernel_tanl): Force underflow exception for arguments with
24208         small absolute value.
24209         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24210         (__kernel_tanl): Force underflow exception for arguments with
24211         small absolute value.
24212         * math/auto-libm-test-in: Add more tests of tan.
24213         * math/auto-libm-test-out: Regenerated.
24215 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24217         Fix sysdeps/i386/fpu/s_scalbn.S build
24219         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24221 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24223         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24225 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24227         Fix gcrt0.o compilation
24229         When static-start-installed-name is different from
24230         start-installed-name, we must not use the shared objects.
24232         * csu/Makefile
24233         (extra-objs): Add gmon-start.o when building shared library and
24234         $(static-start-installed-name) is different from
24235         $(start-installed-name).
24236         $(objpfx)g$(static-start-installed-name): When building shared
24237         library and $(static-start-installed-name) is different from
24238         $(static-start-installed-name), revert to non-shared rule,
24239         i.e. using $(objpfx)% and gmon-start.o.
24241 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24243         [BZ #16519]
24244         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24245         (__ieee754_sinh): Force underflow exception for arguments with
24246         small absolute value.
24247         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24248         (__ieee754_sinhf): Force underflow exception for arguments with
24249         small absolute value.
24250         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24251         (__ieee754_sinhl): Force underflow exception for arguments with
24252         small absolute value.
24253         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24254         (__ieee754_sinhl): Force underflow exception for arguments with
24255         small absolute value.
24256         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24257         (__ieee754_sinhl): Force underflow exception for arguments with
24258         small absolute value.
24259         * math/auto-libm-test-in: Add more tests of sinh.
24260         * math/auto-libm-test-out: Regenerated.
24261         * sysdeps/i386/fpu/libm-test-ulps: Update.
24263 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24265         * libio/oldfileops.c: Include unistd.h.
24267 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24269         * stdlib/isomac.c: Include ctype.h.
24271 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24273         * dirent/tst-seekdir.c (main): Converted to ...
24274         (do_test): ... this.
24275         (TEST_FUNCTION): New macro.
24276         Include test-skeleton.c.
24277         * elf/tst-dlmodcount.c (main): Converted to ...
24278         (do_test): ... this.
24279         (TEST_FUNCTION): New macro.
24280         Include test-skeleton.c.
24281         * elf/tst-order-main.c (main): Converted to ...
24282         (do_test): ... this.
24283         (TEST_FUNCTION): New macro.
24284         Include test-skeleton.c.
24285         * elf/tst-pie2.c (main): Converted to ...
24286         (do_test): ... this.
24287         (TEST_FUNCTION): New macro.
24288         Include test-skeleton.c.
24289         * inet/tst-ether_aton.c (main): Converted to ...
24290         (do_test): ... this.
24291         (TEST_FUNCTION): New macro.
24292         Include test-skeleton.c.
24293         * misc/tst-mntent.c (main): Converted to ...
24294         (do_test): ... this.
24295         (TEST_FUNCTION): New macro.
24296         Include test-skeleton.c.
24297         * misc/tst-tsearch.c (main): Converted to ...
24298         (do_test): ... this.
24299         (TEST_FUNCTION): New macro.
24300         Include test-skeleton.c.
24301         * posix/tst-regexloc.c (main): Converted to ...
24302         (do_test): ... this.
24303         (TEST_FUNCTION): New macro.
24304         Include test-skeleton.c.
24305         * resolv/tst-aton.c (main): Converted to ...
24306         (do_test): ... this.
24307         (TEST_FUNCTION): New macro.
24308         Include test-skeleton.c.
24309         * stdio-common/test-fwrite.c (main): Converted to ...
24310         (do_test): ... this.
24311         (TEST_FUNCTION): New macro.
24312         Include test-skeleton.c.
24313         * stdio-common/tst-ferror.c (main): Converted to ...
24314         (do_test): ... this.
24315         (TEST_FUNCTION): New macro.
24316         Include test-skeleton.c.
24317         * stdio-common/tst-printf.c (main): Converted to ...
24318         (do_test): ... this.
24319         (TEST_FUNCTION): New macro.
24320         Include test-skeleton.c.
24321         * stdio-common/tst-printfsz.c (main): Converted to ...
24322         (do_test): ... this.
24323         (TEST_FUNCTION): New macro.
24324         Include test-skeleton.c.
24325         * stdlib/tst-strtod.c (main): Converted to ...
24326         (do_test): ... this.
24327         (TEST_FUNCTION): New macro.
24328         Include test-skeleton.c.
24329         * string/tst-strlen.c (main): Converted to ...
24330         (do_test): ... this.
24331         (TEST_FUNCTION): New macro.
24332         Include test-skeleton.c.
24333         * string/tst-svc.c (main): Converted to ...
24334         (do_test): ... this.
24335         (TEST_FUNCTION): New macro.
24336         Include test-skeleton.c.
24337         * time/tst-strptime.c (main): Converted to ...
24338         (do_test): ... this.
24339         (TEST_FUNCTION): New macro.
24340         Include test-skeleton.c.
24341         * timezone/tst-timezone.c (main): Converted to ...
24342         (do_test): ... this.
24343         (TEST_FUNCTION): New macro.
24344         Include test-skeleton.c.
24346 2015-08-05  Zack Weinberg  <zackw@panix.com>
24348         * misc/regexp.h: Update comments.
24350 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
24352         [BZ #18635]
24353         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24354         before return label.
24356 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24358         [BZ #18661]
24359         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24360         when calling __errno_location.
24361         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24362         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24364 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24366         [BZ #18661]
24367         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
24368         (__lll_timedwait_tid): Align stack to 16 bytes when calling
24369         __gettimeofday.
24371 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24373         [BZ #18661]
24374         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24375         (__start_context): Don't use pop to restore %rdi so that stack
24376         is aligned to 16 bytes when calling __setcontext.
24378 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24380         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
24381         only for libc.
24382         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24384 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24386         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
24387         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
24388         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
24390 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24392         * string/memccpy.c (memccpy):
24393         Improve performance by using memchr/memcpy/__mempcpy.
24395 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24397         * string/strncpy.c (strncpy):
24398         Improve performance by using __strnlen/memcpy.
24400 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24402         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24403         Optimize to avoid an unnecessary FPCR read.
24405 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24407         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24408         Optimize to reduce FPCR/FPSR accesses.
24410 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24412         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
24413         dead->data[category] != NULL.
24415 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
24417         [BZ #18647]
24418         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
24419         and |x| close to 1, use absolute value of x when computing log.
24420         * math/auto-libm-test-in: Add more tests of pow.
24421         * math/auto-libm-test-out: Regenerated.
24423 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24425         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
24426         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
24427         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
24429 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
24431         [BZ #18525]
24432         * locales/km_KH: Remove timezone definition.
24433         * locales/lo_LA: Likewise.
24434         * locales/my_MM: Likewise.
24435         * locales/nan_TW@latin: Likewise.
24436         * locales/th_TH: Likewise.
24437         * locales/uk_UA: Likewise.
24439 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24441         [BZ #18265]
24442         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
24443         (wcsncat): Likewise.
24444         (wcscmp): Likewise.
24445         (wcsncmp): Likewise.
24447 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24449         * test-skeleton.c (usage): New function.
24450         (main): Call usage when opt is '?'.
24452 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24454         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
24455         before first use.
24457 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24459         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
24460         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
24461         in there too.
24463 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
24465         * version.h (RELEASE): Set to "development".
24466         (VERSION): Set to "2.22.90"
24468         * version.h (RELEASE): Set to "stable".
24469         (VERSION): Set to "2.22"
24470         * include/features.h (__GLIBC_MINOR__): Set to 22.
24472 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
24474         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
24475         Restructure macro to avoid "value computed is not used" warning.
24476         (atomic_compare_and_exchange_val_acq): Likewise.
24478 2015-08-04  Andreas Schwab  <schwab@suse.de>
24480         [BZ #18635]
24481         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
24482         ret.
24483         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
24485 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
24487         * po/pl.po: Updated translation.
24488         * po/uk.po: Likewise.
24489         * po/fi.po: Likewise.
24490         * po/ko.po: Likewise.
24491         * po/ru.po: Likewise.
24492         * po/vi.po: Likewise.
24494 2015-07-31  Zack Weinberg  <zackw@panix.com>
24496         [BZ #18681]
24497         * regexp.h: Add unconditional #warning stating that this header
24498         will be removed soon.  Revise banner comment to match.
24499         (compile): Consistently use ERROR instead of RETURN to report
24500         errors (partial fix for bz#18681).
24501         * regexp.c: Don't include regexp.h. Remove some unnecessary
24502         declarations.
24504 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
24506         * po/libc.pot: Regenerated.
24508 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24510         [BZ #18740]
24511         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
24512         float-vlen4-arch-ext-cflags): Removed.
24513         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
24514         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
24516 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24518         [BZ #14113]
24519         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
24520         aligned to __aligned__.
24521         (pthread_cond_t, pthread_rwlock_t): Likewise.
24523 2015-07-30  Torvald Riegel  <triegel@redhat.com>
24525         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
24527 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24529         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
24530         (struct sigaction): Change sa_flags from a long to an int, and add
24531         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
24533 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24535         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
24536         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
24537         sysdeps/generic/sysdep.h include.
24538         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
24539         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
24540         sysdeps/hppa/sysdep.h.
24541         (ENTRY, PSEUDO): Undefine before defining.
24543 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24545         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
24546         from scratch to use INTERNAL_SYSCALL.
24548 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
24550         [BZ #18078]
24551         * scripts/check-localplt.awk: Support alternate relocations.
24552         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
24553         sections.
24554         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
24555         malloc entries with + REL R_386_GLOB_DAT.
24556         * sysdeps/x86_64/localplt.data: New file.
24558 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
24560         [BZ #18731]
24561         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
24562         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24563         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24565 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24567         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
24569 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24571         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
24572         directly in terms of __sync_fetch_and_add and delete (int) cast.
24574 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24576         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
24577         the -D_ASM_IA64_CURRENT_H flag.
24579 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24581         [BZ #18641]
24582         * pwd/pwd.h (putpwent): Delete __nonnull markings.
24584 2015-07-27  Andreas Schwab  <schwab@suse.de>
24586         * conform/conformtest.pl (checknamespace): Filter out string
24587         literals while tokenizing.
24589 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
24591         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24592         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
24593         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24595 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
24597         * nptl/tst-join7mod.c: Add #include <string.h>.
24599 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
24601         * sysdeps/nios2/libm-test-ulps: Update.
24603 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
24605         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
24606         Fix order of arguments to the rt_sigprocmask syscall.
24607         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
24608         Likewise.
24610 2015-07-24  Roland McGrath  <roland@hack.frob.com>
24612         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
24614 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24616         [BZ #18457]
24617         * nptl/Makefile (tests): New test case tst-join7.
24618         (modules-names): New test case module tst-join7mod.
24619         * nptl/tst-join7.c: New file.
24620         * nptl/tst-join7mod.c: New file.
24621         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
24622         all translation units in libc.so, libpthread.so and rtld.
24624 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24628 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24630         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
24631         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24632         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24633         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24634         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24636         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24637         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24638         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24639         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24640         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24641         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24642         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
24643         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
24644         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
24645         implementation.
24647 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24649         [BZ #17711]
24650         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24651         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
24652         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24653         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24654         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
24655         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24657 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24659         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
24660         instead of just saying load lock in the comments.
24662 2015-07-23  Roland McGrath  <roland@hack.frob.com>
24664         * sysdeps/unix/Subdirs: Moved ...
24665         * sysdeps/posix/Subdirs: ... here.
24666         * login/pty.h (struct termios, struct winsize): Add forward decls.
24667         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
24668         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
24669         * sysdeps/arm/nacl/libc.abilist: Updated.
24670         * sysdeps/nacl/libutil.abilist: New file.
24672         * bits/signum.h: Update comments to mention 1003.1-2013 too.
24673         (SIGWINCH): New macro.
24675         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
24676         * sysdeps/arm/nacl/libc.abilist: Add it.
24678 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
24680         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
24682 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
24684         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
24685         Swap __glibc_reserved0 and sa_flags order.
24687 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24689         [BZ #18657]
24690         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
24691         are pending TLS destructor calls.
24692         * include/link.h (struct link_map): Add concurrency note for
24693         L_TLS_DTOR_COUNT.
24694         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24695         Don't touch the link map flag.  Atomically increment
24696         l_tls_dtor_count.
24697         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
24698         Avoid taking the load lock and don't touch the link map flag.
24699         * stdlib/tst-tls-atexit-nodelete.c: New test case.
24700         * stdlib/Makefile (tests): Use it.
24701         * stdlib/tst-tls-atexit.c (do_test): dlopen
24702         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
24703         to allow tst-tls-atexit-nodelete test case to use it.
24705 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24707         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
24708         to bits/types.h.
24709         (msgqnum_t): New typedef.
24710         (msglen_t): Likewise.
24711         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
24712         and msg_qbytes type to msglen_t.
24714 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24716         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
24717         pad0 to __glibc_reserved0.
24718         (struct stat64): Likewise.
24720 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24722         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
24723         Change sa_flags from a long to an int and add __glibc_reserved0 before
24724         it for padding.
24726 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24728         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
24729         anonymous by deleting "siginfo" name.
24731 2015-07-21  Roland McGrath  <roland@hack.frob.com>
24733         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
24734         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
24735         rather than __nacl_irt_filename.
24736         * sysdeps/nacl/xstat.c (__xstat): Likewise.
24738         * NEWS: New item for arm-nacl port.
24739         * sysdeps/arm/nacl/libc.abilist: New file.
24740         * sysdeps/nacl/ld.abilist: New file.
24741         * sysdeps/nacl/libBrokenLocale.abilist: New file.
24742         * sysdeps/nacl/libanl.abilist: New file.
24743         * sysdeps/nacl/libcrypt.abilist: New file.
24744         * sysdeps/nacl/libdl.abilist: New file.
24745         * sysdeps/nacl/libm.abilist: New file.
24746         * sysdeps/nacl/libpthread.abilist: New file.
24747         * sysdeps/nacl/libresolv.abilist: New file.
24748         * sysdeps/nacl/librt.abilist: New file.
24750 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
24752         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
24753         __startcontext to initialize the new context.
24754         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
24755         up CFI directive to forbid further backtracing.
24757 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
24759         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
24760         reference.
24761         * charmaps/ANSI_X3.4-1968: Likewise.
24762         * charmaps/BS_4730: Likewise.
24763         * charmaps/BS_VIEWDATA: Likewise.
24764         * charmaps/CP1250: Likewise.
24765         * charmaps/CP1251: Likewise.
24766         * charmaps/CP1252: Likewise.
24767         * charmaps/CP1253: Likewise.
24768         * charmaps/CP1254: Likewise.
24769         * charmaps/CP1255: Likewise.
24770         * charmaps/CP1256: Likewise.
24771         * charmaps/CSN_369103: Likewise.
24772         * charmaps/EBCDIC-DK-NO: Likewise.
24773         * charmaps/GB_1988-80: Likewise.
24774         * charmaps/GREEK-CCITT: Likewise.
24775         * charmaps/GREEK7: Likewise.
24776         * charmaps/INIS-8: Likewise.
24777         * charmaps/ISIRI-3342: Likewise.
24778         * charmaps/ISO_2033-1983: Likewise.
24779         * charmaps/ISO_5427-EXT: Likewise.
24780         * locales/POSIX: Likewise.
24781         * locales/ar_SA: Likewise.
24782         * locales/be_BY: Likewise.
24783         * locales/be_BY@latin: Likewise.
24784         * locales/ca_ES: Likewise.
24785         * locales/cs_CZ: Likewise.
24786         * locales/da_DK: Likewise.
24787         * locales/de_BE: Likewise.
24788         * locales/de_CH: Likewise.
24789         * locales/de_LU: Likewise.
24790         * locales/en_AU: Likewise.
24791         * locales/en_BW: Likewise.
24792         * locales/en_CA: Likewise.
24793         * locales/en_DK: Likewise.
24794         * locales/en_GB: Likewise.
24795         * locales/en_IE: Likewise.
24796         * locales/en_NZ: Likewise.
24797         * locales/en_ZA: Likewise.
24798         * locales/en_ZW: Likewise.
24799         * locales/es_AR: Likewise.
24800         * locales/es_BO: Likewise.
24801         * locales/es_CL: Likewise.
24802         * locales/es_CO: Likewise.
24803         * locales/es_DO: Likewise.
24804         * locales/es_EC: Likewise.
24805         * locales/es_ES: Likewise.
24806         * locales/es_HN: Likewise.
24807         * locales/es_MX: Likewise.
24808         * locales/es_PA: Likewise.
24809         * locales/es_PE: Likewise.
24810         * locales/es_PY: Likewise.
24811         * locales/es_SV: Likewise.
24812         * locales/es_US: Likewise.
24813         * locales/es_UY: Likewise.
24814         * locales/es_VE: Likewise.
24815         * locales/et_EE: Likewise.
24816         * locales/fa_IR: Likewise.
24817         * locales/fo_FO: Likewise.
24818         * locales/fr_CA: Likewise.
24819         * locales/fr_CH: Likewise.
24820         * locales/gv_GB: Likewise.
24821         * locales/he_IL: Likewise.
24822         * locales/hr_HR: Likewise.
24823         * locales/id_ID: Likewise.
24824         * locales/is_IS: Likewise.
24825         * locales/it_CH: Likewise.
24826         * locales/iw_IL: Likewise.
24827         * locales/kl_GL: Likewise.
24828         * locales/ko_KR: Likewise.
24829         * locales/kw_GB: Likewise.
24830         * locales/lg_UG: Likewise.
24831         * locales/lt_LT: Likewise.
24832         * locales/lv_LV: Likewise.
24833         * locales/mi_NZ: Likewise.
24834         * locales/nhn_MX: Likewise.
24835         * locales/nl_BE: Likewise.
24836         * locales/pl_PL: Likewise.
24837         * locales/sk_SK: Likewise.
24838         * locales/sl_SI: Likewise.
24839         * locales/sv_FI: Likewise.
24840         * locales/tl_PH: Likewise.
24841         * locales/tr_TR: Likewise.
24842         * locales/vi_VN: Likewise.
24844 2015-07-21  Khem Raj  <raj.khem@gmail.com>
24846         [BZ #17475]
24847         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
24848         of tu_IN and bh_IN.
24850 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
24852         [BZ #18694]
24853         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
24854         bits/wordsize.h.
24855         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
24857 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24859         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
24860         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
24861         (spawn_thread): New function.
24862         (load): Rename to reg_dtor_and_close.  Move dlopen to...
24863         (do_test): ... here.  Use IS_LOADED to test for its
24864         availability.
24866 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
24868         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24870 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
24872         [BZ #18696]
24873         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
24874         si_addr_bnd.
24875         (si_lower): New.
24876         (si_upper): Likewise.
24878 2015-07-16  David S. Miller  <davem@davemloft.net>
24880         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
24882 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24884         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
24885         buffer.
24886         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
24887         fail output information.
24889 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
24892         and strstr-ppc64..
24893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24894         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
24895         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
24896         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
24897         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
24899 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
24901         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
24902         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24903         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
24904         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24906 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
24908         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24909         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
24910         rtld_hidden_proto.
24911         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
24913 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24915         * tst-nodelete-opened.c (do_test): Add comment to clarify how
24916         the test can fail.
24918         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
24920         [BZ #18676]
24921         * elf/tst-nodelete-opened.c: New test case.
24922         * elf/tst-nodelete-opened-lib.c: New test case module.
24923         * elf/Makefile (tests, modules-names): Use them.
24924         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
24925         early.
24927 2015-07-15  David S. Miller  <davem@davemloft.net>
24929         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
24930         futex-intenal.h
24931         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
24932         * sysdeps/sparc/sparc64/Makefile: Likewise.
24933         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24934         Remove space from macro define.
24935         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
24937 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
24939         [BZ #17475]
24940         * locale/iso-639.def: Update Bhili and Tulu language codes as
24941         per iso639-3.
24943 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
24945         * elf/tst-leaks1.c (main): Converted to ...
24946         (do_test): ... this.
24947         (TEST_FUNCTION): New macro.
24948         Include test-skeleton.c.
24949         * localedata/tst-langinfo.c (main): Converted to ...
24950         (do_test): ... this.
24951         (TEST_FUNCTION): New macro.
24952         Include test-skeleton.c.
24953         * math/test-fpucw.c (main): Converted to ...
24954         (do_test): ... this.
24955         (TEST_FUNCTION): New macro.
24956         Include test-skeleton.c.
24957         * math/test-tgmath.c (main): Converted to ...
24958         (do_test): ... this.
24959         (TEST_FUNCTION): New macro.
24960         Include test-skeleton.c.
24961         * math/test-tgmath2.c (main): Converted to ...
24962         (do_test): ... this.
24963         (TEST_FUNCTION): New macro.
24964         Include test-skeleton.c.
24965         * setjmp/tst-setjmp.c (main): Converted to ...
24966         (do_test): ... this.
24967         (TEST_FUNCTION): New macro.
24968         Include test-skeleton.c.
24969         * stdio-common/tst-sscanf.c (main): Converted to ...
24970         (do_test): ... this.
24971         (TEST_FUNCTION): New macro.
24972         Include test-skeleton.c.
24973         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
24974         (do_test): ... this.
24975         (TEST_FUNCTION): New macro.
24976         Include test-skeleton.c.
24978         * elf/tst-audit9.c (main): Converted to ...
24979         (do_test): ... this.
24980         (TEST_FUNCTION): New macro.
24981         Include test-skeleton.c.
24983 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
24985         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
24987 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24989         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
24990         New variable.
24992 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24994         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24996 2015-07-14  Roland McGrath  <roland@hack.frob.com>
24998         * sysdeps/generic/dl-fileid.h: New file.
24999         * sysdeps/posix/dl-fileid.h: New file.
25000         * sysdeps/nacl/dl-fileid.h: New file.
25001         * include/link.h: Include <dl-fileid.h>.
25002         (struct link_map): Replace l_dev and l_ino with l_file_id.
25003         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
25004         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
25005         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
25007 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25009         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
25011 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25013         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
25014         Add iff $CXX is set.
25015         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
25016         Likewise.
25017         (tst-nodelete-zmodiff): Likewise.
25018         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
25020 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25022         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
25024 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25026         * sysdeps/aarch64/fpu/math_private.h
25027         (define math_opt_barrier): Add AArch64 version.
25028         (math_force_eval): Likewise.
25030 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25032         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
25034 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
25036         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
25037         %ld with %jd and cast to intmax_t.
25038         (do_test_length_zero): Likewise.
25040 2015-07-10  Roland McGrath  <roland@hack.frob.com>
25042         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
25044 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
25046         * sysdeps/tile/libm-test-ulps: Regenerated.
25048         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
25049         Comment out the whole function, not just its body.
25051 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25053         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25054         locks.
25056         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25058 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25060         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25061         (sem_assume_only_signals_cause_futex_EINTR): Remove.
25063 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25065         * sysdeps/nptl/futex-internal.h: New file.
25066         * sysdeps/nacl/futex-internal.h: New file.
25067         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25068         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25069         error checking.
25070         (setxid_unmark_thread): Likewise.
25071         (__nptl_setxid): Likewise.
25072         (__wait_lookup_done): Likewise.
25073         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25074         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25075         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25076         * nptl/pthread_once.c (clear_once_control): Likewise.
25077         (__pthread_once_slow): Likewise.
25078         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25079         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25080         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25081         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25082         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25083         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25084         Likewise.
25085         (__pthread_rwlock_rdlock): Likewise.
25086         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25087         Likewise.
25088         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25089         Likewise.
25090         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25091         Likewise.
25092         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25093         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25094         Likewise.
25095         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25096         __ASSUME_PRIVATE_FUTEX check.
25097         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25098         Check that shared futexes are supported.
25099         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25100         wrappers with error checking.
25101         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25102         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25103         * nptl/pthread_barrierattr_setpshared.c
25104         (pthread_barrierattr_setpshared): Check that shared futexes are
25105         supported.
25106         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25107         Likewise.
25108         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25109         Likewise.
25110         * nptl/sem_init.c (futex_private_if_supported): Remove.
25111         (__new_sem_init): Adapt and check that shared futexes are supported.
25112         * nptl/sem_open.c (sem_open): Likewise.
25113         * nptl/sem_post.c (futex_wake): Remove.
25114         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25115         (do_futex_wait): Use futex wrappers with error checking.
25116         * nptl/sem_wait.c: Include lowlevellock.h.
25117         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25118         Use futex_supports_pshared.
25119         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25120         Use futex wrappers with error checking.
25121         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25122         Likewise.
25123         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25124         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25125         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25126         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25127         (futex_wake): Likewise.
25128         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25129         (do_futex_wait): Use futex wrappers with error checking.
25130         (__new_sem_wait_slow): Update EINTR handling.
25131         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25133 2015-07-09  Martin Sebor  <msebor@redhat.com>
25135         [BZ #18435]
25136         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25137         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25138         * nptl/Makefile (test-xfail-tst-once5): Define.
25140 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25142         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25143         * elf/dl-minimal.c: For readability, reorder some definitions and
25144         introduce more page breaks.  Include <stdio.h>.
25145         (__libc_fatal): New function.
25147         * include/unistd.h: Add rtld_hidden_proto for _exit.
25148         * posix/_exit.c: Add rtld_hidden_def.
25149         * sysdeps/mach/hurd/_exit.c: Likewise.
25150         * sysdeps/nacl/_exit.c: Likewise.
25151         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25152         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25154 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25156         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25157         bndmov encoding with zero displacement.
25159 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25160             H.J. Lu  <hongjiu.lu@intel.com>
25162         [BZ #18134]
25163         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25164         * sysdeps/i386/configure: Regenerated.
25165         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25166         (_dl_runtime_profile): Save and restore Intel MPX return bound
25167         registers when calling _dl_call_pltexit.  Add
25168         PRESERVE_BND_REGS_PREFIX before return.
25169         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25170         (LRV_BND1_OFFSET): Likewise.
25171         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25172         lrv_bnd1.
25173         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25174         typo in bndmov encoding.
25175         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25176         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25177         branch instructions to preserve bounds.
25179 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25182         [GLIBC_2.22]: Add fmemopen.
25184 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25186         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25187         returns an error, also try to use host port from __mach_host_self for
25188         the __vm_wire call.
25189         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25191 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25193         [BZ #18400]
25194         [BZ #18648]
25195         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25196         Fix pr_uid and pr_gid members.
25197         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25198         definition to elf_greg_t.
25200 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25202         [BZ #18383]
25203         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25204         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25205         * sysdeps/arm/configure: Regenerated.
25206         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25207         (test-xfail-tst-tlsalign-static): Variable removed.
25209         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25210         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25211         rather than explicit 'ln -s'.
25213         * resolv/rpc/netdb.h: New file.
25214         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25216 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25218         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25219         length buffers.
25220         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25221         test-skeleton.c.
25223         [BZ #6544]
25224         [BZ #11216]
25225         [BZ #12836]
25226         [BZ #13151]
25227         [BZ #13152]
25228         [BZ #14292]
25229         * include/stdio.h (fmemopen): Remove hidden prototype.
25230         (__fmemopen): Add new hidden prototype.
25231         * libio/Makefile: Add oldfmemopen object.
25232         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25233         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25234         compliance.
25235         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25236         symbol compatibility.
25237         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25238         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25239         fmemopen.
25240         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25241         on append and read mode.
25242         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25243         fmemopen.
25244         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25245         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25246         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25247         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25248         Likewise.
25249         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25250         [GLIBC_2.22]: Likewise.
25251         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25252         Likewise.
25253         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25254         Likewise.
25255         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25256         [GLIBC_2.22]: Likewise.
25257         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25258         [GLIBC_2.22]: Likewise.
25259         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25260         [GLIBC_2.22]: Likewise.
25261         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25262         [GLIBC_2.22]: Likewise.
25263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25264         [GLIBC_2.22]: Likewise.
25265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25266         [GLIBC_2.22]: Likewise.
25267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25268         [GLIBC_2.22]: Likewise.
25269         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25270         Likewise.
25271         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25272         Likewise.
25273         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25274         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25275         [GLIBC_2.22]: Likewise.
25276         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25277         [GLIBC_2.22]: Likewise.
25278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25279         [GLIBC_2.22]: Likewise.
25280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25281         [GLIBC_2.22]: Likewise.
25282         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25283         Likewise.
25284         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25285         Likewise.
25286         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25287         Likewise.
25288         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25289         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25291 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25293         [BZ #18643]
25294         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25295         IPV6_PATHMTU, and IPV6_DONTFRAG.
25297 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25299         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25300         and _IO_UNBUFFERED.
25301         * libio/oldfileops.c: Likewise.
25302         * libio/wfileops.c: Likewise.
25304 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25306         * nscd/selinux.c: Delete selinux/flask.h include.
25308 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25310         [BZ #18641]
25311         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25312         (putpwent): Likewise.
25313         (getpwnam): Likewise.
25314         (getpwent_r): Likewise.
25315         (getpwuid_r): Likewise.
25316         (getpwnam_r): Likewise.
25317         (fgetpwent_r): Likewise.
25319 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25321         [BZ #18557]
25322         * inet/rcmd.c (__validuser2_sa): Check user first to
25323         short-circuit host check.
25325 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25326             Mikhail Ilin  <m.ilin@samsung.com>
25328         [BZ #17833]
25329         * elf/Makefile (tests): Add tst-nodelete.
25330         (modules-names): Add tst-nodelete-uniquemod.
25331         (tst-nodelete-uniquemod.so-no-z-defs): New.
25332         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25333         (tst-nodelete-zmod.so-no-z-defs): Likewise.
25334         ($(objpfx)tst-nodelete): Likewise.
25335         ($(objpfx)tst-nodelete.out): Likewise.
25336         (LDFLAGS-tst-nodelete): Likewise.
25337         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25338         * elf/dl-close.c (_dl_close_worker): Add a parameter to
25339         implement forced object deletion.
25340         (_dl_close): Pass false to _dl_close_worker.
25341         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25342         * elf/tst-nodelete.cc: New file.
25343         * elf/tst-nodeletelib.cc: Likewise.
25344         * elf/tst-znodeletelib.cc: Likewise.
25345         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25347 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25349         [BZ #18508]
25350         * stdlib/Makefile ($(objpfx)tst-makecontext3):
25351         Depend on $(libdl).
25352         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25353         is not called infinitely times.
25354         (backtrace_helper): New function.
25355         (trace_arg): New struct.
25356         (st1): Enlarge stack size.
25357         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25358         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25359         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25360         Likewise.
25362 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25364         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25366 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25368         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
25369         Include sys/types.h instead of bits/types.h.
25370         Remove inclusion of bits/wordsize.h.
25372 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25374         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
25375         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
25376         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
25377         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
25378         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
25379         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
25381 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25383         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
25384         link-defines.sym.
25385         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
25386         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
25387         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
25388         and LR_SIZE.
25389         * sysdeps/i386/link-defines.sym: New file.
25391 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25393         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
25394         (modules-names): Add tst-auditmod3a tst-auditmod3b.
25395         ($(objpfx)tst-audit3): New rule.
25396         ($(objpfx)tst-audit3.out): Likewise.
25397         * sysdeps/i386/tst-audit3.c: New file.
25398         * sysdeps/i386/tst-audit3.h: Likewise.
25399         * sysdeps/i386/tst-auditmod3a.c: Likewise.
25400         * sysdeps/i386/tst-auditmod3b.c: Likewise.
25402 2015-07-07  Torvald Riegel  <triegel@redhat.com>
25404         [BZ #18633]
25405         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
25406         pointer in C code.
25407         (__strcat_c): Likewise.
25408         (__strcat_g): Likewise.
25410 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
25412         [BZ #18592]
25413         * misc/sbrk.c: Set errno to ENOMEM on overflow.
25415 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25417         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
25418         New function.  (__ieee754_sqrtf): New function.
25419         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
25420         New function.
25421         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
25422         New function.
25424 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25426         * sysdeps/ieee754/support.c: Remove unused file.
25428 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25430         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
25431         registers instead of d ones so the layout is kernel abi compatible.
25432         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
25433         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
25434         Likewise.
25436 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25438         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25440 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25442         [BZ #18619]
25443         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
25444         and return argument in case of subnormal argument.
25446 2015-07-01  Martin Sebor  <msebor@redhat.com>
25448         [BZ #18435]
25449         * nptl/Makefile: Add tst-once5.cc.
25450         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25451         Remove macro redefinitions.
25452         * nptl/tst-once5.cc: New test.
25454 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25456         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25458         * sysdeps/arm/libm-test-ulps: Regenerated.
25460         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25461         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25463 2015-06-30  Torvald Riegel  <triegel@redhat.com>
25465         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
25466         lll_lock_wait_private and lll_futex_wake probes.
25468         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25469         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
25470         Likewise.
25471         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
25472         atomic_spin_nop.
25473         * sysdeps/x86_64/bits/atomic.h: Likewise.
25474         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
25475         to atomic_spin_nop and move ...
25476         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25477         ... here and ...
25478         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
25479         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
25480         atomic_spin_nop instead of BUSY_WAIT_NOP.
25481         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
25482         Likewise.
25483         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
25484         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25485         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
25486         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
25487         instead of atomic_delay.
25489 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
25491         [BZ #18613]
25492         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
25493         X_ADJ not X when adjusting exponent.
25494         (__ieee754_gamma_r): Do intermediate computations in
25495         round-to-nearest then adjust overflowing and underflowing results
25496         as needed.
25497         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
25498         of X_ADJ not X when adjusting exponent.
25499         (__ieee754_gammaf_r): Do intermediate computations in
25500         round-to-nearest then adjust overflowing and underflowing results
25501         as needed.
25502         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
25503         log of X_ADJ not X when adjusting exponent.
25504         (__ieee754_gammal_r): Do intermediate computations in
25505         round-to-nearest then adjust overflowing and underflowing results
25506         as needed.  Use 1.0L not 1.0f as numerator of division.
25507         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
25508         log of X_ADJ not X when adjusting exponent.
25509         (__ieee754_gammal_r): Do intermediate computations in
25510         round-to-nearest then adjust overflowing and underflowing results
25511         as needed.  Use 1.0L not 1.0f as numerator of division.
25512         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
25513         of X_ADJ not X when adjusting exponent.
25514         (__ieee754_gammal_r): Do intermediate computations in
25515         round-to-nearest then adjust overflowing and underflowing results
25516         as needed.  Use 1.0L not 1.0f as numerator of division.
25517         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
25518         to auto-libm-test-in.
25519         (tgamma_test): Use ALL_RM_TEST.
25520         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
25521         tests of tgamma with spurious-overflow.
25522         * math/auto-libm-test-out: Regenerated.
25523         * math/gen-libm-have-vector-test.sh: Do not check for START.
25524         * sysdeps/i386/fpu/libm-test-ulps: Update.
25525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25527         [BZ #18612]
25528         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
25529         arguments, just return 0.5 times the argument, with underflow
25530         forced as needed.
25531         * math/auto-libm-test-in: Add more tests of j1.
25532         * math/auto-libm-test-out: Regenerated.
25534         [BZ #16559]
25535         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
25536         (__ieee754_j1): Force underflow exception for small results.
25537         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25538         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
25539         (__ieee754_j1f): Force underflow exception for small results.
25540         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25541         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25543         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
25544         (__ieee754_j1l): Force underflow exception for small results.
25545         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25546         * math/auto-libm-test-in: Add more tests of j1 and jn.
25547         * math/auto-libm-test-out: Regenerated.
25549         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
25550         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
25551         (PF_MPLS): Likewise.
25552         (AF_IB): Likewise.
25553         (AF_MPLS): Likewise.
25554         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
25555         value and macro.
25556         (MS_RMT_MASK): Include MS_LAZYTIME.
25558 2015-06-26  Mel Gorman  <mgorman@suse.de>
25560         [BZ #18502]
25561         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
25562         already minimal.
25564 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
25566         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
25567         (DT_MIPS_NUM): Update.
25568         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
25569         DT_MIPS_RLD_MAP_REL.
25571 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
25573         [BZ #16559]
25574         [BZ #18602]
25575         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
25576         round-to-nearest internally then recompute results that
25577         underflowed to zero in the original rounding mode.
25578         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25579         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25580         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25581         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25582         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
25583         * sysdeps/i386/fpu/libm-test-ulps: Update.
25584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25586 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25588         * NEWS: Fixed description of link with vector math library.
25590 2015-06-25  Andreas Schwab  <schwab@suse.de>
25592         [BZ #18549]
25593         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
25594         * libio/test-fmemopen.c (do_test): Add test for it.
25596 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
25598         [BZ #17841]
25599         * Makeconfig (no-pie-ldflag): New.
25600         (+link): Set to $(+link-pie) if default to PIE.
25601         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
25602         * config.make.in (build-pie-default): New.
25603         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
25604         is default.  AC_SUBST.
25605         * configure: Regenerated.
25606         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
25608 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25610         * nptl/descr.h (struct pthread): Change type of field setxid_futex
25611         to 'unsigned int'.
25613         * resolv/gai_misc.h (struct waitlist): Change type of field
25614         counterp to 'volatile unsigned int *'.
25615         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
25616         FUTEXADDR and OLDVAL.
25617         * resolv/getaddrinfo_a.c (getaddrinfo_a):
25618         Give local variable TOTAL type 'volatile unsigned int'.
25619         (struct async_waitlist): Change type of field counter to 'unsigned int'.
25620         * resolv/gai_suspend.c (gai_suspend):
25621         Give local variable CNTR type 'unsigned int'.
25623         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
25624         counterp to 'volatile unsigned int *'.
25625         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
25626         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
25627         (aio_suspend): Give local variable CNTR type 'unsigned int'.
25628         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
25629         Give local variable TOTAL type 'volatile unsigned int'.
25630         (struct async_waitlist): Change type of field counter to 'unsigned int'.
25632 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25634         [BZ #18383]
25635         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
25636         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
25637         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
25638         comment for i386/x86-64.
25639         (test-xfail-tst-tlsalign-extern-static): Removed.
25641 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25643         * math/test-double.h: New file.
25644         * math/test-float.h: Likewise.
25645         * math/test-ldouble.h: Likewise.
25646         * math/test-math-inline.h: Likewise.
25647         * math/test-math-no-inline.h: Likewise.
25648         * math/test-math-scalar.h: Likewise.
25649         * math/test-math-vector.h: Likewise.
25650         * math/test-vec-loop.h: Remove file.  Contents moved into
25651         test-math-vector.h.
25652         * math/libm-test.inc (MATHCONST): Do not document macro.
25653         * math/test-double.c: Include test-double.h, test-math-no-inline.h
25654         and test-math-scalar.h.
25655         (FUNC): Remove macro.
25656         (FUNC_TEST): Likewise.
25657         (FLOAT): Likewise.
25658         (MATHCONST): Likewise.
25659         (PRINTF_EXPR): Likewise.
25660         (PRINTF_XEXPR): Likewise.
25661         (PRINTF_NEXPR): Likewise.
25662         (TEST_DOUBLE): Likewise.
25663         (TEST_MATHVEC): Likewise.
25664         (__NO_MATH_INLINES): Likewise.
25665         * math/test-float.c: Include test-float.h, test-math-no-inline.h
25666         and test-math-scalar.h.
25667         (FUNC): Remove macro.
25668         (FUNC_TEST): Likewise.
25669         (FLOAT): Likewise.
25670         (MATHCONST): Likewise.
25671         (PRINTF_EXPR): Likewise.
25672         (PRINTF_XEXPR): Likewise.
25673         (PRINTF_NEXPR): Likewise.
25674         (TEST_FLOAT): Likewise.
25675         (TEST_MATHVEC): Likewise.
25676         (__NO_MATH_INLINES): Likewise.
25677         * math/test-idouble.c: Include test-double.h, test-math-inline.h
25678         and test-math-scalar.h.
25679         (FUNC): Remove macro.
25680         (FUNC_TEST): Likewise.
25681         (FLOAT): Likewise.
25682         (MATHCONST): Likewise.
25683         (PRINTF_EXPR): Likewise.
25684         (PRINTF_XEXPR): Likewise.
25685         (PRINTF_NEXPR): Likewise.
25686         (TEST_DOUBLE): Likewise.
25687         (TEST_MATHVEC): Likewise.
25688         (TEST_INLINE): Likewise.
25689         (__NO_MATH_INLINES): Likewise.
25690         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
25691         test-math-scalar.h.
25692         (FUNC): Remove macro.
25693         (FUNC_TEST): Likewise.
25694         (FLOAT): Likewise.
25695         (MATHCONST): Likewise.
25696         (PRINTF_EXPR): Likewise.
25697         (PRINTF_XEXPR): Likewise.
25698         (PRINTF_NEXPR): Likewise.
25699         (TEST_FLOAT): Likewise.
25700         (TEST_MATHVEC): Likewise.
25701         (TEST_INLINE): Likewise.
25702         (__NO_MATH_INLINES): Likewise.
25703         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
25704         and test-math-scalar.h.
25705         (FUNC): Remove macro.
25706         (FUNC_TEST): Likewise.
25707         (FLOAT): Likewise.
25708         (MATHCONST): Likewise.
25709         (PRINTF_EXPR): Likewise.
25710         (PRINTF_XEXPR): Likewise.
25711         (PRINTF_NEXPR): Likewise.
25712         (TEST_LDOUBLE): Likewise.
25713         (TEST_MATHVEC): Likewise.
25714         (TEST_INLINE): Likewise.
25715         (__NO_MATH_INLINES): Likewise.
25716         * math/test-ldouble.c: Include test-ldouble.h,
25717         test-math-no-inline.h and test-math-scalar.h.
25718         (FUNC): Remove macro.
25719         (FUNC_TEST): Likewise.
25720         (FLOAT): Likewise.
25721         (MATHCONST): Likewise.
25722         (PRINTF_EXPR): Likewise.
25723         (PRINTF_XEXPR): Likewise.
25724         (PRINTF_NEXPR): Likewise.
25725         (TEST_LDOUBLE): Likewise.
25726         (TEST_MATHVEC): Likewise.
25727         (__NO_MATH_INLINES): Likewise.
25728         * math/test-double-vlen2.h: Include test-double.h,
25729         test-math-no-inline.h and test-math-vector.h.
25730         (FLOAT): Remove macro.
25731         (FUNC): Likewise.
25732         (MATHCONST): Likewise.
25733         (PRINTF_EXPR): Likewise.
25734         (PRINTF_XEXPR): Likewise.
25735         (PRINTF_NEXPR): Likewise.
25736         (TEST_DOUBLE): Likewise.
25737         (TEST_MATHVEC): Likewise.
25738         (__NO_MATH_INLINES): Likewise.
25739         (CNCT): Likewise.
25740         (CONCAT): Likewise.
25741         (WRAPPER_NAME): Likewise.
25742         (WRAPPER_DECL): Likewise.
25743         (WRAPPER_DECL_ff): Likewise.
25744         (WRAPPER_DECL_fFF): Likewise.
25745         (VECTOR_WRAPPER): Likewise.
25746         (VECTOR_WRAPPER_ff): Likewise.
25747         (VECTOR_WRAPPER_fFF): Likewise.
25748         (VEC_LEN): New macro.
25749         * math/test-double-vlen4.h: Include test-double.h,
25750         test-math-no-inline.h and test-math-vector.h.
25751         (FLOAT): Remove macro.
25752         (FUNC): Likewise.
25753         (MATHCONST): Likewise.
25754         (PRINTF_EXPR): Likewise.
25755         (PRINTF_XEXPR): Likewise.
25756         (PRINTF_NEXPR): Likewise.
25757         (TEST_DOUBLE): Likewise.
25758         (TEST_MATHVEC): Likewise.
25759         (__NO_MATH_INLINES): Likewise.
25760         (CNCT): Likewise.
25761         (CONCAT): Likewise.
25762         (WRAPPER_NAME): Likewise.
25763         (WRAPPER_DECL): Likewise.
25764         (WRAPPER_DECL_ff): Likewise.
25765         (WRAPPER_DECL_fFF): Likewise.
25766         (VECTOR_WRAPPER): Likewise.
25767         (VECTOR_WRAPPER_ff): Likewise.
25768         (VECTOR_WRAPPER_fFF): Likewise.
25769         (VEC_LEN): New macro.
25770         * math/test-double-vlen8.h: Include test-double.h,
25771         test-math-no-inline.h and test-math-vector.h.
25772         (FLOAT): Remove macro.
25773         (FUNC): Likewise.
25774         (MATHCONST): Likewise.
25775         (PRINTF_EXPR): Likewise.
25776         (PRINTF_XEXPR): Likewise.
25777         (PRINTF_NEXPR): Likewise.
25778         (TEST_DOUBLE): Likewise.
25779         (TEST_MATHVEC): Likewise.
25780         (__NO_MATH_INLINES): Likewise.
25781         (CNCT): Likewise.
25782         (CONCAT): Likewise.
25783         (WRAPPER_NAME): Likewise.
25784         (WRAPPER_DECL): Likewise.
25785         (WRAPPER_DECL_ff): Likewise.
25786         (WRAPPER_DECL_fFF): Likewise.
25787         (VECTOR_WRAPPER): Likewise.
25788         (VECTOR_WRAPPER_ff): Likewise.
25789         (VECTOR_WRAPPER_fFF): Likewise.
25790         (VEC_LEN): New macro.
25791         * math/test-float-vlen4.h: Include test-float.h,
25792         test-math-no-inline.h and test-math-vector.h.
25793         (FLOAT): Remove macro.
25794         (FUNC): Likewise.
25795         (MATHCONST): Likewise.
25796         (PRINTF_EXPR): Likewise.
25797         (PRINTF_XEXPR): Likewise.
25798         (PRINTF_NEXPR): Likewise.
25799         (TEST_FLOAT): Likewise.
25800         (TEST_MATHVEC): Likewise.
25801         (__NO_MATH_INLINES): Likewise.
25802         (CNCT): Likewise.
25803         (CONCAT): Likewise.
25804         (WRAPPER_NAME): Likewise.
25805         (WRAPPER_DECL): Likewise.
25806         (WRAPPER_DECL_ff): Likewise.
25807         (WRAPPER_DECL_fFF): Likewise.
25808         (VECTOR_WRAPPER): Likewise.
25809         (VECTOR_WRAPPER_ff): Likewise.
25810         (VECTOR_WRAPPER_fFF): Likewise.
25811         (VEC_LEN): New macro.
25812         * math/test-float-vlen8.h: Include test-float.h,
25813         test-math-no-inline.h and test-math-vector.h.
25814         (FLOAT): Remove macro.
25815         (FUNC): Likewise.
25816         (MATHCONST): Likewise.
25817         (PRINTF_EXPR): Likewise.
25818         (PRINTF_XEXPR): Likewise.
25819         (PRINTF_NEXPR): Likewise.
25820         (TEST_FLOAT): Likewise.
25821         (TEST_MATHVEC): Likewise.
25822         (__NO_MATH_INLINES): Likewise.
25823         (CNCT): Likewise.
25824         (CONCAT): Likewise.
25825         (WRAPPER_NAME): Likewise.
25826         (WRAPPER_DECL): Likewise.
25827         (WRAPPER_DECL_ff): Likewise.
25828         (WRAPPER_DECL_fFF): Likewise.
25829         (VECTOR_WRAPPER): Likewise.
25830         (VECTOR_WRAPPER_ff): Likewise.
25831         (VECTOR_WRAPPER_fFF): Likewise.
25832         (VEC_LEN): New macro.
25833         * math/test-float-vlen16.h: Include test-float.h,
25834         test-math-no-inline.h and test-math-vector.h.
25835         (FLOAT): Remove macro.
25836         (FUNC): Likewise.
25837         (MATHCONST): Likewise.
25838         (PRINTF_EXPR): Likewise.
25839         (PRINTF_XEXPR): Likewise.
25840         (PRINTF_NEXPR): Likewise.
25841         (TEST_FLOAT): Likewise.
25842         (TEST_MATHVEC): Likewise.
25843         (__NO_MATH_INLINES): Likewise.
25844         (CNCT): Likewise.
25845         (CONCAT): Likewise.
25846         (WRAPPER_NAME): Likewise.
25847         (WRAPPER_DECL): Likewise.
25848         (WRAPPER_DECL_ff): Likewise.
25849         (WRAPPER_DECL_fFF): Likewise.
25850         (VECTOR_WRAPPER): Likewise.
25851         (VECTOR_WRAPPER_ff): Likewise.
25852         (VECTOR_WRAPPER_fFF): Likewise.
25853         (VEC_LEN): New macro.
25854         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
25855         test-vec-loop.h.
25856         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25857         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25858         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25859         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25860         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25861         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25862         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25864 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25866         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
25867         (__getlogin_r): ... this.
25869 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25871         [BZ #18594]
25872         * math/s_ccosh.c (__ccosh): Compare with least normal value
25873         instead of comparing class with FP_SUBNORMAL.
25874         * math/s_ccoshf.c (__ccoshf): Likewise.
25875         * math/s_ccoshl.c (__ccoshl): Likewise.
25876         * math/s_cexp.c (__cexp): Likewise.
25877         * math/s_cexpf.c (__cexpf): Likewise.
25878         * math/s_cexpl.c (__cexpl): Likewise.
25879         * math/s_csin.c (__csin): Likewise.
25880         * math/s_csinf.c (__csinf): Likewise.
25881         * math/s_csinh.c (__csinh): Likewise.
25882         * math/s_csinhf.c (__csinhf): Likewise.
25883         * math/s_csinhl.c (__csinhl): Likewise.
25884         * math/s_csinl.c (__csinl): Likewise.
25885         * math/s_ctan.c (__ctan): Likewise.
25886         * math/s_ctanf.c (__ctanf): Likewise.
25887         * math/s_ctanh.c (__ctanh): Likewise.
25888         * math/s_ctanhf.c (__ctanhf): Likewise.
25889         * math/s_ctanhl.c (__ctanhl): Likewise.
25890         * math/s_ctanl.c (__ctanl): Likewise.
25891         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
25892         csin, csinh, ctan and ctanh.
25893         * math/auto-libm-test-out: Regenerated.
25894         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
25895         * sysdeps/i386/fpu/libm-test-ulps: Update.
25896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25898 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25900         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
25901         return value is wrong, print the expected value too.
25903 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25905         [BZ #18585]
25906         * elf/readlib.c (is_gdb_python_file): New.
25907         (process_file): Don't issue errors on filenames with -gdb.py
25908         suffix.
25910 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25912         * math/auto-libm-test-in: Add more tests of csin and csinh.
25913         * math/auto-libm-test-out: Regenerated.
25914         * math/libm-test.inc (csin_test_data): Remove tests moved to
25915         auto-libm-test-in.
25916         (csinh_test_data): Likewise.
25918         [BZ #18593]
25919         * math/s_csin.c (__csin): Negate before rather than after possibly
25920         overflowing multiplication.
25921         * math/s_csinf.c (__csinf): Likewise.
25922         * math/s_csinh.c (__csinh): Likewise.
25923         * math/s_csinhf.c (__csinhf): Likewise.
25924         * math/s_csinhl.c (__csinhl): Likewise.
25925         * math/s_csinl.c (__csinl): Likewise.
25926         * math/auto-libm-test-in: Add some tests of csin and csinh.
25927         * math/auto-libm-test-out: Regenerated.
25928         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
25929         (csinh_test_data): Likewise.
25930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25932         [BZ #18586]
25933         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
25934         underflow exception for small results.
25936 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25938         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25939         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
25940         variable and included header.
25941         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
25942         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
25943         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
25944         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
25945         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
25946         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
25947         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
25948         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
25949         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
25950         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
25951         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
25952         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
25953         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
25954         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
25955         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
25956         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
25958 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
25960         [BZ #16526]
25961         [BZ #16538]
25962         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
25963         (__sin): Force underflow exception for arguments with small
25964         absolute value.
25965         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
25966         (__kernel_sinf): Force underflow exception for arguments with
25967         small absolute value.
25968         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
25969         (__kernel_sincosl): Force underflow exception for arguments with
25970         small absolute value.
25971         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
25972         (__kernel_sinl): Force underflow exception for arguments with
25973         small absolute value.
25974         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
25975         (__kernel_sincosl): Force underflow exception for arguments with
25976         small absolute value.
25977         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
25978         (__kernel_sinl): Force underflow exception for arguments with
25979         small absolute value.
25980         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
25981         (__kernel_sinl): Force underflow exception for arguments with
25982         small absolute value.
25983         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
25984         (__kernel_sinf): Force underflow exception for arguments with
25985         small absolute value.
25986         * math/auto-libm-test-in: Add more tests of sin and sincos.
25987         * math/auto-libm-test-out: Regenerated.
25989         [BZ #18245]
25990         [BZ #18583]
25991         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
25992         (__kernel_standard_l): Use feholdexcept and fesetenv around
25993         conversion to double instead of special-casing overflow and
25994         underflow.
25995         * math/libm-test.inc (fmod_test_data): Add more tests.
25996         (remainder_test_data): Likewise.
25997         (sqrt_test_data): Likewise.
25999 2015-06-23  Torvald Riegel  <triegel@redhat.com>
26001         [BZ #17403]
26002         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
26003         atomic_read_barrier, atomic_write_barrier): Define.
26004         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
26005         atomic_read_barrier, atomic_write_barrier): Define.
26007 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26009         * math/Makefile [$(PERL) != no]
26010         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
26011         dependency on libm-test.stmp below the inclusion of Rules.
26013 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
26015         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26016         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
26017         and included header.
26018         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
26019         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
26020         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
26021         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
26022         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
26023         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
26024         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
26025         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
26026         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
26027         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
26028         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
26029         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
26030         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
26031         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
26032         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
26033         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
26034         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
26035         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
26036         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
26038 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26040         [BZ #18371]
26041         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
26042         intermediate but not final result might underflow.
26043         * math/s_csqrtf.c (__csqrtf): Likewise.
26044         * math/s_csqrtl.c (__csqrtl): Likewise.
26045         * math/auto-libm-test-in: Add more tests of csqrt.
26046         * math/auto-libm-test-out: Regenerated.
26047         * sysdeps/i386/fpu/libm-test-ulps: Update.
26049         [BZ #18219]
26050         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26051         threshold on absolute value of exponent for which scaling is used.
26052         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26053         * math/auto-libm-test-in: Add more tests of exp2.
26054         * math/auto-libm-test-out: Regenerated.
26056 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
26058         [BZ #17977]
26059         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26060         when initializing interface list, based on the bug analysis
26061         and the patch proposed by Eric Newton.
26062         * resolv/tst-res_hconf_reorder.c: New test.
26063         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26064         tst-res_hconf_reorder.
26065         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26066         and $(shared-thread-library).
26067         (tst-res_hconf_reorder-ENV): New variable.
26069         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26070         in comment.
26072 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26074         [BZ #16353]
26075         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26076         (__expm1): Force underflow exception for arguments with small
26077         absolute value.
26078         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26079         (__expm1f): Force underflow exception for arguments with small
26080         absolute value.
26081         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26082         (__expm1): Force underflow exception for arguments with small
26083         absolute value.
26084         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26085         (__expm1f): Force underflow exception for arguments with small
26086         absolute value.
26087         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26088         Check for small arguments before calling __expm1.
26089         * math/auto-libm-test-in: Do not mark underflow exceptions as
26090         possibly missing for bug 16353.
26091         * math/auto-libm-test-out: Regenerated.
26093 2015-06-22  Andreas Schwab  <schwab@suse.de>
26095         [BZ #18513]
26096         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26097         PTR queries.
26099 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26101         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26103         * string/strcoll_l.c: Remove unused struct element idxnow.
26105 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26107         [BZ #18569]
26108         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26109         underflow and return argument in case of subnormal argument.
26110         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26111         Likewise.
26112         * math/auto-libm-test-in: Add more tests of expm1.
26113         * math/auto-libm-test-out: Regenerated.
26115         [BZ #16361]
26116         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26117         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26118         tiny results.
26119         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26120         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26121         tiny results.
26122         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26123         mark underflow exceptions as possibly missing for bug 16361.
26124         * math/auto-libm-test-out: Regenerated.
26126 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26128         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26129         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26130         Remove variable.
26131         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26132         (test-xfail-XOPEN2K8/utmpx.h/conform).
26134         * conform/conformtest.pl ($xerrors): New variable.
26135         (note_error): New function.
26136         (compiletest): New argument $xfail.  Use not_error.
26137         (runtest): Likewise.
26138         (top level): Handle xfail- lines.  Update calls to compiletest and
26139         runtest.  Handle xfail- and optional- in headers listed with
26140         allow-header.
26141         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26142         (O_EXEC): Likewise.
26143         (O_SEARCH): Likewise.
26144         * conform/data/stropts.h-data (ioctl): Likewise.
26145         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26146         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26147         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26148         (msghdr.msg_controllen): Likewise.
26149         (cmsghdr.cmsg_len): Likewise.
26150         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26151         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26152         variable.
26153         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26154         (test-xfail-XPG4/stropts.h/conform): Likewise.
26155         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26156         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26157         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26158         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26159         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26160         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26161         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26162         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26163         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26164         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26165         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26166         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26167         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26168         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26169         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26170         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26171         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26172         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26173         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26175 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26177         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26178         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26179         definitions for proper unfolding of __MATHDECL_VEC.
26181 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26183         * benchtests/bench-strcoll.c:
26184         Include string.h.
26185         (main): Remove unused variable res.
26187 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26189         * timezone/Makefile (%/UTC %/Universal):
26190         Generate test-result files for UTC and Universal.
26192 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26194         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26196 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26198         [BZ #16350]
26199         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26200         for arguments with small absolute value.
26201         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26202         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26203         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26204         (__asinh): Force underflow exception for arguments with small
26205         absolute value.
26206         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26207         (__asinhf): Force underflow exception for arguments with small
26208         absolute value.
26209         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26210         (__asinhl): Force underflow exception for arguments with small
26211         absolute value.
26212         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26213         (__asinhl): Force underflow exception for arguments with small
26214         absolute value.
26215         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26216         (__asinhl): Force underflow exception for arguments with small
26217         absolute value.
26218         * math/auto-libm-test-in: Do not mark underflow exceptions as
26219         possibly missing for bug 16350.
26220         * math/auto-libm-test-out: Regenerated.
26222         * include/bits/ipc.h: Remove file.
26223         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26224         variable.
26225         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26226         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26227         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26228         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26229         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26230         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26231         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26232         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26233         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26235         * math/auto-libm-test-in: Remove spurious underflow allowance for
26236         tests of cexp.
26237         * math/auto-libm-test-out: Regenerated.
26239         [BZ #18558]
26240         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26241         unconditional definition.
26242         (MCAST_BLOCK_SOURCE): Likewise.
26243         (MCAST_UNBLOCK_SOURCE): Likewise.
26244         (MCAST_LEAVE_GROUP): Likewise.
26245         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26246         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26247         (MCAST_MSFILTER): Likewise.
26248         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26249         Remove variable.
26250         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26251         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26252         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26253         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26254         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26256 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26258         * NEWS: Mention addition of x86_64 vector sincosf.
26259         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26260         * math/test-float-vlen4.h: Likewise.
26261         * math/test-float-vlen8.h: Likewise.
26262         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26263         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26264         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26265         * sysdeps/x86_64/fpu/Versions: New versions added.
26266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26267         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26268         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26269         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26270         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26271         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26272         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26273         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26274         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26275         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26276         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26277         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26278         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26279         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26280         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26281         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26282         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26283         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26284         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26285         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26286         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26287         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26288         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26289         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26291         * NEWS: Mention addition of x86_64 vector sincos.
26292         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26293         * math/math.h (__MATHDECL_VEC): New macro.
26294         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26295         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26296         declaration under condition.
26297         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26298         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26299         TEST_VEC_LOOP change.
26300         * math/test-double-vlen4.h: Likewise.
26301         * math/test-double-vlen8.h: Likewise.
26302         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26303         * math/test-float-vlen4.h: Likewise.
26304         * math/test-float-vlen8.h: Likewise.
26305         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26306         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26307         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26308         * sysdeps/x86_64/fpu/Versions: New versions added.
26309         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26310         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26311         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26313         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26314         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26315         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26316         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26317         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26318         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26319         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26320         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26321         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26322         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26323         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26324         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26325         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26326         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26327         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26328         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26329         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26330         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26331         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26332         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26334         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26335         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26336         redirections for powf.
26337         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26338         * sysdeps/x86_64/fpu/Versions: New versions added.
26339         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26340         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26341         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26342         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26343         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26344         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26349         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26350         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26351         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26352         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26353         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26354         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26355         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26356         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26357         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26358         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26359         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26360         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26361         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26362         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26363         * math/test-float-vlen16.h: Fixed 2 argument macro.
26364         * math/test-float-vlen4.h: Likewise.
26365         * math/test-float-vlen8.h: Likewise.
26366         * NEWS: Mention addition of x86_64 vector powf.
26368 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
26370         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26371         and redefine.
26372         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26373         and redefine.
26374         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
26375         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26376         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26378         [BZ #18553]
26379         * resource/getpriority.c (getpriority): Rename to __getpriority
26380         and define as weak alias of __getpriority.
26381         * resource/setpriority.c (setpriority): Rename to __setpriority
26382         and define as weak alias of __setpriority.
26383         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
26384         __getpriority and define as weak alias of __getpriority.
26385         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
26386         __setpriority and define as weak alias of __setpriority.
26387         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
26388         strong name.
26389         (setpriority): Use __setpriority as strong name.
26390         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
26391         __getpriority and define as weak alias of __getpriority.
26392         * include/sys/resource.h (__getpriority): Declare.  Use
26393         libc_hidden_proto.
26394         (__setpriority): Likewise.
26395         (getpriority): Don't use libc_hidden_proto.
26396         (setpriority): Likewise.
26397         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
26398         getpriority.  Call __setpriority instead of setpriority.
26399         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
26400         Remove variable.
26402         [BZ #18547]
26403         * misc/getttyent.c (getttynam): Rename to __getttynam and define
26404         as weak alias of __getttynam.  Use prototype function definition.
26405         Call __setttyent, __getttyent and __endttyent instead of
26406         setttyent, getttyent and endttyent.
26407         (getttyent): Rename to __getttyent and define as weak alias of
26408         __getttyent.  Call __setttyent instead of setttyent.  Call
26409         __fgets_unlocked instead of fgets_unlocked.
26410         (setttyent): Rename to __setttyent and define as weak alias of
26411         __setttyent.
26412         (endttyent): Rename to __endttyent and define as weak alias of
26413         __endttyent.
26414         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
26415         (__setttyent): Likewise.
26416         (__endttyent): Likewise.
26417         (getttyent): Don't use libc_hidden_proto.
26418         (setttyent): Likewise.
26419         (endttyent): Likewise.
26420         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
26421         __endttyent instead of setttyent, getttyent and endttyent.
26422         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
26423         Remove variable.
26425         [BZ #18546]
26426         * socket/recv.c (__recv): Use libc_hidden_def.
26427         * socket/socket.c (__socket): Likewise.
26428         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26429         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26430         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
26431         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
26432         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
26433         libc_hidden_def.
26434         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
26435         libc_hidden_weak.
26436         * include/sys/socket.h (__socket): Do not use attribute_hidden.
26437         Use libc_hidden_proto.
26438         (__recv): Likewise.
26439         * socket/Versions (libc): Export __recv and __socket at version
26440         GLIBC_PRIVATE.
26441         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
26442         instead of recv.
26443         (init_mq_netlink): Call __socket instead of socket.
26444         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
26445         Remove variable.
26447         [BZ #18545]
26448         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
26449         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
26450         hidden_weak.
26451         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
26452         define as alias of __mq_timedsend.  Use hidden_weak.
26453         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
26454         __mq_timedsend as strong name.
26455         (mq_timedreceive): Use __mq_timedreceive as strong name.
26456         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
26457         (__mq_timedreceive): Likewise.
26458         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
26459         __mq_timedreceive instead of mq_timedreceive.
26460         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
26461         instead of mq_timedsend.
26462         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
26463         Remove variable.
26465         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
26466         hidden_def and hidden_weak instead of libc_hidden_def and
26467         libc_hidden_weak.
26468         (top level): Refer to hidden_def in comment.
26469         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
26470         macro.  Use it instead of libc_hidden_def.
26471         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
26472         specify __GI_* name explicitly.
26473         (mq_timedreceive): Likewise.
26474         (mq_setattr): Likewise.
26476         [BZ #18544]
26477         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
26478         __pthread_barrier_init and define as weak alias of
26479         __pthread_barrier_init.
26480         * sysdeps/sparc/nptl/pthread_barrier_init.c
26481         (pthread_barrier_init): Likewise.
26482         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
26483         __pthread_barrier_wait and define as weak alias of
26484         __pthread_barrier_wait.
26485         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26486         (pthread_barrier_wait): Likewise.
26487         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26488         (pthread_barrier_wait): Likewise.
26489         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
26490         (pthread_barrier_wait): Likewise.
26491         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
26492         (pthread_barrier_wait): Likewise.
26493         * nptl/Versions (libpthread): Export __pthread_barrier_init and
26494         __pthread_barrier_wait at version GLIBC_PRIVATE.
26495         * include/pthread.h (__pthread_barrier_init): Declare.
26496         (__pthread_barrier_wait): Likewise.
26497         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
26498         Call __pthread_barrier_wait instead of pthread_barrier_wait.
26499         (helper_thread): Likewise.
26500         (init_mq_netlink): Call __pthread_barrier_init instead of
26501         pthread_barrier_init.
26503         [BZ #18542]
26504         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
26505         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
26506         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
26507         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
26508         vswscanf.
26509         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
26510         Remove variable.
26512         [BZ #18540]
26513         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
26514         strong alias of _IO_fflush.  Use libc_hidden_def.
26515         * libio/iofflush_u.c (fflush_unlocked): Rename to
26516         __fflush_unlocked and define as weak alias of __fflush_unlocked.
26517         Use libc_hidden_weak.
26518         * include/stdio.h (__fflush_unlocked): Declare.  Use
26519         libc_hidden_proto.
26520         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
26521         fflush_unlocked.
26522         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
26523         Remove variable.
26525         [BZ #18539]
26526         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
26527         define as weak alias of __addseverity.
26528         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
26529         Remove variable.
26530         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26531         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26532         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26534         [BZ #18536]
26535         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
26536         (__tfind): Likewise.
26537         (__tdelete): Likewise.
26538         (__twalk): Likewise.
26539         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
26540         __twalk to GLIBC_PRIVATE.
26541         * include/search.h (__tsearch): Use libc_hidden_proto.
26542         (__tfind): Likewise.
26543         (__tdelete): Likewise.
26544         (__twalk): Likewise.
26545         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
26546         Call __tdelete instead of tdelete.
26547         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
26548         tfind.  Call __tsearch instead of tsearch.
26549         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
26550         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
26551         Remove variable.
26552         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26554         [BZ #18534]
26555         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
26556         (dprintf): Define as a weak alias of __dprintf, not a strong
26557         alias.
26558         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
26559         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
26560         dprintf.
26561         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
26562         Remove variable.
26563         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26564         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26566         [BZ #18533]
26567         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
26568         not a strong alias.
26569         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
26570         Remove variable.
26572         [BZ #18532]
26573         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
26574         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
26575         (in6addr_loopback): Rename to __in6addr_loopback and define as
26576         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
26577         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
26578         libc_hidden_proto.
26579         (__in6addr_any): Likewise.
26580         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
26581         in6addr_any.
26582         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
26583         variable.
26584         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26586 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
26588         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
26589         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
26590         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26591         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26592         redirections for pow.
26593         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26594         * sysdeps/x86_64/fpu/Versions: New versions added.
26595         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26596         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26597         build of SSE, AVX2 and AVX512 IFUNC versions.
26598         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
26599         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
26600         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
26601         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
26602         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
26603         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
26604         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
26605         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
26606         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
26607         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
26608         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
26609         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
26610         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
26611         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
26612         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26613         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26614         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26615         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26616         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26617         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26618         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26619         * NEWS: Mention addition of x86_64 vector pow.
26621         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26622         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26623         redirections for expf.
26624         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26625         * sysdeps/x86_64/fpu/Versions: New versions added.
26626         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26627         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26628         build of SSE, AVX2 and AVX512 IFUNC versions.
26629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
26630         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
26631         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
26632         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
26633         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
26634         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
26635         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
26636         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
26637         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
26638         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
26639         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
26640         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
26641         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
26642         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26643         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26644         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26645         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26646         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26647         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26648         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26649         * NEWS: Mention addition of x86_64 vector expf.
26651         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
26652         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
26653         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26654         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26655         redirections for exp.
26656         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26657         * sysdeps/x86_64/fpu/Versions: New versions added.
26658         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26659         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26660         build of SSE, AVX2 and AVX512 IFUNC versions.
26661         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
26662         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
26663         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
26664         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
26665         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
26666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
26667         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
26668         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
26669         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
26670         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
26671         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
26672         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
26673         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
26674         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26675         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26676         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26677         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26678         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26679         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26680         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26681         * NEWS: Mention addition of x86_64 vector exp.
26683         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26684         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26685         redirections for logf.
26686         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26687         * sysdeps/x86_64/fpu/Versions: New versions added.
26688         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26689         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26690         build of SSE, AVX2 and AVX512 IFUNC versions.
26691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
26692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
26693         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
26694         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
26695         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
26696         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
26697         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
26698         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
26699         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
26700         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
26701         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
26702         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
26703         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
26704         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26705         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26706         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26707         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26708         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26709         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26710         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26711         * NEWS: Mention addition of x86_64 vector logf.
26713         * bits/libm-simd-decl-stubs.h: Added stubs for log.
26714         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
26715         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26716         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26717         redirections for log.
26718         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26719         * sysdeps/x86_64/fpu/Versions: New versions added.
26720         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26721         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26722         build of SSE, AVX2 and AVX512 IFUNC versions.
26723         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
26724         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
26725         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
26726         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
26727         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
26728         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
26729         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
26730         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
26731         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
26732         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
26733         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
26734         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
26735         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
26736         test.
26737         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26738         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26739         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26740         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26741         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26742         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26743         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26744         * NEWS: Mention addition of x86_64 vector log.
26746 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26748         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
26749         cfi_adjust_cfa_offset argument.
26750         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
26751         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
26753         [BZ #18034]
26754         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
26755         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
26756         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
26757         ordering using ldar.
26758         (_dl_tlsdesc_dynamic): Likewise.
26759         (_dl_tlsdesc_return_lazy): Likewise.
26760         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
26761         relaxed atomics instead of volatile and synchronize with release store.
26762         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
26763         volatile.
26764         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26766 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
26768         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26769         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
26770         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26771         * sysdeps/x86_64/fpu/Versions: New versions added.
26772         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26773         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26774         build of SSE, AVX2 and AVX512 IFUNC versions.
26775         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
26776         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
26777         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
26778         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
26779         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
26780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
26781         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
26782         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
26783         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
26784         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
26785         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
26786         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
26787         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
26788         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26789         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26790         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26791         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26792         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26793         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26794         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26795         * NEWS: Mention addition of x86_64 vector sinf.
26797 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
26799         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
26800         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
26801         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
26802         Remove variable.
26803         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26804         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26806 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
26808         [BZ #18530]
26809         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
26810         strong alias of _IO_fputs.  Use libc_hidden_def.
26811         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
26812         and define as weak alias of __fputs_unlocked.  Use
26813         libc_hidden_weak.
26814         * include/stdio.h (__fputs_unlocked): Declare.  Use
26815         libc_hidden_proto.
26816         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
26817         fputs_unlocked.
26819         [BZ #18529]
26820         * resolv/netdb.h [__USE_POSIX]: Change condition to
26821         [__USE_XOPEN2K].
26822         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
26823         not expect.
26824         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
26825         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
26826         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
26827         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
26828         [XPG4 || UNIX98] (AI_ALL): Likewise.
26829         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
26830         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
26831         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
26832         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
26833         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
26834         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
26835         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
26836         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
26837         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
26838         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
26839         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
26840         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
26841         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
26842         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
26843         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
26844         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
26845         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
26846         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
26847         [XPG4 || UNIX98] (gai_strerror): Likewise.
26848         [XPG4 || UNIX98] (getaddrinfo): Likewise.
26849         [XPG4 || UNIX98] (getnameinfo): Likewise.
26851         [BZ #18528]
26852         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
26853         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
26854         __USE_XOPEN2K8].
26855         (getgrent): Likewise.
26856         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
26857         expect.
26858         [XPG3 || POSIX2008] (endgrent): Likewise.
26859         [XPG3] (setgrent): Likewise.
26860         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
26861         variable.
26862         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26864         [BZ #18527]
26865         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
26866         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
26867         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
26868         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
26869         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
26870         * include/unistd.h (__getlogin_r): Declare.  Use
26871         libc_hidden_proto.
26872         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
26873         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
26874         variable.
26875         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26876         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26877         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26879 2015-06-12  Martin Sebor  <msebor@redhat.com>
26881         [BZ #18512]
26882         * Makerules (check-install-supported): New target.
26883         (install): Add check-install-supported as a dependency.
26884         * manual/install.texi (Installing the C Library): Document
26885         that overriding prefix and exec_prefix is not supported.
26886         Mention DESTDIR.
26887         * INSTALL: Regenerate from the above.
26889 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
26891         [BZ #18519]
26892         * posix/Versions (libc): Export __libc_pread at version
26893         GLIBC_PRIVATE.
26894         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
26895         instead of pread.
26896         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
26897         variable.
26899         [BZ #18522]
26900         * misc/efgcvt_r.c
26901         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
26902         (cvt_symbol): Use weak_alias instead of strong_alias.
26903         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
26904         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
26905         Remove variable.
26906         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26907         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26909         [BZ #18520]
26910         * inet/herrno.c (h_errno): Rename to __h_errno.
26911         (__libc_h_errno): Define as alias of __h_errno not h_errno.
26912         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
26913         to __h_errno instead of h_errno.
26914         * nptl/herrno.c (h_errno): Rename to __h_errno.
26915         (__h_errno_location): Refer to __h_errno not h_errno.
26916         * resolv/Versions (h_errno): Rename to __h_errno.
26917         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
26918         Remove variable.
26919         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26921 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
26923         * configure.ac: More strict check for AVX512 assembler support.
26924         * configure: Regenerated.
26926         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
26927         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
26928         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26929         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
26930         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26931         * sysdeps/x86_64/fpu/Versions: New versions added.
26932         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26933         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26934         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26935         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
26936         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
26937         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
26938         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
26939         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
26940         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
26941         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
26942         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
26943         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
26944         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
26945         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
26946         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
26947         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
26948         test.
26949         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26950         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26951         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26952         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26953         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26954         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26955         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26956         * NEWS: Mention addition of x86_64 vector sin.
26958 2015-06-11  Florian Weimer  <fweimer@redhat.com>
26960         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
26961         comment.
26963 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26965         [BZ #18479]
26966         * nptl/pt-interp.c: New file.
26967         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
26968         Add pt-interp.
26969         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
26970         $(common-objpfx)runtime-linker.h.
26972 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
26974         * Makeconfig (+interp): Remove unused variable.
26975         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
26976         only.  Depend on $(common-objpfx)runtime-linker.h instead of
26977         $(elf-objpfx)runtime-linker.h.
26978         ($(elf-objpfx)runtime-linker.h): Rename to
26979         $(common-objpfx)runtime-linker.h and move ...
26980         * Makerules [$(build-shared) = yes]: ... here.
26981         * elf/interp.c: Include <runtime-linker.h> instead of
26982         <elf/runtime-linker.h>.
26984 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26986         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
26987         (__gettimeofday_syscall): Remove vsyscall fallback.
26988         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
26989         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
26990         Add syscall fallback function.
26991         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
26992         if vDSO is not present.
26993         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
26994         fallback function.
26995         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
26996         present.
26997         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
26998         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27000 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
27002         [BZ #18497]
27003         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
27004         of wcscmp.
27005         (wcscmp): Define as weak alias of WCSCMP.
27006         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
27007         wcscoll.
27008         (USE_HIDDEN_DEF): Define.
27009         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27010         __wcscoll.  Don't use libc_hidden_weak.
27011         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
27012         wcscmp.
27013         * sysdeps/i386/i686/multiarch/wcscmp-c.c
27014         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
27015         __GI_wcscmp.
27016         (weak_alias): Undefine and redefine.
27017         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
27018         __wcscmp and define as weak alias of __wcscmp.
27019         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
27020         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
27021         (__wcscoll): Likewise.
27022         (wcscmp): Don't use libc_hidden_proto.
27023         (wcscoll): Likewise.
27024         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
27025         wcscoll.
27026         * posix/regexec.c (check_node_accept_bytes): Likewise.
27027         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
27028         variable.
27029         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27030         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27032         [BZ #18507]
27033         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
27034         __fstatvfs and define as weak alias of __fstatvfs.  Use
27035         libc_hidden_weak.
27036         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
27037         and define as weak alias of __statvfs.  Use libc_hidden_weak.
27038         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
27039         Define as alias of __fstatvfs, not fstatvfs.
27040         (fstatvfs64): Likewise.
27041         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
27042         Define as alias of __statvfs, not statvfs.
27043         (statvfs64): Likewise.
27044         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
27045         Remove variable.
27047 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27050         (HAVE_GETCPU_VSYSCALL): Define.
27051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27052         (HAVE_GETCPU_VSYSCALL): Likewise.
27053         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27054         * sysdeps/unix/sysv/linux/sched_getcpu.c
27055         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27056         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27057         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27058         prototype.
27059         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27060         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27061         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27062         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27063         Define.
27064         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27065         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27066         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27067         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27069 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27071         * sysdeps/x86_64/fpu/Makefile: New file.
27072         * sysdeps/x86_64/fpu/Versions: New file.
27073         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27074         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27075         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27076         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27077         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27078         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27079         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27080         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27081         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27082         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27083         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27084         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27085         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27086         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27087         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27088         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27089         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27090         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27091         * sysdeps/x86_64/configure: Regenerated.
27092         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27093         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27094         * manual/install.texi (Configuring and compiling): Document
27095         --disable-mathvec.
27096         * INSTALL: Regenerated.
27097         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27099         * math/Makefile: Added rules for vector tests.
27100         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27101         declaration under condition.
27102         * math/test-double-vlen2.h: New file.
27103         * math/test-double-vlen4.h: New file.
27104         * math/test-double-vlen8.h: New file.
27105         * math/test-vec-loop.h: Added initialization macro.
27106         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27107         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27108         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27109         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27110         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27111         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27112         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27113         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27114         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27115         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27116         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27118         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27119         * sysdeps/x86_64/fpu/Versions: New versions added.
27120         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27121         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27122         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27123         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27124         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27127         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27128         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27129         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27130         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27131         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27132         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27133         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27134         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27135         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27136         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27137         * NEWS: Mention addition of x86_64 vector cosf.
27139         * math/Makefile: Added CFLAGS for new tests.
27140         * math/test-float-vlen16.h: New file.
27141         * math/test-float-vlen4.h: New file.
27142         * math/test-float-vlen8.h: New file.
27143         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27144         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27145         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27146         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27147         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27148         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27149         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27150         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27151         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27152         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27153         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27155 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27157         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27158         * locale/programs/ld-ctype.c: Likewise.
27160 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27162         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27163         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27164         bit_ZMM16_31_state): New macro.
27165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27166         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27168 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27170         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27172 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27174         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27176 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27178         [BZ #18498]
27179         * libio/memstream.c (open_memstream): Rename to __open_memstream
27180         and define as weak alias of __open_memstream.
27181         * include/stdio.h (__open_memstream): Declare.  Use
27182         libc_hidden_proto.
27183         (open_memstream): Don't use libc_hidden_proto.
27184         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27185         open_memstream.
27186         * posix/getopt.c (_getopt_internal_r): Likewise.
27187         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27188         variable.
27189         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27190         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27191         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27193         [BZ #18496]
27194         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27195         instead of wcrtomb.
27197         [BZ #18483]
27198         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27199         [__USE_XOPEN2K8].  Remove redundant #endif.
27200         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27201         Remove redundant #if.
27202         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27203         Remove variable.
27204         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27205         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27207         [BZ #18495]
27208         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27209         (__iswlower): Likewise.
27210         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27211         (__iswlower): Likewise.
27212         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27213         instead of towlower.
27214         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27215         instead of iswlower.  Call __towupper instead of towupper.
27216         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27217         instead of iswalnum.
27219 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27221         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27222         errors to stderr.
27224 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27226         [BZ #15661]
27227         [BZ #17322]
27228         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27229         Check for overflow properly.  Check for O_APPEND.  Ignore large
27230         file system block sizes.  Add comments about problems.
27231         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27232         * manual/filesys.texi (Storage Allocation): New node.
27234 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27236         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27237         cancellable syscalls.
27238         (SYS_ify): Add guard to no redefine it.
27239         (INLINE_SYSCALL): Likewise.
27240         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27241         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27242         SYSCALL_CANCEL instead.
27243         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27244         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27245         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27246         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27247         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27248         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27249         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27250         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27251         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27252         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27253         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27254         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27255         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27256         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27257         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27258         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27259         Likewise.
27260         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27261         (__libc_pread64): Likewise.
27262         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27263         (__libc_preadv): Likewise.
27264         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27265         (__libc_readv64): Likewise.
27266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27267         (__libc_pwrite): Likewise.
27268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27269         (__libc_pwrite64): Likewise.
27270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27271         (__libc_pwritev): Likewise.
27272         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27273         (__libc_pwritev64): Likewise.
27274         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27275         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27276         (sync_file_range): Likewise.
27277         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27278         Likewise.
27279         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27280         Likewise.
27281         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27282         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27283         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27284         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27285         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27286         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27287         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27288         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27290         Likewise.
27291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27292         (__libc_read64): Likewise.
27293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27294         Likewise.
27295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27296         Likewise.
27297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27298         Likewise.
27299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27300         Likewise.
27301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27302         (__libc_pread64): Likewise.
27303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27304         Likewise.
27305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27306         (__libc_pwrite64): Likewise.
27307         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27308         (sync_file_range): Likewise.
27309         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27310         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27311         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27312         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27313         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27314         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27315         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27316         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27317         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27318         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27319         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27320         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27321         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27322         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27323         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27324         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27325         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27326         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27327         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27328         Likewise.
27329         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27330         Likewise.
27331         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27332         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27333         Likewise.
27334         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27335         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27336         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27337         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27338         Likewise.
27339         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27340         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27341         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27342         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27343         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27345 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
27347         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27348         Include dl-vdso.
27349         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27350         Use VDSO routines for gettimeofday, clock_gettime if
27351         available.
27352         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27353         Declare VDSO symbols.
27354         * sysdeps/unix/sysv/linux/arm/sysdep.h:
27355         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27356         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27357         * sysdeps/unix/sysv/linux/arm/Versions: Add
27358         __vdso_clock_gettime.
27360 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27362         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27363         be an inline implementation regardless of library is built within.
27364         (open_not_cancel_2): Likewise.
27365         (__read_nocancel): Likewise.
27366         (__write_nocancel): Likewise.
27367         (openat_not_cancel): Likewise.
27368         (openat_not_cancel_3): Likewise.
27369         (openat64_not_cancel): Likewise.
27370         (openat64_not_cancel_3): Likewise.
27371         (__close_nocancel): Likewise.
27372         (pause_not_cancel): Likewise.
27373         (nanosleep_not_cancel): Likewise.
27374         (sigsuspend_not_cancel): Likewise.
27376 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27378         [BZ #14958]
27379         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
27380         wake-up.
27381         (__pthread_rwlock_rdlock_slow): Likewise.
27382         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27383         Likewise.
27384         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27385         Likewise.
27386         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
27387         * nptl/tst-rwlock16.c: New file.
27388         * nptl/Makefile (tests): Add new test.
27390 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27392         [BZ #18324]
27393         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
27394         missing wake-up of readers.
27395         * nptl/tst-rwlock15.c: New file.
27396         * nptl/Makefile (tests): Add new test.
27398 2015-06-03  Roland McGrath  <roland@hack.frob.com>
27400         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
27401         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
27402         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
27403         and __nacl_supply_interface_rtld.
27404         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
27405         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
27406         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
27407         Add __nacl_supply_interface_rtld.
27408         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
27410 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27412         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
27413         isfinite.
27414         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27415         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
27417 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27419         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
27420         __signbit* with standard C99 macros.
27421         * math/e_exp10l.c: Likewise.
27422         * math/e_exp2l.c: Likewise.
27423         * math/e_scalb.c: Likewise.
27424         * math/e_scalbf.c: Likewise.
27425         * math/e_scalbl.c: Likewise.
27426         * math/s_ldexp.c: Likewise.
27427         * math/s_ldexpf.c: Likewise.
27428         * math/s_ldexpl.c: Likewise.
27429         * math/w_atan2.c: Likewise.
27430         * math/w_atan2f.c: Likewise.
27431         * math/w_atan2l.c: Likewise.
27432         * math/w_cosh.c: Likewise.
27433         * math/w_coshf.c: Likewise.
27434         * math/w_coshl.c: Likewise.
27435         * math/w_exp10.c: Likewise.
27436         * math/w_exp10f.c: Likewise.
27437         * math/w_exp10l.c: Likewise.
27438         * math/w_exp2.c: Likewise.
27439         * math/w_exp2f.c: Likewise.
27440         * math/w_exp2l.c: Likewise.
27441         * math/w_fmod.c: Likewise.
27442         * math/w_fmodf.c: Likewise.
27443         * math/w_fmodl.c: Likewise.
27444         * math/w_hypot.c: Likewise.
27445         * math/w_hypotf.c: Likewise.
27446         * math/w_hypotl.c: Likewise.
27447         * math/w_jnl.c: Likewise.
27448         * math/w_lgamma.c: Likewise.
27449         * math/w_lgamma_r.c: Likewise.
27450         * math/w_lgammaf.c: Likewise.
27451         * math/w_lgammaf_r.c: Likewise.
27452         * math/w_lgammal.c: Likewise.
27453         * math/w_lgammal_r.c: Likewise.
27454         * math/w_pow.c: Likewise.
27455         * math/w_powf.c: Likewise.
27456         * math/w_powl.c: Likewise.
27457         * math/w_remainder.c: Likewise.
27458         * math/w_remainderf.c: Likewise.
27459         * math/w_remainderl.c: Likewise.
27460         * math/w_scalb.c: Likewise.
27461         * math/w_scalbf.c: Likewise.
27462         * math/w_scalbl.c: Likewise.
27463         * math/w_scalbln.c: Likewise.
27464         * math/w_scalblnf.c: Likewise.
27465         * math/w_scalblnl.c: Likewise.
27466         * math/w_sinh.c: Likewise.
27467         * math/w_sinhf.c: Likewise.
27468         * math/w_sinhl.c: Likewise.
27469         * math/w_tgamma.c: Likewise.
27470         * math/w_tgammaf.c: Likewise.
27471         * math/w_tgammal.c: Likewise.
27472         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27473         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
27474         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27475         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27476         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27477         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27478         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27479         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27480         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27481         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27482         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27483         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27484         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27485         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27486         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27487         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27488         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27489         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27490         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27491         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27493         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27494         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27495         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27496         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27497         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27498         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
27499         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27500         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27501         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27502         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
27503         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
27504         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
27505         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
27506         * stdio-common/printf_fp.c: Likewise.
27507         * stdio-common/printf_fphex.c: Likewise.
27508         * stdio-common/printf_size.c: Likewise.
27510 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
27512         [BZ #18470]
27513         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
27514         strnlen.
27515         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
27516         Remove variable.
27517         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27518         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27519         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27520         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27521         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27522         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27523         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27524         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27525         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27526         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27528         [BZ #18468]
27529         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
27530         weak alias of __wmemchr.  Use libc_hidden_weak.
27531         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
27532         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
27533         instead of wmemchr.
27535 2015-06-02  Roland McGrath  <roland@hack.frob.com>
27537         [BZ #18383]
27538         * elf/tst-tlsalign-extern.c: New file.
27539         * elf/tst-tlsalign-extern-static.c: New file.
27540         * elf/tst-tlsalign-vars.c: New file.
27541         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
27542         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
27543         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
27544         ($(objpfx)tst-tlsalign-extern-static): Likewise.
27545         (test-xfail-tst-tlsalign-extern-static): New variable.
27547 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
27549         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
27550         Use variable name _sc_err instead of err.
27551         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
27552         instead of ret.
27553         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
27554         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
27555         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
27556         (INLINE_SYSCALL): Likewise.
27558         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
27559         * include/string.h (__strnlen): Use libc_hidden_proto.
27560         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
27561         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
27562         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
27563         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
27564         (libc_hidden_def): Undefine and redefine.
27565         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
27566         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
27567         __GI_strnlen.
27568         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
27569         libc_hidden_def.
27570         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
27572         [BZ #18469]
27573         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
27574         weak alias of __towlower.  Use libc_hidden_weak.
27575         (towupper): Rename to __towupper and define as weak alias of
27576         __towupper.  Use libc_hidden_weak.
27577         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
27578         (__towupper): Likewise.
27579         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
27580         __towlower instead of towlower.
27582 2015-06-02  Roland McGrath  <roland@hack.frob.com>
27584         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
27585         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
27587 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27589         * sysdeps/aarch64/libm-test-ulps: Update.
27591 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27593         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
27594         Define.
27595         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
27597         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
27598         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27599         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
27600         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
27601         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
27603 2015-06-01  Martin Sebor  <msebor@redhat.com>
27605         [BZ #18116]
27606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27607         (__setcontext): Use extended four-operand version of mtsf whenever
27608         possible.
27609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27610         (__novec_swapcontext): Likewise.
27612 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27614         * benchtests/scripts/compare_bench.py: New file.
27615         * benchtests/scripts/import_bench.py (mean): New function.
27616         (split_list): Likewise.
27617         (do_for_all_timings): Likewise.
27618         (compress_timings): Likewise.
27620         * benchtests/scripts/import_bench.py: New file.
27621         * benchtests/scripts/validate_benchout.py: Import import_bench
27622         instead of jsonschema.
27623         (validate_bench): Remove function.
27624         (main): Use import_bench.
27626 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
27628         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
27629         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
27631 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27635 2015-05-28  Roland McGrath  <roland@hack.frob.com>
27637         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
27638         set THREAD_SELF->tid to a magic value and futex-wake it.
27639         Pass its address to the thread_exit system call.
27640         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
27641         bit is clear.
27642         * sysdeps/nacl/lowlevellock.h: New file.
27643         * sysdeps/nacl/lll_timedwait_tid.c: New file.
27645         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
27646         Add TIMEOUT to current time, don't subtract it.
27648 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
27650         [BZ #2981]
27651         [BZ #18422]
27652         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
27653         ($(objpfx)tst-audit2.out): Also depend on
27654         $(objpfx)tst-auditmod9b.so.
27655         * elf/tst-audit2.c: Include <dlfcn.h>.
27656         (calloc_called): New.
27657         (calloc): Allow to be called more than once.
27658         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
27660 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
27662         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
27663         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
27665 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
27667         * stdlib/monetary.h: Fix comment.
27669 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
27671         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
27672         Avoid using variables in #defines that might cause shadowing.
27673         (INTERNAL_VSYSCALL_CALL): Likewise.
27675 2015-05-26  Roland McGrath  <roland@hack.frob.com>
27677         * sysdeps/nacl/lll_timedlock_wait.c: New file.
27679         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
27680         * nptl/lll_timedlock_wait.c: ... to this new file.
27681         * nptl/Makefile (libpthread-routines): Add it.
27682         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
27683         * nptl/lll_timedwait_tid.c: ... to this new file.
27684         * nptl/Makefile (libpthread-routines): Add it.
27685         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
27686         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
27687         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
27688         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
27689         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
27690         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
27691         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
27692         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
27693         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
27694         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
27696 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27698         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
27699         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27700         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27701         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
27702         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
27703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27704         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27706         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27707         * sysdeps/unix/sysv/linux/tile/sysdep.h
27708         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27709         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
27710         using vDSO syscall macro.
27712 2015-05-26  Andriy Rysin  <arysin@gmail.com>
27714         [BZ #17293]
27715         * uk_UA: Fix sorting order for Ukrainian locale
27717 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
27719         * stdlib/monetary.h: Fix comment.
27721 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27723         [BZ #18234]
27724         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
27725         st_mtim and st_ctim members.
27726         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
27727         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
27728         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
27729         (struct stat64): Likewise.
27730         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
27731         (struct stat64): Likewise.
27732         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
27733         (struct stat64): Likewise.
27735 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27737         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
27738         Define and include sysdep-vdso.h.
27739         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
27740         Likewise.
27741         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
27742         Likewise.
27743         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
27744         Define with VDSO_SYMBOL and use PTR_MANGLE.
27745         (__vdso_clock_gettime): Likewise.
27746         (__vdso_clock_getres): Likewise.
27747         (_libc_vdso_platform_setup): Likewise.
27748         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27749         Likewise.
27750         (_libc_vdso_platform_setup): Likewise.
27751         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
27752         Likewise.
27753         (__vdso_clock_gettime): Likewise.
27754         (__vdso_clock_getres): Likewise.
27755         (__vdso_get_tbfreq): Likewise.
27756         (__vdso_getcpu): Likewise.
27757         (__vdso_time): Likewise.
27758         (__vdso_sigtramp_rt64): Likewise.
27759         (__vdso_signtramp32): Likewise.
27760         (__vdso_sigtramp_rt32): Likewise.
27761         (_libc_vdso_platform_setup): Likewise.
27762         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
27763         Likewise.
27764         (__vdso_clock_gettime): Likewise.
27765         (__vdso_clock_getres): Likewise.
27766         (_libc_vdso_platform_setup): Likewise.
27767         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
27768         Likewise.
27769         (__vdso_clock_gettime): Likewise.
27770         (_libc_vdso_platform_setup): Likewise.
27771         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27772         Likewise.
27773         (__vdso_getcpu): Likewise.
27774         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
27775         Use VDSO_SYMBOL macro to define.
27776         (__vdso_clock_gettime): Likewise.
27777         (__vdso_clock_getres): Likewise.
27778         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
27779         Likewise.
27780         (__vdso_clock_gettime): Likewise.
27781         (__vdso_clock_getres): Likewise.
27782         (__vdso_get_tbfreq): Likewise.
27783         (__vdso_getcpu): Likewise.
27784         (__vdso_time): Likewise.
27785         (__vdso_sigtramp_rt64): Likewise.
27786         (__vdso_signtramp32): Likewise.
27787         (__vdso_sigtramp_rt32): Likewise.
27788         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
27789         Likewise.
27790         (__vdso_clock_gettime): Likewise.
27791         (__vdso_clock_getres): Likewise.
27792         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
27793         Likewise.
27794         (__vdso_clock_gettime): Likewise.
27795         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27796         Likewise.
27797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
27798         macro.
27799         (INTERNAL_VSYSCALL): Likewise.
27800         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
27801         Remove macro.
27802         (INTERNAL_VSYSCALL): Likewise.
27803         (INTERNAL_VSYSCALL_NCS): Likewise.
27804         (INTERNAL_VSYSCALL_CALL): New macro.
27805         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
27806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
27807         Likewise.
27808         (INTERNAL_VSYSCALL): Likewise.
27809         (INTERNAL_VSYSCALL_NCS): Likewise.
27810         (INTERNAL_VSYSCALL_CALL): New macro.
27811         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
27812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27813         (INLINE_VSYSCALL): Remove macro.
27814         (INTERNAL_VSYSCALL): Remove macro.
27815         (INTERNAL_VSYSCALL_NCS): Remove macro.
27816         (INTERNAL_VSYSCALL_CALL): New macro.
27817         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
27818         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
27819         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
27820         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
27821         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
27822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27823         (INLINE_VSYSCALL): Remove macro.
27824         (INTERNAL_VSYSCALL): Likewise.
27825         (INTERNAL_VSYSCALL_NCS): Likewise.
27826         (INTERNAL_VSYSCALL_CALL): New macro.
27827         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
27828         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
27829         PTR_DEMANGLE on vDSO pointer.
27830         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
27831         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
27832         macro.
27833         (INTERNAL_SYSCALL): Likewise.
27834         (INTERNAL_VSYSCALL_NCS): Remove macro.
27835         (INTERNAL_VSYSCALL_CALL): New macro.
27836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
27837         Remove macro.
27838         (INTERNAL_VSYSCALL): Likewise.
27839         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
27840         sysdep-vdso.h instead of libc-vdso.h.
27841         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
27842         definition.
27843         (INLINE_VSYSCALL): Likewise.
27844         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
27845         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
27846         definition.
27847         (INLINE_VSYSCALL): Likewise.
27848         (INTERNAL_VSYSCALL): Likewise.
27849         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27850         * sysdeps/unix/sysv/linux/timespec_get.c
27851         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27852         (timespec_get): Use ANSI prototype.
27853         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
27854         and definition for Linux.
27856 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27858         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
27859         * include/libc-symbols.h: libmvec_hidden_* macro series added.
27861 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27863         [BZ #2981]
27864         [BZ #18410]
27865         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
27866         for missing DT_PLTRELSZ.
27868 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27870         Remove obsolete aliases that broke 'locale -a'
27871         [BZ #18412]
27872         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
27873         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
27874         breaking some applications that use 'locale -a' output.
27875         Change the encoding of this file from Latin-1 to ASCII to avoid
27876         other potential problems with people grepping this file.
27878 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27880         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
27881         -fasynchronous-unwind-tables.
27882         (CFLAGS-sendto.c): Likewise.
27883         (CFLAGS-sendmsg.c): Likewise.
27884         (CFLAGS-connect.c): Likewise.
27885         (CFLAGS-recvmsg.c): Likewise.
27886         (CFLAGS-recvfrom.c): Likewise.
27887         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
27888         (SOCKETCALL): New macro: non-cancellable socketcall.
27889         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
27890         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
27891         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
27892         * sysdeps/unix/sysv/linux/accept.c: New file.
27893         * sysdeps/unix/sysv/linux/bind.c: Likewise.
27894         * sysdeps/unix/sysv/linux/connect.c: Likewise.
27895         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
27896         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
27897         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
27898         * sysdeps/unix/sysv/linux/listen.c: Likewise.
27899         * sysdeps/unix/sysv/linux/recv.c: Likewise.
27900         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
27901         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
27902         * sysdeps/unix/sysv/linux/send.c: Likewise.
27903         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
27904         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
27905         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
27906         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
27907         * sysdeps/unix/sysv/linux/socket.c: Likewise.
27908         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
27909         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
27910         prototype.
27911         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
27912         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27913         instead of __internal_xxx function.
27914         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
27915         prototype.
27916         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
27917         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27918         instead of __internal_xxx function.
27919         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
27920         prototype.
27921         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
27922         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27923         instead of __internal_xxx function.
27924         * sysdeps/unix/sysv/linux/accept.S: Remove file.
27925         * sysdeps/unix/sysv/linux/bind.S: Likewise.
27926         * sysdeps/unix/sysv/linux/connect.S: Likewise.
27927         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
27928         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
27929         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
27930         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
27931         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
27932         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
27933         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
27934         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
27935         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27936         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
27937         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
27938         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
27939         * sysdeps/unix/sysv/linux/listen.S: Likewise.
27940         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
27941         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
27942         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
27943         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
27944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
27945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
27946         * sysdeps/unix/sysv/linux/recv.S: Likewise.
27947         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
27948         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
27949         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
27950         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27951         * sysdeps/unix/sysv/linux/send.S: Likewise.
27952         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
27953         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
27954         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
27955         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
27956         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
27957         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
27958         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
27959         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
27960         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
27961         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
27962         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
27963         socketcall is implemented in GLIBC.
27965 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
27967         * soft-fp/fmadf4.c: Include <libc-internal.h>.
27968         (__fma): Ignore uninitialized warnings around packing.
27969         * soft-fp/fmasf4.c: Include <libc-internal.h>.
27970         (__fmaf): Ignore uninitialized warnings around packing.
27971         * soft-fp/fmatf4.c: Include <libc-internal.h>.
27972         (__fmal): Ignore uninitialized warnings around packing.
27974         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
27975         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27976         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
27977         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27979         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
27980         switch statement into default case.
27981         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
27983         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
27984         a conditional in forcing "inexact".
27985         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27986         Likewise.
27988 2015-05-22  Roland McGrath  <roland@hack.frob.com>
27990         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27991         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
27992         for each INTERNAL_SYSCALL use.
27994 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
27996         [BZ #438]
27997         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
27998         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
27999         variable.
28001         [BZ #18444]
28002         * string/basename.c (basename): Rename to __basename and define as
28003         weak alias of __basename.  Use libc_hidden_weak.
28004         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
28005         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
28006         __basename instead of basename.
28007         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
28008         Remove variable.
28009         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28011 2015-05-18  Florian Weimer  <fweimer@redhat.com>
28013         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
28014         (_IO_JUMPS_FILE_plus): New.
28015         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
28016         _IO_CAST_FIELD_ACCESS.
28017         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
28018         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
28019         * libio/freopen.c (freopen): Likewise.
28020         * libio/freopen64.c (freopen64): Likewise.
28021         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
28022         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
28023         * libio/iofwide.c (_IO_fwide): Likewise.
28024         * libio/memstream.c (open_memstream): Likewise.
28025         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28026         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28027         * libio/oldiopopen.c (_IO_old_popen): Likewise.
28029 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
28031         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
28032         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
28033         NADJ.
28034         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
28035         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
28036         NADJ.
28037         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
28038         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
28039         NADJ.
28041         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
28042         (p == 4) case.
28044         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
28045         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
28046         Remove variable.
28047         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28048         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28049         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28051 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28053         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28054         Adjust jump table label generation macros.
28056 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28058         * stdio-common/vfprintf.c (vfprintf): Move local variables
28059         args_malloced, specs, specs_malloced, and the code after
28060         do_positional to the printf_positional function.
28061         (printf_positional): New function.
28063 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28065         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28066         function.
28067         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28068         STEP4_TABLE, process_arg): Move macro definitions
28069         out of the vfprintf function.  (Cosmetic change only.)
28071 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28073         * benchtests/Makefile (stdio-common-bench): Define.
28074         (benchset): Add stdio-common-bench.
28075         * sprintf-inputs: New file.
28076         * sprintf-source.c: New file.
28078 2015-05-21  Andreas Schwab  <schwab@suse.de>
28080         [BZ #13028]
28081         [BZ #17053]
28082         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28083         of struct __res_state.
28084         * resolv/res_send.c (__libc_res_nsend): Likewise.
28085         (get_nsaddr): New function.
28086         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28087         statp directly.
28089 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28091         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28092         -D_POSIX_C_SOURCE=199506L.
28094         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28096         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28097         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28098         Do not mention otherwise.
28099         [POSIX] (_XOPEN_VERSION): Do not expect.
28100         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28101         [POSIX] (_POSIX2_C_BIND): Likewise.
28102         [POSIX] (_POSIX2_VERSION): Likewise.
28103         [POSIX] (_XOPEN_XPG2): Likewise.
28104         [POSIX] (_XOPEN_XPG3): Likewise.
28105         [POSIX] (_XOPEN_XPG4): Likewise.
28106         [POSIX] (_XOPEN_UNIX): Likewise.
28107         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28108         [POSIX] (_POSIX_BARRIERS): Likewise.
28109         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28110         [POSIX] (_POSIX_CPUTIME): Likewise.
28111         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28112         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28113         [POSIX] (_POSIX_SHELL): Likewise.
28114         [POSIX] (_POSIX_SPAWN): Likewise.
28115         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28116         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28117         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28118         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28119         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28120         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28121         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28122         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28123         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28124         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28125         [POSIX] (_POSIX2_PBS): Likewise.
28126         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28127         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28128         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28129         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28130         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28131         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28132         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28133         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28134         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28135         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28136         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28137         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28138         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28139         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28140         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28141         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28142         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28143         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28144         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28145         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28146         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28147         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28148         [POSIX] (_SC_2_C_BIND): Likewise.
28149         [POSIX] (_SC_2_C_VERSION): Likewise.
28150         [POSIX] (_SC_2_PBS): Likewise.
28151         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28152         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28153         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28154         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28155         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28156         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28157         [POSIX] (_SC_BARRIERS): Likewise.
28158         [POSIX] (_SC_BASE): Likewise.
28159         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28160         [POSIX] (_SC_DEVICE_IO): Likewise.
28161         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28162         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28163         [POSIX] (_SC_FD_MGMT): Likewise.
28164         [POSIX] (_SC_FIFO): Likewise.
28165         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28166         [POSIX] (_SC_FILE_LOCKING): Likewise.
28167         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28168         [POSIX] (_SC_IOV_MAX): Likewise.
28169         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28170         [POSIX] (_SC_NETWORKING): Likewise.
28171         [POSIX] (_SC_PAGE_SIZE): Likewise.
28172         [POSIX] (_SC_PASS_MAX): Likewise.
28173         [POSIX] (_SC_PIPE): Likewise.
28174         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28175         [POSIX] (_SC_REGEXP): Likewise.
28176         [POSIX] (_SC_SHELL): Likewise.
28177         [POSIX] (_SC_SIGNALS): Likewise.
28178         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28179         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28180         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28181         [POSIX] (_SC_USER_GROUPS): Likewise.
28182         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28183         [POSIX] (_SC_STREAMS): Likewise.
28184         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28185         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28186         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28187         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28188         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28189         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28190         [POSIX] (_PC_FILESIZEBITS): Likewise.
28191         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28192         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28193         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28194         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28195         [POSIX] (uid_t): Likewise.
28196         [POSIX] (gid_t): Likewise.
28197         [POSIX] (off_t): Likewise.
28198         [POSIX] (pid_t): Likewise.
28199         [POSIX] (cuserid): Allow.
28200         (_SC_2_CHAR_TERM): Require constant.
28201         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28202         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28203         variable.
28205 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28207         * sysdeps/nacl/pthread-pids.h: New file.
28208         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28209         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28211         * nptl/pthread-pids.h: New file.
28212         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28213         * nptl/nptl-init.c: Include <pthread-pids.h>.
28214         (__pthread_initialize_minimal_internal):
28215         Call __pthread_initialize_pids instead of set_tid_address syscall.
28217         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28218         * sysdeps/posix/usleep.c: ... here.
28220 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28222         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28223         call_pselect6 object.
28224         [$(subdir) = io]: Remove call_sync_file_range object.
28225         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28226         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28227         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28228         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28230 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28232         * math/s_cproj.c: Add include "math_private.h".
28233         * math/s_cprojf.c: Likewise.
28234         * math/s_cprojl.c: Likewise.
28236 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28238         [BZ #18244]
28239         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28240         high mantissa bit when testing whether P is a NaN.
28241         * math/libm-test.inc (remainder_test_data): Add more tests.
28242         (remquo_test_data): Likewise.
28244         [BZ #18049]
28245         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28246         below -32, return the argument, with underflow if subnormal.
28247         * math/auto-libm-test-in: Add more tests of atanh.
28248         * math/auto-libm-test-out: Regenerated.
28250 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28252         [BZ #18434]
28253         * nptl/tst-sem15.c: New file.
28254         * nptl/Makefile (tests): Add it.
28255         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28256         s/<</>>/ to fix typo in EOVERFLOW check.
28257         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28259 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28261         * manual/strings.texi (envz_remove): Fix typo in safety
28262         annotations.
28264 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28265             Steve Ellcey  <sellcey@imgtec.com>
28267         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28268         in order to avoid strict alias warnings.
28269         (iruserok_af): Ditto for ra.
28271 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28273         [BZ #17581]
28274         * malloc/hooks.c
28275         (magicbyte): Convert to a function and avoid returning 0x01.
28276         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28277         (mem2chunk_check): Fix unsigned comparisons to zero.
28278         Hoist defs of sz and magic.
28280 2015-05-19  Richard Henderson  <rth@redhat.com>
28282         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28284         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28286 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28288         [BZ #16159]
28289         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28290         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28291         (reused_arena): Find a non-corrupt arena.
28292         (heap_trim): Pass arena to unlink.
28293         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28294         malloc_printerr.
28295         (top_check): Likewise.
28296         (free_check): Likewise.
28297         (realloc_check): Likewise.
28298         * malloc/malloc.c (malloc_printerr): Add arena argument.
28299         (unlink): Likewise.
28300         (munmap_chunk): Adjust.
28301         (ARENA_CORRUPTION_BIT): New macro.
28302         (arena_is_corrupt): Likewise.
28303         (set_arena_corrupt): Likewise.
28304         (sysmalloc): Use mmap if there are no usable arenas.
28305         (_int_malloc): Likewise.
28306         (__libc_malloc): Don't fail if arena_get returns NULL.
28307         (_mid_memalign): Likewise.
28308         (__libc_calloc): Likewise.
28309         (__libc_realloc): Adjust for additional argument to
28310         malloc_printerr.
28311         (_int_free): Likewise.
28312         (malloc_consolidate): Likewise.
28313         (_int_realloc): Likewise.
28314         (_int_memalign): Don't touch corrupt arenas.
28315         * malloc/tst-malloc-backtrace.c: New test case.
28317         * Makefile (summarize-tests): Fix return value on success.
28319         * manual/string.texi (Envz Functions): Add envz_remove.
28321 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28323         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28324         (invalid_name): New function, broken out of ...
28325         (__opendirat): ... here.  Call it.
28326         (need_isdir_precheck): New function, broken out of ...
28327         (__opendirat): ... here.  Call it.
28328         Use __fxstatat64, not __xstatat64.
28329         (opendir_oflags): New function, broken out of ...
28330         (__opendirat): ... here.  Call it.
28331         (opendir_tail): New function, broken out of ...
28332         (__opendirat): ... here.  Call it.
28333         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28334         opendir_tail, rather than punting to __opendirat.
28335         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28337 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28339         * .gitignore: Ignore generated *.pyc.
28341 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
28343         * include/stdio.h: Define __need_wint_t.
28344         * test-skeleton.c: Avoid `for' loop initial declaration.
28345         * nptl/tst-initializers1.c: Use test-skeleton.c.
28347 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28349         [BZ #18418]
28350         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28352 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28354         [BZ #16352]
28355         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28356         (__ieee754_atanh): Force underflow exception for results with
28357         small absolute value.
28358         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28359         (__ieee754_atanhf): Force underflow exception for results with
28360         small absolute value.
28361         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28362         (__ieee754_atanh): Force underflow exception for results with
28363         small absolute value.
28364         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28365         (__ieee754_atanhf): Force underflow exception for results with
28366         small absolute value.
28367         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
28368         (__ieee754_atanhl): Force underflow exception for results with
28369         small absolute value.
28370         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
28371         (__ieee754_atanhl): Force underflow exception for results with
28372         small absolute value.
28373         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
28374         (__ieee754_atanhl): Force underflow exception for results with
28375         small absolute value.
28376         * math/auto-libm-test-in: Do not allow missing underflow
28377         exceptions from atanh.
28378         * math/auto-libm-test-out: Regenerated.
28380         [BZ #18221]
28381         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
28382         2**-28 as threshold for returning x or +/- 1/x.
28383         * math/auto-libm-test-in: Add more tests of tan.
28384         * math/auto-libm-test-out: Regenerated.
28386         [BZ #18220]
28387         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28388         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
28389         * math/auto-libm-test-in: Add another test of lgamma.
28390         * math/auto-libm-test-out: Regenerated.
28392 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
28394         * stdio-common/printf_fp.c (___printf_fp): Use abs.
28395         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
28396         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
28397         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
28398         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
28399         (ADD2A): Use fabs.  (SUB2A): Use fabs.
28400         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
28401         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
28402         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
28403         (log1): Use fabs.  (my_log2): Use fabs.
28404         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
28405         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
28406         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
28407         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
28408         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
28409         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
28410         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
28411         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
28412         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
28413         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
28414         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
28416 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28418         [BZ #18217]
28419         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
28420         as threshold for returning 1 - x.
28421         * math/auto-libm-test-in: Add more tests of erfc.
28422         * math/auto-libm-test-out: Regenerated.
28424 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
28426         [BZ #18196]
28427         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
28428         threshold for large arguments.
28429         * math/auto-libm-test-in: Add another test of atan.
28430         * math/auto-libm-test-out: Regenerated.
28432         [BZ #16339]
28433         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
28434         (__log1p): Force underflow exception for results with small
28435         absolute value.
28436         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
28437         (__log1pf): Force underflow exception for results with small
28438         absolute value.
28439         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
28440         (__log1p): Force underflow exception for results with small
28441         absolute value.
28442         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
28443         (__log1pf): Force underflow exception for results with small
28444         absolute value.
28445         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
28446         (__log1pl): Force underflow exception for results with small
28447         absolute value.
28448         * math/auto-libm-test-in: Do not allow missing underflow
28449         exceptions from log1p.
28450         * math/auto-libm-test-out: Regenerated.
28452 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
28453             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28455         [BZ #16704]
28456         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
28458 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
28460         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
28461         (libmvec): New variable.
28462         * configure.ac: Added option for mathvec build.
28463         * configure: Regenerated.
28464         * mathvec/Depend: New file.
28465         * mathvec/Makefile: New file.
28466         * shlib-versions: Added libmvec.
28467         * math/Makefile: Added rule for libm.so installation.
28469         * bits/math-vector.h: New file.
28470         * bits/libm-simd-decl-stubs.h: New header.
28471         * math/Makefile (headers): Added new header
28472         libm-simd-decl-stubs.h.
28473         * math/math.h (__MATHCALL_VEC): New macro.
28475         * math/gen-libm-have-vector-test.sh: Script generates series of macros
28476         for conditions in testing functions.
28477         * math/Makefile: Added call of libm-have-vector-test.sh.
28478         * math/libm-test.inc (HAVE_VECTOR): New macros.
28480         * math/libm-test.inc: START refactored.
28481         * math/test-double.c (TEST_MATHVEC): Add define.
28482         * math/test-float.c: Likewise.
28483         * math/test-idouble.c: Likewise.
28484         * math/test-ifloat.c: Likewise.
28485         * math/test-ildoubl.c: Likewise.
28486         * math/test-ldouble.c: Likewise.
28487         * sysdeps/generic/math-tests-arch.h
28488         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
28489         architecture check.
28491         * math/test-double.c (FUNC_TEST): New macro.
28492         * math/test-float.c: Likewise.
28493         * math/test-idouble.c: Likewise.
28494         * math/test-ifloat.c: Likewise.
28495         * math/test-ildoubl.c: Likewise.
28496         * math/test-ldouble.c: Likewise.
28497         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
28499 2015-05-13  Roland McGrath  <roland@hack.frob.com>
28501         * sysdeps/nacl/fdopendir.c: New file.
28503         * dirent/scandir-tail.c: New file.
28504         * dirent/scandir64-tail.c: New file.
28505         * dirent/Makefile (routines): Add them.
28506         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
28507         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
28508         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
28509         [!SCANDIR] (SCANDIR_TAIL): New macro.
28510         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
28511         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
28512         (SCANDIRAT): Macro removed.
28513         (SCANDIR_TAIL): New macro.
28514         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
28515         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
28516         (SCANDIRAT): Just call __opendirat and __scandir_tail.
28517         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
28518         (READDIR): Macro removed.
28519         (SCANDIR_TAIL): New macro.
28520         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
28521         (SCANDIR_TAIL): New macro.
28523         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
28524         * dirent/scandir-cancel.c: ... to this new file.
28525         * dirent/Makefile (routines): Add it.
28526         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
28527         * sysdeps/unix/sysv/linux/i386/scandir64.c
28528         (SKIP_SCANDIR_CANCEL): Macro removed.
28529         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
28531         * dirent/tst-scandir.c: New file.
28532         * dirent/tst-scandir64.c: New file.
28533         * dirent/Makefile (tests): Add them.
28535 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
28537         [BZ #18409]
28538         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
28540 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28542         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
28543         list.
28545 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
28547         * benchtests/bench-strcoll.c: New benchmark.
28548         * benchtests/Makefile: Generate locales and run benchmark.
28549         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
28550         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
28551         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
28552         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
28553         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
28554         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
28555         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
28556         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
28557         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
28558         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
28559         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
28560         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
28561         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
28562         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
28563         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
28564         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
28565         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
28566         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
28567         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
28568         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
28569         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
28570         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
28571         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
28572         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
28574 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
28576         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
28577         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28579 2015-05-12  Roland McGrath  <roland@hack.frob.com>
28581         * posix/uname-values.h: New file.
28582         * posix/uname.c: Include that instead of <config-name.h>.
28583         * sysdeps/nacl/uname-values.h: New file.
28584         * sysdeps/arm/nacl/uname-values.h: New file.
28586 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
28588         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
28589         splitting into fields.
28591 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
28593         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
28594         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
28595         * locale/localeinfo.h: Add enum collation_encoding_type.
28596         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
28597         * programs/ld-collate.c (collate_output): Add encoding type info.
28598         * string/strcoll_l.c (STRDIFF): New function.
28599         * (STRCOLL): Use STRDIFF to skip over equal prefix.
28600         * wcsmbs/wcscoll_l.c: Define STRDIFF.
28602 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
28604         [BZ #18397]
28605         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
28606         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
28607         <fpu_control.h> instead of <math/fpu_control.c>.
28608         * sysdeps/mips/mips32/fpu/Makefile: New file.
28610 2015-05-11  Andreas Schwab  <schwab@suse.de>
28612         [BZ #18007]
28613         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
28614         nss_endgrent.
28615         (_nss_compat_endgrent): Call nss_endgrent.
28616         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
28617         nss_endpwent.
28618         (_nss_compat_endpwent): Call nss_endpwent.
28619         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
28620         needent, call nss_setspent only if non-zero.
28621         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
28622         (internal_endspent): Don't call nss_endspent.
28623         (_nss_compat_endspent): Call nss_endspent.
28624         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
28625         Remove.  All uses removed.
28626         (internal_setent): Remove parameter stayopen, add parameter
28627         stream.  Use it instead of global variable.
28628         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
28629         (internal_endent, internal_getent): Add parameter stream.  Use it
28630         instead of global variable.
28631         (CONCAT(_nss_files_end,ENTNAME))
28632         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
28633         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
28634         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
28635         uses removed.
28636         (internal_setent, internal_endent): Add parameter stream.  Use it
28637         instead of global variable.
28638         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
28639         stream.
28640         (get_next_alias): Add parameter stream.
28641         (_nss_files_getaliasent_r): Pass global stream.
28642         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
28643         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
28644         (_nss_files_gethostbyname4_r): Pass local stream to
28645         internal_setent, internal_getent and internal_endent.  Remove
28646         locking.
28648 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28650         * tst-strfmon1.c (tests): Update expected currency symbol.
28652 2015-05-08  Roland McGrath  <roland@hack.frob.com>
28654         * sysdeps/nacl/gethostname.c: New file.
28656 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
28658         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
28659         and sinh.
28660         * math/auto-libm-test-out: Regenerated.
28661         * sysdeps/i386/fpu/libm-test-ulps: Update.
28662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28664 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
28666         [BZ #18125]
28667         * stdlib/tst-setcontext3.c: New file.
28668         * stdlib/tst-setcontext3.sh: New file.
28669         * stdlib/Makefile (tests): Add tst-setcontext3.
28670         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
28671         to verify test program created output file.
28672         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
28673         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
28674         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
28675         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
28677 2015-05-06  Roland McGrath  <roland@hack.frob.com>
28679         [BZ #18383]
28680         * elf/tst-tlsalign.c: New file.
28681         * elf/tst-tlsalign-static.c: New file.
28682         * elf/tst-tlsalign-lib.c: New file.
28683         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
28684         (tests-static): Add tst-tlsalign-static.
28685         (modules-names): Add tst-tlsalign-lib.
28686         (test-xfail-tst-tlsalign): New variable.
28687         (test-xfail-tst-tlsalign-static): New variable.
28689         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
28690         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
28692 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
28694         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
28695         csqrt, erfc, sin and sincos.
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 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28702         * sysdeps/aarch64/libm-test-ulps: Update.
28704 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
28706         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
28707         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
28708         * math/auto-libm-test-out: Regenerated.
28709         * sysdeps/i386/fpu/libm-test-ulps: Update.
28710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28712 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28714         [BZ #18265]
28715         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
28716         (wcsncpy): Likewise.
28718 2015-05-05  Florian Weimer  <fweimer@redhat.com>
28720         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
28721         Assume __ASSUME_FALLOCATE is always true.
28722         * sysdeps/unix/sysv/linux/posix_fallocate64.c
28723         (__posix_fallocate64_l64): Likewise.
28724         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
28725         (posix_fallocate): Likewise.
28726         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
28727         (__posix_fallocate64_l64): Likewise.
28728         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28729         [!__ASSUME_FALLOCATE]: Add comment.
28731 2015-05-05  Florian Weimer  <fweimer@redhat.com>
28733         * sysdeps/unix/sysv/linux/i386/Makefile
28734         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
28735         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
28736         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
28737         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28738         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28739         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
28740         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
28742 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
28744         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
28745         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
28746         tgamma.
28747         * math/auto-libm-test-out: Regenerated.
28748         * sysdeps/i386/fpu/libm-test-ulps: Update.
28749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28751 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
28753         * math/auto-libm-test-in: Add more tests of tgamma.
28754         * math/auto-libm-test-out: Regenerated.
28755         * sysdeps/i386/fpu/libm-test-ulps: Update.
28756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28758         * math/auto-libm-test-in: Add more tests of tanh.
28759         * math/auto-libm-test-out: Regenerated.
28760         * sysdeps/i386/fpu/libm-test-ulps: Update.
28761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28763         * math/auto-libm-test-in: Add more tests of tan.
28764         * math/auto-libm-test-out: Regenerated.
28765         * sysdeps/i386/fpu/libm-test-ulps: Update.
28766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28768         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
28769         * math/auto-libm-test-out: Regenerated.
28770         * sysdeps/i386/fpu/libm-test-ulps: Update.
28771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28773         * math/auto-libm-test-in: Add another test of pow.
28774         * math/auto-libm-test-out: Regenerated.
28775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28777         * math/auto-libm-test-in: Add more tests of lgamma.
28778         * math/auto-libm-test-out: Regenerated.
28779         * sysdeps/i386/fpu/libm-test-ulps: Update.
28780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28782         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
28783         log1p.
28784         * math/auto-libm-test-out: Regenerated.
28785         * sysdeps/i386/fpu/libm-test-ulps: Update.
28786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28788 2015-05-01  Mark Wielaard  <mjw@redhat.com>
28790         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
28791         Elf64_Chdr structs and ELFCOMPRESS constants.
28793 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
28795         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
28796         expm1.
28797         * math/auto-libm-test-out: Regenerated.
28798         * sysdeps/i386/fpu/libm-test-ulps: Update.
28799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28801         * math/auto-libm-test-in: Add more tests of erf and erfc.
28802         * math/auto-libm-test-out: Regenerated.
28803         * sysdeps/i386/fpu/libm-test-ulps: Update.
28804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28806 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28808         * config.h.in (HAVE_AARCH64_BE): Add.
28810 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
28812         * math/auto-libm-test-in: Add more tests of csqrt.
28813         * math/auto-libm-test-out: Regenerated.
28814         * sysdeps/i386/fpu/libm-test-ulps: Update.
28815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28817         * math/auto-libm-test-in: Add more tests of cosh and sinh.
28818         * math/auto-libm-test-out: Regenerated.
28819         * sysdeps/i386/fpu/libm-test-ulps: Update.
28820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28822         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
28824 2015-04-29  Roland McGrath  <roland@hack.frob.com>
28826         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
28827         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
28829         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
28830         (euidaccess, eaccess): Define as weak aliases.
28832         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
28833         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
28834         but __suseconds_t is often 'long int' so some sources assume that
28835         type is being used (e.g. they use %ld to print tv_usec).
28837 2015-04-29  Florian Weimer  <fweimer@redhat.com>
28839         [BZ #18007]
28840         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
28841         (CVE-2014-8121)
28842         * nss/tst-nss-getpwent.c: New file.
28843         * nss/Makefile (tests): Add new test.
28845 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
28847         [BZ #18346]
28848         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
28849         exponents less than 48 as cases where high part of mantissa needs
28850         examining to determine whether argument is integral.
28851         * math/libm-test.inc (round_test_data): Add more tests.
28853 2015-04-28  Mark Wielaard  <mjw@redhat.com>
28855         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
28857 2015-04-27  David S. Miller  <davem@davemloft.net>
28859         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
28860         __tls_get_addr.
28861         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28863 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
28865         [BZ#18333]
28866         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
28868 2015-04-27  Florian Weimer  <fweimer@redhat.com>
28870         [BZ#18333]
28871         * time/tzset.c (parse_tzname): Return error on memory allocation
28872         failure.
28873         * test-skeleton.c (struct temp_name_list): Change type of name
28874         member to non-const.
28875         (add_temp_file): Create a copy of the file name.
28876         (delete_temp_files): Deallocate memory.
28877         (create_temp_file): Add comment.
28879 2015-04-24  Florian Weimer  <fweimer@redhat.com>
28881         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
28882         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
28884 2015-04-24  Roland McGrath  <roland@hack.frob.com>
28886         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
28887         * sysdeps/arm/configure: Regenerated.
28889 2015-04-24  Florian Weimer  <fweimer@redhat.com>
28891         [BZ #17715]
28892         * time/tzfile.c (__tzfile_read): Check for large values of
28893         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
28894         * time/tzset.c (__tzstring_len): New function, based on the old
28895         __tzstring function.
28896         (__tzstring): Call __tzstring_len.
28897         (parse_tzname): New helper function extracted from
28898         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
28899         the input string.
28900         (parse_offset): New helper function extracted from
28901         __tzset_parse_tz.  Replace switch with fallthrough with
28902         initialization before sscanf.
28903         (parse_rule): Likewise.
28904         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
28905         new-style function definition.
28906         * timezone/Makefile (tests): Add tst-tzset.
28907         (tst-tzset.out): Dependencies on time zone files.
28908         (tst-tzset-ENV): Set TZDIR.
28909         (testdata/XT%): Copy crafted time zone files.
28910         * timezone/README: Mention crafted time zone files.
28911         * timezone/testdata/XT1, timezone/testdata/XT2,
28912         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
28913         files.
28914         * timezone/tst-tzset.c: New test.
28916 2015-04-24  Florian Weimer  <fweimer@redhat.com>
28918         * Makeconfig (+gccwarn): Remove -Winline.
28920 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28922         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
28924 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28926         * NEWS: Mention sysconf() cache information support for s390.
28927         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
28929 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
28931         * math/k_casinh.c (__kernel_casinh): Use __copysign.
28932         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
28933         (__nearbyint): Likewise.
28934         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
28935         (copysignl): Likewise.
28937 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
28939         [BZ #18287]
28940         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
28941         based on padding.  (CVE-2015-1781)
28943 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28945         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
28946         libc-vdso.h.
28947         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
28948         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
28949         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
28950         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28951         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28952         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
28953         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
28954         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28955         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28956         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
28957         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28958         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28959         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28960         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
28961         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28962         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
28963         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
28964         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
28965         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
28966         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
28967         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
28968         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
28969         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
28971 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
28973         * stdlib/setenv.c (__add_to_environ):
28974         Dump core quickly if setenv (..., NULL, ...) is called.
28975         This time, do it the right way, and pacify GCC with a pragma.
28977 2015-04-17  Roland McGrath  <roland@hack.frob.com>
28979         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
28980         IMAP->l_prev cannot be null, and #if out the code for the contrary
28981         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
28982         believe that NS (&_dl_ns[NSID]) could point outside the array.
28984         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
28985         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
28986         before using NSID as an index.
28988 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
28990         [BZ #17825]
28991         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
28992         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
28993         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28995 2015-04-17  Roland McGrath  <roland@hack.frob.com>
28997         Add preliminary port to Google Native Client on ARM.
28998         * abi-tags (.*-.*-nacl.*): New entry.
28999         * sysdeps/arm/nacl: New directory.
29000         * sysdeps/nacl: New directory.
29002 2015-04-16  David S. Miller  <davem@davemloft.net>
29004         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29005         lowlevellock-futex.h
29007 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
29009         * sysdeps/tile/configure.ac: New file.
29010         * sysdeps/tile/configure: Regenerated.
29012 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29014         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
29015         conditionals for weak_alias and libc_hidden_weak.
29016         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
29017         libc_hidden_weak and weak_alias.
29018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
29019         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
29020         and weak_alias for static one.
29022 2015-04-15  David S. Miller  <davem@davemloft.net>
29024         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29026 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29028         [BZ #18206]
29029         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29030           Use signed comparision instead of substraction to avoid
29031           overflow bug.
29032         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
29033           Take the sign of ret.
29034         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
29035           Do not expect precise return values. Only the sign matters.
29036         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
29037         * wcsmbs/test-wcsncmp.c: New File.
29038         * string/test-strncmp.c: Add wcsncmp support.
29040 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29042         [BZ #6792]
29043         * math/w_log1p.c: New file.
29044         * math/w_log1pf.c: Likewise.
29045         * math/w_log1pl.c: Likewise.
29046         * math/Makefile (libm-calls): Add w_log1p.
29047         * math/s_log1pl.c (log1pl): Remove weak_alias.
29048         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
29049         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29050         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29051         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29052         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29053         [NO_LONG_DOUBLE] (log1pl): Likewise.
29054         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29055         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29056         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29057         (log1p): Remove long_double_symbol.
29058         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29059         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29060         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29061         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29062         remove weak_alias for corresponding log1p function.
29063         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29064         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29065         * sysdeps/ia64/fpu/w_log1p.c: New file.
29066         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29067         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29068         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29070 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29072         [BZ #18247]
29073         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29074         decimal exponent by 1.
29075         * stdlib/tst-strtod-round-data: Add more tests.
29076         * stdlib/tst-strtod-round.c (tests): Regenerated.
29078 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29080         * math/auto-libm-test-in: Add more tests of clog and clog10.
29081         * math/auto-libm-test-out: Regenerated.
29082         * sysdeps/i386/fpu/libm-test-ulps: Update.
29083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29085 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29087         * Makeconfig (module-cppflags): Exclude all .v.i files.
29088         (skip-module-cppflags): Variable removed.
29090         * configure.ac (libc_config_ok): Initialize before reading
29091         preconfigure scripts, not after.
29092         * configure: Regenerated.
29094         * test-skeleton.c (TIMEOUT): Move #define to top level.
29095         (main): Grok environment variable TEST_DIRECT.  If set, print
29096         test expectation details into that file and then behave as if
29097         given --direct.
29099 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29101         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29102         warning on 32-bit.
29104 2015-04-08  David S. Miller  <davem@davemloft.net>
29106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29108 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29110         * math/auto-libm-test-in: Add more tests of atanh.
29111         * math/auto-libm-test-out: Regenerated.
29112         * sysdeps/i386/fpu/libm-test-ulps: Update.
29113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29115         * math/auto-libm-test-in: Add more tests of atan.
29116         * math/auto-libm-test-out: Regenerated.
29117         * sysdeps/i386/fpu/libm-test-ulps: Update.
29118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29120 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29122         * elf/pldd.c (main): Rewrite to use struct
29123         scratch_buffer instead of extend_alloca.
29124         * elf/pldd-xx.c (find_maps): Likewise.
29125         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29126         <alloca.h>.
29127         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29128         scratch_buffer instead of extend_alloca.
29129         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29130         grp/compat-initgroups.c.
29131         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29132         Rewrite to use struct scratch_buffer instead of extend_alloca.
29133         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29134         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29136 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29138         * math/auto-libm-test-in: Add more tests of cbrt.
29139         * math/auto-libm-test-out: Regenerated.
29140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29142         * math/auto-libm-test-in: Add more tests of cabs.
29143         * math/auto-libm-test-out: Regenerated.
29144         * sysdeps/i386/fpu/libm-test-ulps: Update.
29145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29147         [BZ #18210]
29148         [BZ #18211]
29149         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29150         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29151         computations.
29152         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29153         clog10.
29154         * math/auto-libm-test-out: Regenerated.
29155         * sysdeps/i386/fpu/libm-test-ulps: Update.
29156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29158         [BZ #18197]
29159         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29160         (atan): Set FE_TONEAREST mode for internal computations.
29161         * math/auto-libm-test-in: Add more tests of atan.
29162         * math/auto-libm-test-out: Regenerated.
29164 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29166         [BZ #17930]
29167         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29169 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29171         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29173 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29175         * include/scratch_buffer.h: New file.
29176         * malloc/scratch_buffer_grow.c: Likewise.
29177         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29178         * malloc/scratch_buffer_set_array_size.c: Likewise.
29179         * malloc/tst-scratch_buffer.c: Likewise.
29180         * malloc/Makefile (routines): Add scratch_buffer_grow.
29181         (tests): Add test case.
29182         * malloc/Versions (GLIBC_PRIVATE): Export
29183         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29184         __libc_scratch_buffer_set_array_size.
29186 2015-04-06  Richard Henderson  <rth@redhat.com>
29188         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29189         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29191         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29192         unsigned int before printing.
29194 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29196         [BZ #17596]
29197         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29198         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29200 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29202         * include/libc-internal.h (libc_max_align_t): Define.
29204 2015-04-02  Andreas Schwab  <schwab@suse.de>
29206         [BZ #16850]
29207         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29209 2015-04-02  Mel Gorman  <mgorman@suse.de>
29211         [BZ #17195]
29212         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29213         as well as the main arena.
29215 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29217         [BZ #18185]
29218         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29219         sharing L2 cache to 2 for Silvermont/Knights Landing.
29221 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29223         [BZ #17711]
29224         * config.make.in (have-protected-data): New.
29225         * configure.ac: Check linker support for protected data symbol.
29226         * configure: Regenerated.
29227         * elf/Makefile (modules-names): Add tst-protected1moda and
29228         tst-protected1modb if $(have-protected-data) is yes.
29229         (tests): Add tst-protected1a and tst-protected1b if
29230         $(have-protected-data) is yes.
29231         ($(objpfx)tst-protected1a): New.
29232         ($(objpfx)tst-protected1b): Likewise.
29233         (tst-protected1modb.so-no-z-defs): Likewise.
29234         * elf/tst-protected1a.c: New file.
29235         * elf/tst-protected1b.c: Likewise.
29236         * elf/tst-protected1mod.h: Likewise.
29237         * elf/tst-protected1moda.c: Likewise.
29238         * elf/tst-protected1modb.c: Likewise.
29240 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29242         [BZ #17711]
29243         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29244         indicates it is called from do_lookup_x on relocation against
29245         protected data, skip the data definion in the executable from
29246         copy reloc.
29247         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29248         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29249         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29250         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29251         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29252         otherwise to 0.
29253         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29254         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29255         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29256         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29257         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29258         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29260 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29262         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29263         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29265 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29267         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29268         THREAD_SETMEM_NC.
29269         * sysdeps/x86_64/nptl/tls.h: Ditto.
29271 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29273         * dlfcn/tststatic.c (main): Converted to ...
29274         (do_test): ... this.
29275         (TEST_FUNCTION): New macro.
29276         Include test-skeleton.c.
29278 2015-03-26  Alan Modra  <amodra@gmail.com>
29280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29281         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29282         zero for undefined weak.
29283         (elf_machine_plt_conflict): Similarly.
29285 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29287         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29288         atanh.
29289         * math/auto-libm-test-out: Regenerated.
29290         * sysdeps/i386/fpu/libm-test-ulps: Update.
29291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29293         * math/auto-libm-test-in: Add another test of asin.
29294         * math/auto-libm-test-out: Regenerated.
29295         * sysdeps/i386/fpu/libm-test-ulps: Update.
29296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29298         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29299         Remove macro.
29300         (LLL_EBX_REG): Likewise.
29301         (LLL_ENTER_KERNEL): Likewise.
29303         * math/auto-libm-test-in: Add more tests of asin.
29304         * math/auto-libm-test-out: Regenerated.
29305         * sysdeps/i386/fpu/libm-test-ulps: Update.
29306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29308         [BZ #18138]
29309         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29310         libc_do_syscall_args): New structure.
29311         (INTERNAL_SYSCALL_MAIN_0): New macro.
29312         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29313         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29314         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29315         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29316         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29317         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29318         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29319         Replace conditional definitions by conditional definitions of ....
29320         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29321         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29322         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29323         (libpthread-sysdep_routines): Add libc-do-syscall.
29324         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29325         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29326         to __NR_futex not 240.
29328 2015-03-25  Alan Modra  <amodra@gmail.com>
29330         * NEWS: Advertise TLS optimization.
29331         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29332         (DT_PPC_NUM): Increment.
29333         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29334         (CHECK_STATIC_TLS): Use here.
29335         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29336         TLS descriptors.
29337         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29338         * sysdeps/powerpc/dl-tls.c: New file.
29339         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29340         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29341         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29342         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29347 2015-03-25  Alan Modra  <amodra@gmail.com>
29349         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29350         for overlapping .opd entries" to "support...".
29351         * sysdeps/powerpc/powerpc64/configure: Regenerate
29353 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29355         * math/auto-libm-test-in: Add more tests of acos.
29356         * math/auto-libm-test-out: Regenerated.
29357         * sysdeps/i386/fpu/libm-test-ulps: Update.
29358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29360         * math/auto-libm-test-in: Add more tests of expm1.
29361         * math/auto-libm-test-out: Regenerated.
29362         * sysdeps/i386/fpu/libm-test-ulps: Update.
29363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29365 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
29367         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29368         * math/auto-libm-test-out: Regenerated.
29369         * sysdeps/i386/fpu/libm-test-ulps: Update.
29370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29372         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29375         * math/auto-libm-test-in: Add more tests of log2.
29376         * math/auto-libm-test-out: Regenerated.
29377         * sysdeps/i386/fpu/libm-test-ulps: Update.
29378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29380 2015-03-23  Roland McGrath  <roland@hack.frob.com>
29382         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
29383         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
29384         _IO_IS_APPENDING bit in READ_WRITE instead.
29386 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29388         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
29389         (__determine_cpumask_size): Replace extend_alloca with a
29390         variable-length array.  Do not treat res == 0 as an error.
29392 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29394         [BZ #18100]
29395         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
29396         and integer overflow.
29397         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
29398         (main): Add integer overflow tests.
29399         * manual/pattern.texi (Calling Wordexp): Document additional use
29400         for WRDE_SYNTAX.
29402 2015-03-23  Alan Modra  <amodra@gmail.com>
29404         * config.h.in: Remove HAVE_ASM_PPC_REL16.
29405         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
29406         and false branch of conditional.
29407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29408         Likewise.
29410 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
29412         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
29413         libc-modules.h
29414         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
29415         unused declaration of _hurd_intr_rpc_msg_in_trap.
29416         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
29417         defined instead of whether it is non-zero.
29418         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
29419         input constraint instead of both input and output constraint.  Use ecx
29420         clobber instead of %ecx.
29421         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
29422         mutex_unlock): Use a statement expression instead of an expression list.
29423         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
29424         type to vm_size_t instead of vm_address_t.
29425         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
29426         defined instead of whether it is non-zero.
29427         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
29428         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
29429         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
29430         comparisons with mapaddr.
29431         * nscd/nscd-client.h: Include <time.h>.
29432         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
29433         9th parameter to __vm_region instead of int.
29434         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
29435         * scripts/check-local-headers.sh (exclude): Add device/,
29436         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
29437         cthreads.h.
29439 2015-03-19  Roland McGrath  <roland@hack.frob.com>
29441         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
29442         to account for alignment padding.
29443         * sysdeps/arm/memmove.S: Likewise.
29445 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
29447         * sysdeps/unix/sysv/linux/generic/README: New file.
29449 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
29451         [BZ #18138]
29452         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
29453         (futex_abstimed_wait)
29454         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
29455         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
29456         of lll_futex_timed_wait.
29458 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
29460         [BZ #17542]
29461         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
29463 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
29465         [BZ #17090]
29466         [BZ #17620]
29467         [BZ #17621]
29468         [BZ #17628]
29469         * NEWS: Update.
29470         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
29471         entries with Static TLS too.  Skip entries past the end of the
29472         allocated DTV, from Alan Modra.
29473         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
29474         Static TLS DTV entry set up from...
29475         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
29476         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
29477         * nptl/allocatestack.c (init_one_static_tls): ... and here...
29478         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
29479         for Static TLS.
29480         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
29481         that the slot we find is associated with the given map before
29482         using its generation count.
29483         * nptl_db/db_info.c: Include ldsodefs.h.
29484         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
29485         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
29486         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
29487         (link_map::l_tls_offset): New struct field.
29488         (dtv_t::counter): Likewise.
29489         (rtld_global): New struct.
29490         (_rtld_global): New rtld variable.
29491         (dl_tls_dtv_slotinfo_list): New rtld global field.
29492         (dtv_slotinfo_list): New struct.
29493         (dtv_slotinfo): Likewise.
29494         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
29495         (td_lookup): Rename to...
29496         (td_mod_lookup): ... this.  Use new mod parameter instead of
29497         LIBPTHREAD_SO.
29498         * nptl_db/td_thr_tlsbase.c: Include link.h.
29499         (dtv_slotinfo_list, dtv_slotinfo): New functions.
29500         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
29501         addresses even if the DTV is out of date or missing them.
29502         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
29503         index zero-length arrays.
29504         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
29505         (td_lookup): Make it a macro implemented in terms of...
29506         (td_mod_lookup): ... this declaration.
29507         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
29508         (DB_MAIN_VARIABLE): Likewise.
29510 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29512         [BZ #18134]
29513         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29515 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
29517         * stdlib/setenv.c (__add_to_environ): Revert previous change.
29519 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
29521         [BZ #18128]
29522         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
29523         (atomic_add, atomic_increment_and_test)
29524         (atomic_decrement_and_test): Fix 64-bit arithmetic.
29526 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
29528         * stdlib/setenv.c (__add_to_environ):
29529         Dump core quickly if setenv (..., NULL, ...) is called.
29531 2015-03-13  Roland McGrath  <roland@hack.frob.com>
29533         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
29534         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
29535         all the necessary asm magic in one place.
29536         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
29537         using those.
29539 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
29541         [BZ #14906]
29542         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
29543         traced file mtime. Use consistent log message.
29544         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
29545         (register_traced_file): Call install_watches. Always set mtime.
29546         (invalidate_cache): Iterate over all trace files. Call install_watches.
29547         (inotify_check_files): Don't inline. Handle watching parent
29548         directories and configuration file movement in and out.
29549         (handle_inotify_events): New function.
29550         (main_loop_poll): Call handle_inotify_events.
29551         (main_loop_epoll): Likewise.
29552         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
29553         (struct traced_file): Use array of inotify fds. Add parent directory,
29554         and basename.
29555         (struct database_dyn): Remove unused file_mtime.
29556         (init_traced_file): New inline function.
29557         (define_traced_file): New macro.
29558         * nss/nss_db/db-init.c: Use define_traced_file.
29559         (_nss_db_init): Use init_traced_file.
29560         * nss/nss_files/files-init.c: Use define_traced_file.
29561         (_nss_files_init): Use init_traced_file.
29563 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
29565         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
29566         [_LIBC]: Do not include <stdlib.h>.
29567         [!_LIBC] (abort): Remove declaration.
29568         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
29569         _FP_STATIC_ASSERT instead of conditionally calling abort.
29570         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
29571         (_FP_EXTEND_CNAN): Likewise.
29572         (FP_TRUNC): Likewise.
29573         (__FP_CLZ): Likewise.
29574         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
29576 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
29578         * manual/string.texi (XPG basename): Fix prototype.
29580 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29582         [BZ #18080]
29583         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
29584         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29585         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
29586         (__setcontext): Likewise.
29587         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
29588         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29589         Call rt_sigprocmask syscall one time to set new signal mask
29590         and retrieve the current signal mask instead of two calls.
29591         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
29592         (__swapcontext): Likewise.
29593         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
29594         * stdlib/tst-setcontext2.c: New file.
29596 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29598         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29600 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
29602         [BZ #18093]
29603         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
29604         the wrong size.
29606 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29608         [BZ #18043]
29609         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
29611 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29613         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
29614         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
29615         Remove define.
29616         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
29617         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
29618         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
29619         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
29620         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
29621         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
29622         define.
29623         * nptl_db/td_symbol_list.c (td_lookup): Remove
29624         HAVE_ASM_GLOBAL_DOT_NAME code.
29625         * sysdeps/powerpc/powerpc64/configure.ac: Remove
29626         HAVE_ASM_GLOBAL_DOT_NAME check.
29627         * sysdeps/powerpc/powerpc64/configure: Regenerate.
29628         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
29629         (DOT_LABEL): Remove define.
29630         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
29631         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
29632         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
29633         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
29634         (__TLS_GET_ADDR): Likewise.
29635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
29636         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
29638 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
29640         [BZ #18111]
29641         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
29642         (_FPU_SETCW): Initialize cw from fpsr before storing.
29643         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
29644         (fesetexceptflag): Rewrite using fpu_control.h.
29645         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
29647 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
29649         [BZ #18110]
29650         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
29651         asms.
29652         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29654 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
29656         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
29657         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
29658         abort.
29659         (_FP_FMA): Likewise.
29660         (_FP_DIV): Likewise.
29662 2015-03-10  Roland McGrath  <roland@hack.frob.com>
29664         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
29665         with 0 in that case.
29666         * Makefile (summarize-tests): New canned sequence, factored out of
29667         commands for targets tests and xtests.  Display summary lines that
29668         don't start with PASS: or XFAIL: rather than ones that do start with
29669         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
29670         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
29671         do start with ERROR: or FAIL:.
29672         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
29673         (except for [$(build-shared) = yes]).
29674         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
29675         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
29676         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
29677         * nptl/Makefile: Revert 2015-03-04 changes.
29678         [$(CXX) empty] (tests-unsupported): New variable.
29679         * debug/Makefile: Likewise.
29681         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
29682         gnulib file.  Replace __attribute with __attribute__ throughout.
29684 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
29686         * sysdeps/hppa/fpu/libm-test-ulps: Update.
29688 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
29690         [BZ #18104]
29691         * math/auto-libm-test-in: Add another test of pow.
29692         * math/auto-libm-test-out: Regenerated.
29694 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29696         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
29697         $(config-cflags-nofma).
29699 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
29701         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
29702         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
29703         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
29704         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
29705         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
29706         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
29707         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
29708         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
29709         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
29710         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
29711         Add comment on closing #endif.
29713 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29715         * posix/wordexp.c (CHAR_IN_SET): New macro.
29716         (parse_param): Use it.
29718 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29720         * sysdeps/powerpc/fpu/libm-test-ulps: update.
29722 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29724         [BZ #18043]
29725         * posix/wordexp.c (parse_param): Fix buffer overflow.
29726         * posix/wordexp-test.c (test_case): Add test case.
29728 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29730         [BZ #18042]
29731         * posix/wordexp.c (parse_backtick): Fix off-by-one.
29732         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
29734 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29736         [BZ #18043]
29737         * posix/wordexp-test.c (test_case): Add test for BZ #18043
29738         (do_bz18043): Delete.
29739         (at_page_end): New.
29740         (testit): Refactor to have words at the edge of unreadable page.
29742 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29744         [BZ #16734]
29745         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
29746         Cleanup read-only streams as well.
29747         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
29749 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29751         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
29752         <bits/libc-lockP.h>
29754 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
29756         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
29757         on [__KERNEL__].
29758         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
29759         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
29760         * soft-fp/op-common.h (_FP_DECL): Likewise.
29762 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
29764         * elf/ifuncdep2.c (global): Replace
29765         __attribute__((visibility("protected"))) with
29766         asm (".protected global").
29767         * elf/ifuncmod1.c (global): Likewise.
29768         * elf/ifuncmod5.c (global): Likewise.
29770 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
29772         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
29773         <asm/sfp-machine.h> instead of <sfp-machine.h>.
29775 2015-03-06  Roland McGrath  <roland@hack.frob.com>
29777         * manual/install.texi (Configuring and compiling):
29778         Document test-wrapper-env-only.
29779         * INSTALL: Regenerated.
29781 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29783         [BZ #18043]
29784         * posix/wordexp.c (parse_param): Fix buffer overflow.
29785         * posix/wordexp-test.c (do_bz18043): Add test case.
29787 2015-03-06  Vincent Bernat  <vincent@bernat.im>
29789         * time/tst-strptime2.c (do_test): Ensure failing tests are
29790         reported correctly.
29791         * time/tst-strptime3.c (do_test): Likewise.
29793 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
29795         Fix aio_error thread-safety.
29796         * sysdeps/pthread/aio_error.c: New file
29797         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
29798         synchronization.
29800 2015-03-06  Florian Weimer  <fweimer@redhat.com>
29802         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
29803         (group_number, vfprintf): Use it.
29804         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
29805         (JUMP, REF): Use it.
29806         (WORK_BUFFER_SIZE): New enum constant.
29807         (process_arg, vfprintf): Use it.
29809 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
29811         * manual/errno.texi (Error Messages): Complete example function
29812         by adding missing #define.
29813         (program_invocation_name): Add statement indicating GNU
29814         extension and reference which header file declares the variable.
29815         (program_invocation_short_name): Likewise.
29817 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
29819         * manual/errno.texi (Error Messages): Delete strerror ISO C89
29820         compatibility note.
29822 2015-03-05  Roland McGrath  <roland@hack.frob.com>
29824         * Makeconfig (test-wrapper-env-only): New variable.
29825         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
29826         then use that with $(test-wrapper-env-only) rather than using
29827         $(test-wrapper-env) $(run-program-env) $($*-ENV).
29829 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29831         [BZ #18082]
29832         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
29833         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
29834         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
29835         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
29836         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
29837         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
29838         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
29839         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
29840         Likewise.
29841         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
29842         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
29843         Likewise.
29844         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
29845         Likewise.
29846         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
29847         Likewise.
29848         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
29849         Likewise.
29850         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
29851         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
29852         Likewise.
29853         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
29854         Likewise.
29855         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
29856         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
29858 2015-03-04  Roland McGrath  <roland@hack.frob.com>
29860         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
29861         (ETH_ALEN): New macro.
29862         (struct ether_addr): Use it for length of ether_addr_octet.
29864         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
29865         (setdb): Don't call __nss_configure_lookup for "rpc".
29866         (do_test): Don't call test_rpc.
29867         (output_rpcent, test_rpc): Functions moved ...
29868         * sunrpc/test-rpcent.c: ... to this new file.
29869         * sunrpc/Makefile (tests): Add it.
29871         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
29872         __xpg_sigpause.
29873         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
29874         * nptl/tst-signal6.c: Likewise.
29875         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
29876         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
29878         * configure.ac (libc_cv_cxx_link_ok): New check.
29879         Reset CXX to empty if it fails to link.
29880         * configure: Regenerated.
29881         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
29882         bug-atexit3-lib only if $(CXX) is nonempty.
29883         * nptl/Makefile (tests): Likewise for tst-cancel24.
29884         (tests, tests-static): Likewise for tst-cancel24-static.
29885         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
29886         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
29887         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
29888         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
29890 2015-03-04  Andreas Schwab  <schwab@suse.de>
29892         [BZ #17631]
29893         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
29894         for non-GCC compilers.
29895         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
29896         Likewise.
29898 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29900         [BZ #17776]
29901         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
29902         integer before bitwise and assembly operations.
29903         (feclearexcept): Likewise.
29904         * math/test-fenvinline.c: New file.
29905         * math/Makefile: Add test-fenvinline test.
29907 2015-03-03  Alan Modra  <amodra@gmail.com>
29909         [BZ #16512]
29910         * scripts/localplt.awk: Strip off symbol version.
29911         * NEWS: Mention bug fix.
29913 2015-03-02  Roland McGrath  <roland@hack.frob.com>
29915         * sysdeps/pthread/timer_routines.c
29916         (timer_free_list, thread_free_list, thread_active_list): Make static.
29918 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
29920         [BZ #17779]
29921         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29922         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29923         Undefine.
29924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29925         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29926         Likewise.
29927         * sysdeps/unix/sysv/linux/sh/kernel-features.h
29928         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29929         Likewise.
29931 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29933         [BZ #18036]
29934         * posix/fnmatch_loop.c (END): Detect invalid pattern.
29935         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
29937 2015-03-02  Andreas Schwab  <schwab@suse.de>
29939         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
29940         variable name.
29942 2015-03-02  Florian Weimer  <fweimer@redhat.com>
29944         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
29945         Return error status.
29947 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
29949         [BZ #15969]
29950         * locale/findlocale.c (_nl_find_locale): Introduce const
29951         version of loc_name and drop unsafe type casts.
29953 2015-02-27  Roland McGrath  <roland@hack.frob.com>
29955         * dlfcn/tststatic2.c (main): Converted to ...
29956         (do_test): ... this.
29957         (TEST_FUNCTION): New macro.
29958         Include test-skeleton.c.
29960 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
29962         [BZ #17711]
29963         * elf/Makefile (tests): Add vismain only if PIE is enabled.
29964         (tests-pie): Add vismain.
29965         (CFLAGS-vismain.c): New.
29966         * elf/vismain.c: Add comments for PIE requirement.
29968 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
29970         [BZ #18046]
29971         [BZ #18047]
29972         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
29973         0x1p-56L as threshold for just returning the argument.
29974         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
29975         0x1p-32L as threshold for just returning the argument.
29976         * math/auto-libm-test-in: Add more tests of atanh.
29977         * math/auto-libm-test-out: Regenerated.
29978         * sysdeps/i386/fpu/libm-test-ulps: Update.
29979         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
29981 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
29983         * string/bcopy.c (bcopy): Call memmove for performance.
29985 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
29987         * string/bzero.c (__bzero): Call memset for performance.
29989 2015-02-27  John David Anglin  <dave.anglin@bell.net>
29991         [BZ #18068]
29992         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
29993         to 00100000.
29995 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
29997         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
29999 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30001         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
30002         (__kernel_standard): Use CSTR macro when setting exc.name.
30003         * sysdeps/ieee754/Makefile [$(subdir) = math]
30004         (CFLAGS-k_standard.c): Remove variable.
30006         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
30007         setting p and q from "else if" to "else".
30008         (qzero): Likewise.
30009         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
30010         (qone): Likewise.
30011         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
30012         (qzerof): Likewise.
30013         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
30014         (qonef): Likewise.
30015         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
30016         (qzero): Likewise.
30017         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
30018         (qone): Likewise.
30020         [BZ #18038]
30021         [BZ #18039]
30022         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
30023         return pi/2 for arguments below 0x1p-113L.
30024         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
30025         return pi/2 for arguments below 0x1p-106L.
30026         * math/auto-libm-test-in: Add more tests of acos.
30027         * math/auto-libm-test-out: Regenerated.
30029         [BZ #16351]
30030         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
30031         (MO): New macro.
30032         (__ieee754_asin): Force underflow exception for results with small
30033         absolute value.
30034         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
30035         (MO): New macro.
30036         (__ieee754_asinf): Force underflow exception for results with
30037         small absolute value.
30038         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
30039         (__ieee754_asin): Force underflow exception for results with small
30040         absolute value.
30041         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
30042         (__ieee754_asinf): Force underflow exception for results with
30043         small absolute value.
30044         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
30045         (__ieee754_asinl): Force underflow exception for results with
30046         small absolute value.
30047         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
30048         (__ieee754_asinl): Force underflow exception for results with
30049         small absolute value.
30050         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30051         (__ieee754_asinl): Force underflow exception for results with
30052         small absolute value.
30053         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30054         Include <math.h>.
30055         * math/auto-libm-test-in: Do not mark underflow exceptions as
30056         possibly missing for bug 16351.
30057         * math/auto-libm-test-out: Regenerated.
30059         [BZ #18030]
30060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30061         of power of 2 down when low part has opposite sign.
30062         * math/libm-test.inc (logb_test_data): Add more tests.
30064 2015-02-26  Andreas Schwab  <schwab@suse.de>
30066         [BZ #18032]
30067         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30068         over collating symbol inside a bracket expression.  Minor cleanup.
30069         * posix/tst-fnmatch3.c (do_test): Add test case.
30071 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30073         [BZ #18029]
30074         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30075         Adjust exponent of power of 2 down when low part has opposite
30076         sign.
30077         * math/libm-test.inc (ilogb_test_data): Add more tests.
30079 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30081         [BZ #15969]
30082         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30083         the previous change.
30085         [BZ #15969]
30086         * locale/findlocale.c (_nl_find_locale): Retry archive search
30087         after alias expansion.
30089 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30091         * iconv/tst-iconv3.c (main): Converted to ...
30092         (do_test): ... this.
30093         (TEST_FUNCTION): New macro.
30094         Include test-skeleton.c.
30096         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30097         (convert): Make function static.
30098         (test_unalign): Likewise.  Add const to argument pointee types.
30099         (main): Replace with static function do_test.
30100         Print "Succeeded." only if RET is zero.
30101         (TEST_FUNCTION): New macro.
30102         Include test-skeleton.c.
30104         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30105         returns a null pointer.
30107 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30109         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30110         to __memcpy_ppc only for static builds.
30112 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30114         [BZ #18020]
30115         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30116         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30117         * math/auto-libm-test-in: Add more tests of asinh.
30118         * math/auto-libm-test-out: Regenerated.
30119         * sysdeps/i386/fpu/libm-test-ulps: Update.
30120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30122 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
30124         [BZ #15850]
30125         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30126         and ip6_mtuinfo definitions here.
30127         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30128         in this define too.  Update comment.
30130 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30132         * elf/sprof.c (load_shobj): Tweak error message to match others.
30134 2015-02-24  Kevin Easton  <kevin@guarana.org>
30136         [BZ #16145] (partial fix)
30137         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30138         to reduce lock contention.
30140 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30142         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30143         (struct timex): Update time comment.
30144         (ADJ_SETOFFSET): Define.
30146 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30148         [BZ #18019]
30149         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30150         2**56 not 2**28 as threshold for log (2x) formula.
30151         * math/auto-libm-test-in: Add more tests of acosh.
30152         * math/auto-libm-test-out: Regenerated.
30153         * sysdeps/i386/fpu/libm-test-ulps: Update.
30154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30156 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30158         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30159         parenthesis around the buf assignment.
30160         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30162 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30164         [BZ #16783]
30165         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30166         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30167         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30168         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30169         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30170         * math/libm-test.inc (scalb_test_data): Add more tests.
30172 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30174         [BZ #17916]
30175         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30176         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30178 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30180         [BZ #17523]
30181         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30182         * io/bits/fcntl2.h (open): Use it.
30183         (openat): Likewise.
30184         * io/open.c (__libc_open): Likewise.
30185         * io/open64.c (__libc_open64): Likewise.
30186         * io/open64_2.c (__open64_2): Likewise.
30187         * io/open_2.c (__open_2): Likewise.
30188         * io/openat.c (__openat): Likewise.
30189         * io/openat64.c (__openat64): Likewise.
30190         * io/openat64_2.c (__openat64_2): Likewise.
30191         * io/openat_2.c (__openat_2): Likewise.
30192         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30193         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30194         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30195         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30196         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30197         (__open_nocancel): Likewise.
30198         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30199         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30200         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30202 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30204         [BZ #14841]
30205         * resolv/gethnamaddr.c (getanswer): Skip logging if
30206         RES_USE_DNSSEC is set.
30207         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30209 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30211         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30213 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30215         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30216         201304L, for Unicode 7.
30218 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30220         [BZ #17836]
30221         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30222         shared library.  Add gmon-start.os otherwise.
30223         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30224         $(objpfx)gmon-start.os if builing shared library.
30225         ($(objpfx)g$(static-start-installed-name)): Likewise.
30227 2015-02-23  Andreas Schwab  <schwab@suse.de>
30229         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30231 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30233         [BZ #17269]
30234         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30235         (enlarge_userbuf): Likewise.
30237 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30239         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30240         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30241         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30242         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30244 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30246         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30247         expression inside statement expression.
30249 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30251         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30252         <sysdeps/nptl/lowlevellock.h> and remove macros and
30253         functions that are now defined there.
30254         (SYS_futex): Remove.
30255         (lll_compare_and_swap): Remove.
30256         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30258 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30260         [BZ #17999]
30261         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30262         instead of scandirat.
30263         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30264         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30265         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30266         __scandirat.
30267         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30268         (__scandirat): Declare.  Use libc_hidden_proto.
30269         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30270         Remove variable.
30271         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30273 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30275         [BZ #15319]
30276         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30277         (MO): New macro.
30278         (__ieee754_atan2): For results with small absolute value, force
30279         underflow exception and remove excess range and precision from
30280         return value.
30281         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30282         (MO): New macro.
30283         (__ieee754_atan2f): For results with small absolute value, force
30284         underflow exception and remove excess range and precision from
30285         return value.
30286         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30287         (MO): New macro.
30288         (__atan): For results with small absolute value, force underflow
30289         exception and remove excess range and precision from return value.
30290         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30291         (MO): New macro.
30292         (__atanf): For results with small absolute value, force underflow
30293         exception and remove excess range and precision from return value.
30294         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30295         <math.h>.
30296         (__ieee754_atan2): Force underflow exception for results with
30297         small absolute value.
30298         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30299         <math_private.h>.
30300         (atan): Force underflow exception for results with small absolute
30301         value.
30302         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30303         (__atanf): Force underflow exception for results with small
30304         absolute value.
30305         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30306         <math.h>.
30307         (__atanl): Force underflow exception for results with small
30308         absolute value.
30309         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30310         (__atanl): Force underflow exception for results with small
30311         absolute value.
30312         * sysdeps/x86/fpu/bits/mathinline.h
30313         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30314         (__ieee754_atan2): Only define inline for long double.
30315         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30316         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30317         * math/auto-libm-test-in: Do not mark underflow exceptions as
30318         possibly missing for bug 15319.  Add more tests of atan2.
30319         * math/auto-libm-test-out: Regenerated.
30320         * math/libm-test.inc (casin_test_data): Do not mark underflow
30321         exceptions as possibly missing for bug 15319.
30322         (casinh_test_data): Likewise.
30323         * sysdeps/i386/fpu/libm-test-ulps: Update.
30325 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30327         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30328         * sysdeps/mips/bits/endian.h: Fix comments.
30330 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30332         [BZ #17996]
30333         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30334         (hdestroy_r): Likewise.
30335         (hsearch_r): Likewise.
30336         (__hcreate_r): Declare and use libc_hidden_proto.
30337         (__hdestroy_r): Likewise.
30338         (__hsearch_r): Likewise.
30339         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30340         (hcreate): Call __hcreate_r instead of hcreate_r.
30341         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30342         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30343         as weak alias of __hcreate_r.
30344         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30345         __hdestroy_r.
30346         (hsearch_r): Rename to __hsearch_r and define as weak alias of
30347         __hsearch_r.
30348         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30349         Remove variable.
30350         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30351         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30352         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30353         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30355 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30357         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30358         arena_lock into a single arena_get.
30360 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
30362         * dl-reloc.c: Inlucde libc-internal.h.
30363         (_dl_try_allocate_static_tls): Call ALIGN_UP.
30364         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30365         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
30366         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
30367         (grow_heap): Likewise.
30368         * malloc/malloc.c: Include libc-internal.h.
30369         (do_check_malloc): Call powerof2.
30370         (sysmalloc): Use pagesize. Call ALIGN_UP.
30371         (systrim): Use pagesize.
30372         (mremap_chunk): Use pagesize. Call ALIGN_UP.
30373         (__libc_valloc): Use pagesize.
30374         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
30376 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30378         [BZ #17991]
30379         * include/sys/resource.h (__getrlimit64): Declare.  Use
30380         libc_hidden_proto.
30381         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
30382         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
30383         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
30384         getrlimit64.
30385         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
30386         __getrlimit64.
30387         [!getrlimit64] (getrlimit64): Define as weak alias of
30388         __getrlimit64.  Use libc_hidden_weak.
30389         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
30390         using __getrlimit64 not __new_getrlimit64.
30391         (__GI_getrlimit64): Likewise.
30392         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
30393         Likewise.
30394         (__GI_getrlimit64): Likewise.
30395         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
30396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
30397         (getrlimit): Add __getrlimit64 alias.
30398         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
30399         Likewise.
30400         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
30401         Remove variable.
30402         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30403         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30405 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
30407         * libio/fileops.c: Add missing sys/mman.h
30408         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
30410 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30412         * manual/math.texi (Errors in Math Functions): Clarify goals
30413         regarding inexact and underflow exceptions.
30415 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30417         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
30418         * sysdeps/mips/memset.S: Ditto.
30420 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30422         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
30424 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30426         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
30427         (__v1longjmp): Remove versioned symbol.
30428         (__v1siglongjmp): Remove alias and versioned symbol.
30429         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
30430         (__v2siglongjmp): Likewise.
30432 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30434         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
30436 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
30438         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
30440 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30442         [BZ #17987]
30443         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
30444         zero result does not depend on the sign resulting from
30445         subtraction.
30446         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30447         Likewise.
30448         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30449         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30450         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30451         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30452         * math/libm-test.inc (remquo_test_data): Add more tests.
30454 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
30456         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
30457         Problem reported by J William Piggott.
30459 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30461         [BZ #17978]
30462         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
30463         products 4 * y and 2 * y where those would overflow.
30464         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30465         Likewise.
30466         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30467         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30468         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30469         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30470         * math/libm-test.inc (remquo_test_data): Add more tests.
30472         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
30474         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
30475         [defined _COMPILING_NEWLIB].
30476         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
30477         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
30479         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
30480         [!defined __mips_isa_rev || __mips_isa_rev < 6].
30482 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30484         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
30485         acquired.
30487 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
30489         [BZ #17792]
30490         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
30491         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
30492         HOST_STACK_END_ADDR): Likewise.
30494 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
30496         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
30497         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
30498         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
30500 2015-02-13  Roland McGrath  <roland@hack.frob.com>
30502         * sysdeps/generic/c++-types.data: New file.
30503         * sysdeps/generic/ld.abilist: New file.
30504         * sysdeps/generic/libBrokenLocale.abilist: New file.
30505         * sysdeps/generic/libanl.abilist: New file.
30506         * sysdeps/generic/libc.abilist: New file.
30507         * sysdeps/generic/libcrypt.abilist: New file.
30508         * sysdeps/generic/libdl.abilist: New file.
30509         * sysdeps/generic/libm.abilist: New file.
30510         * sysdeps/generic/libpthread.abilist: New file.
30511         * sysdeps/generic/libresolv.abilist: New file.
30512         * sysdeps/generic/librt.abilist: New file.
30514 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
30516         [BZ #17569]
30517         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30518         Compute absolute value of x as modified by fmod, not original
30519         value of x.
30520         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
30521         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
30522         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
30523         RUN_TEST_ffI_f1_mod8.
30524         (remquo_test_data): Add more tests.
30526 2015-02-13  Roland McGrath  <roland@hack.frob.com>
30528         * sysdeps/init_array/pt-crti.S: New file.
30530 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
30532         [BZ #17967]
30533         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
30534         __builtin_fmaf instead of relying on contraction of a * b + c.
30536 2015-02-12  J William Piggott  <elseifthen@gmx.com>
30538         [BZ #17969]
30539         * manual/time.texi: correct the zoneinfo path in the TZ Variable
30540         node.
30542 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
30544         [BZ #17964]
30545         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
30546         __builtin_fma instead of relying on contraction of a * b + c.
30548 2015-02-12  Roland McGrath  <roland@hack.frob.com>
30550         * Makeconfig (ASFLAGS): Add -Werror=undef.
30551         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
30552         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
30553         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
30555         * Makeconfig (after-link): New variable.
30556         (+link-pie, +link-pie-tests): Use it.
30557         (+link-static, +link-static-tests): Likewise.
30558         (+link, +link-tests): Likewise.
30559         * Makerules (build-module, build-module-asneeded): Likewise.
30560         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
30561         Likewise.
30562         * elf/Makefile ($(objpfx)ld.so): Likewise.
30564 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
30566         [BZ #17965]
30567         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
30568         both struct timeval and struct timespec.
30570 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
30572         [BZ #16560]
30573         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30574         and redefine.
30575         (__ieee754_exp2l): Do not multiply small fractional parts by
30576         M_LN2l.
30577         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
30578         small argument.
30579         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30580         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30581         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
30582         * math/auto-libm-test-in: Add more tests of exp2.
30583         * math/auto-libm-test-out: Regenerated.
30585 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30587         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
30588         unaligned path.
30590 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30592         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
30593         little endian.
30595 2015-02-12  Andreas Schwab  <schwab@suse.de>
30597         [BZ #15790]
30598         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
30599         Filter out elision flags from value returned in kind.
30600         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
30601         * nptl/tst-pthread-mutexattr.c: New file.
30603 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30605         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
30606         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
30607         into gnu-gnu, and update comment to refer to abi-tags.
30609 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
30611         [BZ #15467]
30612         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
30613         (__sincos): Set errno to EDOM for infinite argument.
30614         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
30615         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
30616         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
30617         (__sincosl): Set errno to EDOM for infinite argument.
30618         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
30619         (__sincosl): Set errno to EDOM for infinite argument.
30620         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
30621         (__sincosl): Set errno to EDOM for infinite argument.
30622         * math/libm-test.inc (sincos_test_data): Test errno setting.
30624 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
30626         * string/strxfrm_l.c: Remove #define STRCMP.
30627         * string/strcoll_l.c: Remove #define STRLEN.
30628         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
30629         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
30631 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
30633         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
30634         * sysdeps/mips/mips32/sfp-machine.h: ... here.
30635         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
30636         * sysdeps/mips/mips64/Makefile: ... here.
30637         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
30638         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
30639         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
30640         * sysdeps/mips/mips64/sfp-machine.h: ... here.
30641         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
30642         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
30643         * sysdeps/mips/mips64/n64/Implies: Likewise.
30645 2015-02-10  Roland McGrath  <roland@hack.frob.com>
30647         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
30648         <sys/time.h>, <string.h>, and <errno.h>.
30649         (dest_offset, dest_address, value, zero): Remove unused variables.
30650         (ldouble): Remove typedef.
30651         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
30652         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
30653         1).  Fix code style.
30654         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
30655         (check): Function removed.
30656         (CHECK): New macro.
30657         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
30658         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
30659         Don't call set_sigaction_FP and remove_sigaction_FP here.
30660         (ldouble_test): Just use 'long double' as macro argument, no need for
30661         the 'ldouble' typedef.
30662         (do_test): Set up SIGFPE handler at start, using plain signal rather
30663         than sigaction.  Fix code style.
30665 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
30667         [BZ #17949]
30668         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
30669         jump label.
30671 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30673         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
30674         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30676         * sysdeps/powerpc/configure.ac: Remove file.
30677         * sysdeps/powerpc/configure: Likewise.
30679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
30680         [sysdep_routines]: Remove wordcopy-power6 object.
30681         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30682         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
30683         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
30684         (__memmove_ppc32): Likewise.
30685         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
30686         file.
30687         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
30688         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
30689         Remove preprocessor.
30691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
30692         [sysdep_routines]: Remove wide chars objects.
30693         [wcsmbs]: New rule for wide char objects.
30695         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30696         Remove wordcopy-power6 obejct.
30697         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
30698         Use local call for wordcopy and memcpy symbols.
30699         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
30700         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
30701         implementation for loader.
30702         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
30704         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30705         Remove wordcopy-power7 object.
30706         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
30707         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
30708         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
30709         (_wordcopy_fwd_dest_aligned): Likewise.
30710         (_wordcopy_bwd_aligned): Likewise.
30711         (_wordcopy_bwd_dest_aligned): Likewise.
30713         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
30714         Rewrite to call __memmove_ppc instead of include default
30715         implementation.
30717         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30718         Remove wide chars objects.
30719         [wcsmbs]: New rule for wide char objects.
30721 2015-02-09  Andreas Schwab  <schwab@suse.de>
30723         [BZ #17912]
30724         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30725         in terms of __O_DIRECTORY.
30727 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30729         * time/getdate.c: Include <stdbool.h>.
30730         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
30731         call PTR_MANGLE.
30732         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
30733         PTR_DEMANGLE.
30735 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
30737         Add ersatz _Static_assert on older C hosts
30738         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
30739         pre-C11 C platform that is not known to support _Static_assert.
30741 2015-02-07  Richard Braun  <rbraun@sceen.net>
30743         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
30744         sigstate.
30745         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
30747 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30749         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
30750         priority against unexistent AIO_PRIO_DELTA_MAX.
30751         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
30752         instead of int.
30753         * misc/fchflags.c (fchflags): Likewise.
30754         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
30755         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
30756         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
30757         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
30758         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
30759         Declare macros.
30760         [__USE_MISC] (chflags, fchflags): Declare functions.
30761         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
30762         EINVAL when nfds is greater than FD_SETSIZE.
30763         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
30764         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
30765         45.
30766         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
30767         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
30768         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
30769         MACH_RCV_TIMED_OUT.
30770         * hurd/hurd/signal.h (_hurd_self_sigstate,
30771         _hurd_critical_section_lock, _hurd_critical_section_unlock):
30772         Explicit casts from void *.
30773         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
30774         * abi-tags: Rename gnu-gnu os into gnu.
30776         [BZ #4719]
30777         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
30778         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
30779         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
30780         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
30781         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
30782         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
30784         [BZ #17944]
30785         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
30786         duplicates ADDR->sun_path with sockaddr LEN limitation.
30787         * sysdeps/mach/hurd/connect.c: Include <string.h>
30788         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
30789         * sysdeps/mach/hurd/sendmsg.c: Likewise.
30790         * sysdeps/mach/hurd/sendto.c: Likewise.
30791         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
30792         implementing it by hand.
30794 2015-02-06  Roland McGrath  <roland@hack.frob.com>
30796         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
30797         Use sfi_breg on ldr.
30798         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
30799         Likewise.
30801         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
30802         it's defined.
30803         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
30804         Test SIGSETXID only if it's defined.
30806         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
30808         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
30809         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
30811         * nptl/tst-align2.c: Moved ...
30812         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
30813         * nptl/Makefile (tests): Remove tst-align2.
30814         * sysdeps/unix/sysv/linux/Makefile
30815         [$(subdir) = nptl] (tests): Add tst-align-clone.
30816         * nptl/tst-getpid1.c: Moved ...
30817         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
30818         * nptl/tst-getpid2.c: Moved ...
30819         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
30820         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
30821         * sysdeps/unix/sysv/linux/Makefile
30822         [$(subdir) = nptl] (tests): ... here.
30823         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
30824         * sysdeps/unix/sysv/linux/Makefile
30825         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
30827         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
30828         Drop trailing \n from perror argument.  Use return rather than exit.
30830         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
30831         on [SA_SIGINFO].
30832         * nptl/tst-cancel21.c (do_test): Likewise.
30833         * debug/tst-backtrace6.c: Include <signal.h> first thing.
30834         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
30835         [!SA_SIGINFO]: Make it a stub test.
30837         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
30838         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
30840         * posix/tst-getlogin.c: Move to ...
30841         * login/tst-getlogin.c: ... here.
30842         * posix/Makefile (tests): Move tst-getlogin to ...
30843         * login/Makefile (tests): ... here.
30845         * libio/tst-atime.c (do_test): Move local variables SV and E
30846         inside [ST_NOATIME] conditional.
30848         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
30850         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
30852         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
30853         (wait_code): New function replaces macro.
30854         Call nanosleep rather than syscall.
30856         * nptl/pt-system.c: Rewritten.  Put everything under
30857         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30858         Use IFUNC to redirect when possible.
30860         * nptl/pt-longjmp.c: Rewritten.  Put everything under
30861         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30862         Use IFUNC to redirect when possible.
30864         * nptl/pt-fork.c: Rewritten.  Put everything under
30865         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30866         Use IFUNC to redirect when possible.
30867         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
30869         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
30870         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
30871         unconditionally nowadays.  This included the only reference to
30872         __vdso_clock_gettime that appears outside libc proper.
30873         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
30874         Remove version set (containing only __vdso_clock_gettime).
30875         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30876         Add attribute_hidden.
30877         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30878         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
30879         libc_hidden_data_def.
30880         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30881         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30883         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
30884         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
30885         setrpcent, and getrpcport to ...
30886         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
30887         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
30888         getrpcbynumber_r, and getrpcent_r to ...
30889         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
30890         * inet/getrpcbyname.c: Moved ...
30891         * sunrpc/getrpcbyname.c: ... here.
30892         * inet/getrpcbyname_r.c: Moved ...
30893         * sunrpc/getrpcbyname_r.c: ... here.
30894         * inet/getrpcbynumber.c: Moved ...
30895         * sunrpc/getrpcbynumber.c: ... here.
30896         * inet/getrpcbynumber_r.c: Moved ...
30897         * sunrpc/getrpcbynumber_r.c: ... here.
30898         * inet/getrpcent.c: Moved ...
30899         * sunrpc/getrpcent.c: ... here.
30900         * inet/getrpcent_r.c: Moved ...
30901         * sunrpc/getrpcent_r.c: ... here.
30902         * inet/Makefile (routines): Move those to ...
30903         * sunrpc/Makefile (routines): ... here.
30904         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
30905         the $(subdirs) list.
30906         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
30907         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
30908         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
30909         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
30911         * elf/Makefile (routines): Include $(all-dl-routines), not just
30912         $(dl-routines).
30913         (rtld-routines): Likewise.  Use = rather than :=.
30914         * sysdeps/aarch64/Makefile [$(subdir) = elf]
30915         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
30916         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
30917         * sysdeps/arm/Makefile: Likewise.
30918         * sysdeps/i386/Makefile: Likewise.
30919         * sysdeps/x86_64/Makefile: Likewise.
30920         * sysdeps/hppa/Makefile [$(subdir) = elf]
30921         (sysdep_routines, sysdep-rtld-routines): Don't add
30922         $(sysdep-dl-routines) to these.
30923         * sysdeps/ia64/Makefile: Likewise.
30924         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
30925         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
30926         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
30927         Don't add dl-static to these; sysdep-dl-routines alone is enough.
30928         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
30929         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
30930         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
30931         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
30932         * sysdeps/powerpc/Makefile [$(subdir) = elf]
30933         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
30934         these; sysdep-dl-routines alone is enough.
30936 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
30938         [BZ #17932]
30939         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
30940         where multiplication results in zero and third argument is finite
30941         and nonzero.
30942         * math/auto-libm-test-in: Add more tests of fma.
30943         * math/auto-libm-test-out: Regenerated.
30945         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
30946         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
30947         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
30948         (_FP_CMP_EQ): Likewise.
30949         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
30951         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
30952         extra argument CHECK_NAN.  Redefine as wrapper around
30953         _FP_EXTEND_CNAN.
30955 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
30957         * version.h (RELEASE): Set to "stable".
30958         (VERSION): Set to "2.21"
30959         * include/features.h (__GLIBC_MINOR__): Set to 21.
30961         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
30963 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30964             Paul Eggert  <eggert@cs.ucla.edu>
30966         [BZ #16618]
30967         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
30968         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
30969         size in bytes. Store needed elements in wpmax. Use needed size
30970         in bytes for extend_alloca.
30972 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
30974         * manual/install.texi: Latest tested versions are GCC 4.9.2,
30975         binutls 2.25, and texinfo 5.2.
30976         * INSTALL: Regenerate.
30977         * sysdeps/nios2/configure: Regenerate.
30978         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
30979         * manual/contrib.texi: Update.
30980         * po/be.po: Update.
30981         * po/bg.po: Update.
30982         * po/ca.po: Update.
30983         * po/cs.po: Update.
30984         * po/da.po: Update.
30985         * po/de.po: Update.
30986         * po/el.po: Update.
30987         * po/eo.po: Update.
30988         * po/es.po: Update.
30989         * po/fi.po: Update.
30990         * po/fr.po: Update.
30991         * po/gl.po: Update.
30992         * po/hr.po: Update.
30993         * po/hu.po: Update.
30994         * po/ia.po: Update.
30995         * po/id.po: Update.
30996         * po/it.po: Update.
30997         * po/ja.po: Update.
30998         * po/ko.po: Update.
30999         * po/lt.po: Update.
31000         * po/nb.po: Update.
31001         * po/nl.po: Update.
31002         * po/pl.po: Update.
31003         * po/pt_BR.po: Update.
31004         * po/ru.po: Update.
31005         * po/rw.po: Update.
31006         * po/sk.po: Update.
31007         * po/sl.po: Update.
31008         * po/sv.po: Update.
31009         * po/tr.po: Update.
31010         * po/uk.po: Update.
31011         * po/vi.po: Update.
31012         * po/zh_CN.po: Update.
31013         * po/zh_TW.po: Update.
31015         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
31016         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
31017         * sysdeps/hppa/dl-irel.h: Remove #warning.
31018         * sysdeps/hppa/entry.h: Provide prototype for
31019         __canonicalize_funcptr_for_compare and cast argument.
31020         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
31021         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
31022         * sysdeps/hppa/sotruss-lib.c: New file.
31023         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
31024         (atomic_compare_and_exchange_val_acq): Use __typeof__.
31025         (atomic_compare_and_exchange_bool_acq): Likewise.
31026         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
31027         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
31029         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
31030         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
31031         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
31033 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
31035         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
31036         called function in non-PIC case.
31038 2015-01-31  David S. Miller  <davem@davemloft.net>
31040         * sysdeps/sparc/sparc32/bits/atomic.h
31041         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31042         unlock not after it.
31043         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
31044         volatile register usage warnings from the compiler.
31046         * sysdeps/sparc/nptl/sem_init.c: Delete.
31047         * sysdeps/sparc/nptl/sem_post.c: Delete.
31048         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
31049         * sysdeps/sparc/nptl/sem_wait.c: Delete.
31050         * sysdeps/sparc/sparc32/sem_init.c: New file.
31051         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31052         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31053         padding explicitly initialized.
31054         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31055         padding for in-semaphore spinlock.
31056         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31057         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31058         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31059         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31060         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31061         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31062         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31063         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31064         version.
31065         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31066         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31068 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31070         [BZ #17801]
31071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31072         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31073         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31074         New.
31075         (index_AVX_Fast_Unaligned_Load): Likewise.
31076         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31077         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31078         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31079         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31080         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31081         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31082         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31083         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31084         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31086 2015-01-29  Andreas Schwab  <schwab@suse.de>
31088         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31090 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31092         [BZ #17892]
31093         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31095 2015-01-28  Martin Sebor  <msebor@redhat.com>
31097         * math/README.libm-test: Clarify. Add "How to read the test output."
31099 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31101         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31102         Define to 0.
31104 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31106         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31107         (__HAVE_64B_ATOMICS): Define to 0.
31109 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31111         [BZ #17885]
31112         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31113         value to set as new flag.
31115         [BZ #16576]
31116         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31117         and use _ARCH_PPCSQ instead.
31118         (__ieee754_sqrt): Likewise.
31119         (__ieee754_sqrtf): Likewise.
31120         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31121         _ARCH_PPCSQ is defined.
31122         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31123         fsqrt instruction.
31124         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31125         _ARCH_PPCSQ is defined.
31126         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31127         fsqrts instruction.
31128         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31130 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31132         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31133         bug (GCC BZ #64739).
31135 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31137         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31138         Mark _retval as used.
31139         (lll_futex_wake_unlock): Likewise.
31140         (lll_futex_timed_wait_requeue_pi): Likewise.
31142         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31143         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31144         register variables.
31146         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31147         libm_hidden_def.
31149         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31150         (__bswap_64): Mark as __always_inline.
31152 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31154         [BZ #15378]
31155         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31156         when none of the search directories exist.
31158 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31160         [BZ #17869]
31161         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31162         power8 in .machine directive.
31164         [BZ #17868]
31165         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31166         set dependency from opd value.
31168 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31171         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31172         architecture.
31174 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31176         [BZ #17870]
31177         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31178         with uint64_t.
31179         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31180         (uint64_t) 1.
31181         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31182         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31183         Replace 1UL with (uint64_t) 1.
31184         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31185         int with uint64_t.
31187 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31189         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31190         (if_freenameindex): Likewise.
31192         * resource/getrlimit64.c: Add missing libc_hidden_def.
31194 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31196         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31197         __label__.
31198         (_FP_FMA): Likewise.
31199         (_FP_TO_INT_ROUND): Likewise.
31200         (_FP_FROM_INT): Likewise.
31202 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31204         [BZ #16418]
31205         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31206         Make code racy and cancel safe.
31208 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31210         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31211         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31212         attribution.
31214         * pwd/tst-getpw.c: Rewrite.
31216         [BZ #17702]
31217         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31218         (modules-names): Add moddummy1 and moddummy2.
31219         ($(objpfx)tst-rec-dlopen): Define.
31220         * dlfcn/moddummy1.c: New file.
31221         * dlfcn/moddummy2.c: New file.
31222         * dlfcn/tst-rec-dlopen.c: New file.
31223         * elf/dl-cache.c (_dl_load_cache_lookup):
31224         Return char*. Copy result with alloca/strcpy/strdup.
31225         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31226         returns char*. Free cached. If not saving realname
31227         free cached.
31228         * elf/dl-open.c (dl_open_worker): Do not assert that
31229         _r_debug->r_state is RT_CONSISTENT.
31230         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31231         returns char*.
31233 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31234             Carlos O'Donell  <carlos@redhat.com>
31236         [BZ #12674]
31237         * nptl/sem_waitcommon.c: New file.
31238         * nptl/sem_wait.c: Include sem_waitcommon.c.
31239         (__sem_wait_cleanup, do_futex_wait): Remove.
31240         (__new_sem_wait): Adapt.
31241         (__new_sem_trywait): New function.
31242         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31243         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31244         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31245         (sem_timedwait): Adapt.
31246         * nptl/sem_post.c (__new_sem_post): Adapt.
31247         (futex_wake): New function.
31248         (__old_sem_post): Add release MO fence.
31249         * nptl/sem_open.c (sem_open): Adapt.
31250         * nptl/sem_init.c (__new_sem_init): Adapt.
31251         (futex_private_if_supported): New function.
31252         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31253         (__old_sem_getvalue): Add using previous code.
31254         * sysdeps/nptl/internaltypes.h: Adapt.
31255         * nptl/tst-sem13.c (do_test): Adapt.
31256         * nptl/tst-sem11.c (main): Adapt.
31257         * nptl/sem_trywait.c: Remove.
31258         * nptl/DESIGN-sem.txt: Remove.
31259         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31260         (gen-as-const-headers): Remove structsem.sym.
31261         * nptl/structsem.sym: Remove.
31262         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31263         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31264         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31265         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31266         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31267         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31268         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31269         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31270         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31271         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31272         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31273         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31274         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31275         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31276         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31277         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31278         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31279         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31280         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31281         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31282         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31283         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31285 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31287         * INSTALL: Regenerated.
31289         * po/libc.pot: Regenerated.
31291 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31292             Sandra Loosemore  <sandra@codesourcery.com>
31293             Andrew Jenner  <andrew@codesourcery.com>
31294             Joseph Myers  <joseph@codesourcery.com>
31295             Nathan Sidwell  <nathan@codesourcery.com>
31297         * NEWS: Mention new Nios II port.
31298         * sysdeps/nios2/Implies: New file.
31299         * sysdeps/nios2/Makefile: New file.
31300         * sysdeps/nios2/Subdirs: New file.
31301         * sysdeps/nios2/Versions: New file.
31302         * sysdeps/nios2/__longjmp.S: New file.
31303         * sysdeps/nios2/abort-instr.h: New file.
31304         * sysdeps/nios2/backtrace.c: New file.
31305         * sysdeps/nios2/bits/endian.h: New file.
31306         * sysdeps/nios2/bits/fenv.h: New file.
31307         * sysdeps/nios2/bits/link.h: New file.
31308         * sysdeps/nios2/bits/setjmp.h: New file.
31309         * sysdeps/nios2/bsd-_setjmp.S: New file.
31310         * sysdeps/nios2/bsd-setjmp.S: New file.
31311         * sysdeps/nios2/configure: New generated file.
31312         * sysdeps/nios2/configure.ac: New file.
31313         * sysdeps/nios2/crti.S: New file.
31314         * sysdeps/nios2/crtn.S: New file.
31315         * sysdeps/nios2/dl-init.c: New file.
31316         * sysdeps/nios2/dl-machine.h: New file.
31317         * sysdeps/nios2/dl-sysdep.h: New file.
31318         * sysdeps/nios2/dl-tls.h: New file.
31319         * sysdeps/nios2/dl-trampoline.S: New file.
31320         * sysdeps/nios2/gccframe.h: New file.
31321         * sysdeps/nios2/gmp-mparam.h: New file.
31322         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31323         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31324         * sysdeps/nios2/ldsodefs.h: New file.
31325         * sysdeps/nios2/libc-tls.c: New file.
31326         * sysdeps/nios2/libm-test-ulps: New file.
31327         * sysdeps/nios2/machine-gmon.h: New file.
31328         * sysdeps/nios2/math-tests.h: New file.
31329         * sysdeps/nios2/math_private.h: New file.
31330         * sysdeps/nios2/memusage.h: New file.
31331         * sysdeps/nios2/nptl/Makefile: New file.
31332         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31333         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31334         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31335         * sysdeps/nios2/nptl/pthreaddef.h: New file.
31336         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31337         * sysdeps/nios2/nptl/tls.h: New file.
31338         * sysdeps/nios2/preconfigure: New file.
31339         * sysdeps/nios2/s_fma.c: New file.
31340         * sysdeps/nios2/s_fmaf.c: New file.
31341         * sysdeps/nios2/setjmp.S: New file.
31342         * sysdeps/nios2/sfp-machine.h: New file.
31343         * sysdeps/nios2/sotruss-lib.c: New file.
31344         * sysdeps/nios2/stackguard-macros.h: New file.
31345         * sysdeps/nios2/stackinfo.h: New file.
31346         * sysdeps/nios2/start.S: New file.
31347         * sysdeps/nios2/sysdep.h: New file.
31348         * sysdeps/nios2/tls-macros.h: New file.
31349         * sysdeps/nios2/tst-audit.h: New file.
31350         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31351         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31352         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31353         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31354         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31355         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31356         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31357         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31358         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31359         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31360         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31361         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31362         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31363         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31364         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31365         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
31366         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
31367         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
31368         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
31369         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
31370         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
31371         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
31372         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
31373         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
31374         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
31375         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
31376         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
31377         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
31378         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
31379         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
31380         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
31381         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
31382         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
31383         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
31384         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
31385         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
31386         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
31387         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
31388         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
31389         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
31390         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
31391         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
31392         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
31393         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
31395 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31397         [BZ #17844]
31398         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
31399         (getutent): Use weak_alias in non SHARED case
31400         and default_symbol_version in SHARED case.
31401         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
31402         (getutent_r, pututline): Likewise.
31403         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
31404         (getutid): Likewise.
31405         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
31406         (getutid_r): Likewise.
31407         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
31408         (getutline): Likewise.
31409         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
31410         (getutline_r): Likewise.
31411         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
31412         (updwtmp): Likewise.
31414 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31416         [BZ #17848]
31417         * sysdeps/s390/s390-32/memcmp.S
31418         (memcmp_g5): Rename to __memcmp_g5.
31419         * sysdeps/s390/s390-32/memcpy.S
31420         (memcpy_g5): Rename to __memcpy_g5.
31421         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31422         (memcpy_mvcle) Rename to __memcpy_mvcle.
31423         * sysdeps/s390/s390-32/memset.S
31424         (memset_g5): Rename to __memset_g5.
31425         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31426         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31427         and use prefixed functions.
31428         * sysdeps/s390/s390-32/multiarch/memcmp.S
31429         (memcmp_z196): Rename to __memcmp_z196.
31430         (memcmp_z10): Rename to __memcmp_z10.
31431         (memcmp): Set alias to __memcmp_g5.
31432         (bcmp): Set alias to __memcmp_g5.
31433         * sysdeps/s390/s390-32/multiarch/memcpy.S
31434         (memcpy_z196): Rename to __memcpy_z196.
31435         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31436         (memcpy_z10): Rename to __memcpy_z10.
31437         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31438         (memcpy): Set alias to __memcpy_g5.
31439         * sysdeps/s390/s390-32/multiarch/memset.S
31440         (memset_z196): Rename to __memset_z196.
31441         Jump to __memset_mvcle instead of memset_mvcle.
31442         (memset_z10): Rename to __memset_z10.
31443         Jump to __memset_mvcle instead of memset_mvcle.
31444         (memset_mvcle) Rename to __memset_mvcle.
31445         (memset): Set alias to __memset_g5.
31446         * sysdeps/s390/s390-64/memcmp.S
31447         (memcmp_z900): Rename to __memcmp_z900.
31448         * sysdeps/s390/s390-64/memcpy.S
31449         (memcpy_z900): Rename to __memcpy_z900.
31450         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31451         (memcpy_mvcle) Rename to __memcpy_mvcle.
31452         * sysdeps/s390/s390-64/memset.S
31453         (memset_z900): Rename to __memset_z900.
31454         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
31455         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31456         and use prefixed functions.
31457         * sysdeps/s390/s390-64/multiarch/memcmp.S
31458         (memcmp_z196): Rename to __memcmp_z196.
31459         (memcmp_z10): Rename to __memcmp_z10.
31460         (memcmp): Set alias to __memcmp_z900.
31461         (bcmp): Set alias to __memcmp_z900.
31462         * sysdeps/s390/s390-64/multiarch/memcpy.S
31463         (memcpy_z196): Rename to __memcpy_z196.
31464         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31465         (memcpy_z10): Rename to __memcpy_z10.
31466         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31467         (memcpy): Set alias to __memcpy_z900.
31468         * sysdeps/s390/s390-64/multiarch/memset.S
31469         (memset_z196): Rename to __memset_z196.
31470         Jump to __memset_mvcle instead of memset_mvcle.
31471         (memset_z10): Rename to __memset_z10.
31472         Jump to __memset_mvcle instead of memset_mvcle.
31473         (memset_mvcle) Rename to __memset_mvcle.
31474         (memset): Set alias to __memset_z900.
31476 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
31478         [BZ #17748]
31479         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
31480         __fesetenv instead of fesetenv.
31482 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31484         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
31485         macro.
31487 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31489         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
31490         regression on LE.
31492         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
31493         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
31494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31495         strncmp-power8 object.
31496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31497         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
31498         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
31499         * NEWS: Update.
31501 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31502             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31504         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
31505         trailing byte check.
31507 2015-01-13  David S. Miller  <davem@davemloft.net>
31509         * include/signal.h (__sigreturn): Guard with __USE_MISC.
31511 2015-01-13  Roland McGrath  <roland@hack.frob.com>
31513         * login/logout.c (logout): Use memset rather than bzero.
31514         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
31515         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
31516         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
31517         (_gethtbyaddr): Likewise.
31518         * locale/programs/simple-hash.c (bcopy): Macro removed.
31520 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31522         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31523         Add strcmp-power8 object.
31524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31525         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
31526         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
31527         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
31528         __strcmp_power8 implementation.
31529         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
31530         * NEWS: Update.
31532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31533         Add strncpy-power8 and stpncpy-power8 objects.
31534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31535         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
31536         implementations.
31537         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
31538         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
31539         __stpncpy_power8 implementation.
31540         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
31541         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
31542         __strncpy_power8 implementation.
31543         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
31544         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
31545         * NEWS: Update.
31547         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
31548         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
31549         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
31551         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31552         strncat-power8 object.
31553         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
31554         __strcat_power8 implementation.
31555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31556         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
31557         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
31558         optimized strcat for power8.
31560         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31561         strcpy-power8 and stpcpy-power8 objects.
31562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31563         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
31564         implementations.
31565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
31566         multiarch stpcpy implementation for POWER8.
31567         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
31568         multiarch strcpy implementation for POWER8.
31569         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
31570         __strcpy_power8 function.
31571         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
31572         stpcpy for POWER8.
31573         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
31574         strcpy for POWER8.
31575         * NEWS: Update.
31577 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
31579         [BZ #16009]
31580         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
31581         weights and rules. Use do_xfrm_cached if data fits in cache,
31582         do_xfrm otherwise.  Moved former main loop to...
31583         * (do_xfrm_cached): New function.
31584         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
31585         find_idx, find_position and stack_push.
31586         * (find_idx): New function.
31587         * (find_position): Likewise.
31588         * localedata/sort-test.sh: Added test run for do_xfrm.
31589         * localedata/xfrm-test.c (main): Added command line option
31590         -nocache to run the test with strings that are too large for
31591         the STRXFRM cache.
31593 2015-01-13  Torvald Riegel  <triegel@redhat.com>
31595         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
31596         variable to lll_futex_wake call, not the value itself.
31598 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
31600         [BZ #17803]
31601         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
31602         twom64.  Adjust value to 0x1p-64L.
31603         (__scalblnl): Only return standard underflowing result for K <=
31604         -64 not K <= -63; adjust exponent for underflowing result by 64
31605         not 63.
31606         * math/libm-test.inc (scalbn_test_data): Add more tests.
31607         (scalbln_test_data): Likewise.
31609         [BZ #17834]
31610         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
31611         0x1p63L.
31612         (__scalblnl): Get new exponent of adjusted subnormal value from ES
31613         not HX.
31614         * math/libm-test.inc (scalbn_test_data): Add more tests.
31615         (scalbln_test_data): Likewise.
31617 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31618             Stefani Seibold  <stefani@seibold.net>
31620         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
31621         (sysdep_routines): Add dl-vdso here, ...
31622         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
31623         (sysdep_routines): ... not here.
31624         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
31625         fallback when vDSO is not presented.
31626         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31627         Define with libc_hidden_proto/libc_hidden_data_def definitions.
31628         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
31629         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
31630         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
31631         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
31632         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
31633         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
31634         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
31635         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
31636         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
31637         fallback configurable symbol when vDSO is not available.
31638         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
31639         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
31640         be able to redefine fallback symbol when vDSO is not available.
31641         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
31642         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
31644 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31646         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
31647         (TLS_INIT_TP): Add tm_capable initialization.
31648         (TLS_DEFINE_INIT_TP): Likewise.
31649         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
31650         TCB.
31651         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
31652         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
31653         calculation.
31654         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
31655         transactoion is lock elision is built and TCB tm_capable is set.
31656         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
31657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31658         (INTERNAL_SYSCALL_NCS): Likewise.
31659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31660         (INTERNAL_SYSCALL_NCS): Likewise.
31661         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
31663         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
31664         for powerpc.
31665         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31666         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
31667         and remove it for 32 bits case.
31668         [pthread_rwlock_t] (__rwelision): New field for lock elision.
31669         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
31670         initialization.
31671         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
31672         Disable lock elision with rdlocks if elision is not available.
31674         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
31675         (sysdep_routines): Add lock elision objects.
31676         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31677         [pthread_mutex_t] (__spins): Rework to add lock elision field.
31678         [pthread_mutex_t] (__elision): Add field.
31679         [__PTHREAD_SPINS]: Adjust to init lock elision field.
31680         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
31681         elision definitions for powerpc.
31682         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
31683         implementation of lock elision for powerpc.
31684         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
31685         implementation of timed lock elision for powerpc.
31686         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
31687         implementation of trylock with lock elision for powerpc.
31688         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
31689         implementaion of unlock for lock elision for powerpc.
31690         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
31691         automatic enable lock elision for mutexes.
31692         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
31693         transaction execution definitions for powerpc.
31694         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
31695         definitions.
31696         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
31697         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
31698         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
31699         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
31700         * NEWS: Update.
31702 2015-01-09  Roland McGrath  <roland@hack.frob.com>
31704         * sysdeps/posix/shm-directory.c: Use <> rather than ""
31705         for #include of <shm-directory.h>.
31707 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
31709         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
31710         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
31712 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
31714         [BZ #17791]
31715         * NEWS: Mention bug fix.
31716         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
31717         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
31718         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
31720 2015-01-09  Torvald Riegel <triegel@redhat.com>
31722         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
31724 2015-01-09  Torvald Riegel <triegel@redhat.com>
31726         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
31728 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
31730         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
31731         pointer and cast to uintptr_t.
31733 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
31735         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
31736         removed.
31737         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
31739 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
31741         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
31742         of 0.
31744 2015-01-08  Roland McGrath  <roland@hack.frob.com>
31746         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
31747         <nptl/pthreadP.h> instead.
31748         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
31750         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
31751         already defined.
31752         [__SIGRTMIN] (init): Function removed.
31753         [__SIGRTMIN] (initialized): Variable removed.
31754         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
31755         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
31756         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
31757         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
31758         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
31759         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
31760         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
31761         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
31762         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
31763         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
31764         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
31765         * sysdeps/nptl/allocrtsig.c: New file.
31766         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
31767         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
31768         * sysdeps/generic/testrtsig.h: File removed.
31770         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
31771         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
31773         * nptl/nptl-init.c (pthread_functions): Conditionalize
31774         .ptr__nptl_setxid initialization on [SIGSETXID].
31776         * sysdeps/nptl/sys/procfs.h: New file.
31777         * nptl_db/Makefile (headers): Add it.
31778         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
31780         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
31781         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
31782         * nptl/pthread_attr_setaffinity.c: Include it.
31783         * nptl/pthread_setattr_default_np.c: Likewise.
31784         * nptl/check-cpuset.h: New file.
31786 2015-01-08  Richard Henderson  <rth@redhat.com>
31788         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
31789         (CFLAGS-tst-execstack-prog.c): Likewise.
31790         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
31792 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
31793             Sandra Loosemore  <sandra@codesourcery.com>
31794             Andrew Jenner  <andrew@codesourcery.com>
31795             Joseph Myers  <joseph@codesourcery.com>
31796             Nathan Sidwell  <nathan@codesourcery.com>
31798         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
31799         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
31800         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
31801         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
31802         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
31803         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
31804         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
31805         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
31806         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
31807         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
31808         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
31809         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
31810         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
31811         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
31812         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
31813         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
31814         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
31816 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31818         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
31819         timespec struct member in syscall macro.
31820         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
31821         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
31822         first timeval struct member in syscall macro.
31823         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
31825 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
31827         [BZ #17748]
31828         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
31829         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
31830         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
31831         __feupdateenv and define as weak alias of __feupdateenv.  Use
31832         libm_hidden_weak.
31833         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
31834         libm_hidden_def.
31835         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
31836         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
31837         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
31838         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
31839         libm_hidden_def.
31840         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
31841         __feupdateenv and define as weak alias of __feupdateenv.  Use
31842         libm_hidden_weak.
31843         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
31844         libm_hidden_def.
31845         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
31846         __feupdateenv and define as weak alias of __feupdateenv.  Use
31847         libm_hidden_weak.
31848         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
31849         libm_hidden_def.
31850         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31851         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
31852         (__feupdateenv): Likewise.
31853         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
31854         __feupdateenv and define as weak alias of __feupdateenv.  Use
31855         libm_hidden_weak.
31856         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31857         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
31858         libm_hidden_def.
31859         * sysdeps/tile/math_private.h (__feupdateenv): New inline
31860         function.
31861         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
31862         libm_hidden_def.
31863         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
31864         __feupdateenv instead of feupdateenv.
31865         (default_libc_feupdateenv_test): Likewise.
31866         (libc_feresetround_ctx): Likewise.
31868 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31870         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
31871         prototype.
31873 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
31875         * posix/regcomp.c (parse_bracket_exp): Initialize type to
31876         COLL_SYM in a couple of places to avoid uninitialized variable
31877         wanings on tilegx gcc 4.8.2.
31879 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
31881         * sysdeps/aarch64/strcpy.S: New file.
31882         * sysdeps/aarch64/stpcpy.S: New file.
31883         * NEWS: Updated.
31885 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
31887         * sysdeps/aarch64/strrchr.S: New file.
31888         * NEWS: Updated.
31890 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
31892         [BZ #17658]
31893         * stdlib/setenv.c: Fix memory leak when setting large,
31894         duplicate string.
31896 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
31898         [BZ #17273]
31899         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
31900         and tabs from buffer before parsing fstab entry.
31901         * misc/tst-mntent.c (main): Add test for mount entry with
31902         trailing spaces and tabs.
31904 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
31906         [BZ #17748]
31907         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
31908         * math/fesetround.c (fesetround): Rename to __fesetround and
31909         define as weak alias of __fesetround.  Use libm_hidden_weak.
31910         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
31911         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
31912         * sysdeps/arm/fesetround.c (fesetround): Likewise.
31913         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
31914         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
31915         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
31916         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
31917         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
31918         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
31919         __fesetround_inline.
31920         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
31921         __fesetround_inline instead of __fesetround.
31922         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
31923         __fesetround and define as weak alias of __fesetround.  Use
31924         libm_hidden_weak.  Call __fesetround_inline instead of
31925         __fesetround.
31926         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
31927         __fesetround and define as weak alias of __fesetround.  Use
31928         libm_hidden_weak.
31929         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
31930         Likewise.
31931         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
31932         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31933         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
31934         * sysdeps/tile/math_private.h (__fesetround): New inline function.
31935         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
31936         __fesetround and define as weak alias of __fesetround.  Use
31937         libm_hidden_weak.
31938         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
31939         __fesetround instead of fesetround.
31940         (default_libc_feholdexcept_setround): Likewise.
31941         (libc_feholdsetround_ctx): Likewise.
31942         (libc_feholdsetround_noex_ctx): Likewise.
31944         [BZ #17748]
31945         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
31946         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
31947         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31948         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
31949         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31950         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
31951         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31952         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31953         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31954         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31955         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31956         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31957         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31958         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31959         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
31960         libm_hidden_def.
31961         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
31962         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
31963         Likewise.
31964         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31965         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31966         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31967         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31968         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
31969         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31970         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
31971         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
31972         __fesetenv instead of fesetenv.
31973         (libc_feresetround_noex_ctx): Likewise.
31974         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31975         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
31976         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
31977         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31978         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31979         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31980         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31981         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
31982         (__feupdateenv): Likewise.
31983         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31984         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31985         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31986         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
31988 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
31990         [BZ #17806]
31991         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
31992         addresses have been freed.
31994 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
31996         * resolv/res_init.c (__res_vinit): Improve comments about nserv
31997         and nservall.
31999 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
32001         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
32002         Clean up check_pf allocation pattern. addresses
32004 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32006         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
32007         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
32008         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
32009         * nptl/pthread_exit.c (__pthread_exit): Likewise.
32010         * nptl/pthread_join.c (pthread_join): Likewise.
32011         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
32012         * sysdeps/posix/waitid.c (__waitid): Likewise.
32013         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32014         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32015         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32016         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32018         Likewise.
32019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32020         (__libc_pread64): Likewise.
32021         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32022         (__libc_pwrite): Likewise.
32023         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32024         (__libc_pwrite64): Likewsie.
32025         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32026         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32027         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32028         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32029         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32030         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32031         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32033         Likewise.
32034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32035         (__libc_pread64): Likewise.
32036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
32037         Likewise.
32038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32039         (__libc_pwrite64): Likewise.
32040         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32041         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32042         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
32043         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
32044         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32045         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32046         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
32047         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32048         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32049         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32050         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32051         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32052         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32053         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32054         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32055         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32056         Likewise.
32058 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32060         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32061         (CFLAGS-test-double.c): Likewise.
32062         (CFLAGS-test-ldouble.c): Likewise.
32063         (CPPFLAGS-test-ifloat.c): Likewise.
32064         (CPPFLAGS-test-idouble.c): Likewise.
32065         (CPPFLAGS-test-ildoubl.c): Likewise.
32066         (CFLAGS-test-test-fenv.c): Remove variable.
32067         (CFLAGS-test-misc.c): Likewise.
32069 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32071         [BZ #17797]
32072         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32073         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32074         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32075         CLOCKS_PER_SEC == 1000000.
32076         * time/clocktest.c (main): Replace %ld with %jd and cast to
32077         intmax_t.
32079 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32081         * sysdeps/generic/unwind-resume.h: New file.
32082         * sysdeps/gnu/unwind-resume.c: Include it.
32083         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32084         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32085         argument list.
32086         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32087         global rather than static.
32088         (_Unwind_Resume): Update user.
32089         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32090         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32091         rather than static.  Add __attribute__ ((cold)).
32092         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32093         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32094         * sysdeps/arm/arm-unwind-resume.S: New file.
32095         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32096         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32097         * sysdeps/arm/Makefile [$(subdir) = csu]
32098         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32099         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32100         Add rt-arm-unwind-resume.
32101         [$(subdir) = nptl]
32102         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32103         Add pt-arm-unwind-resume.
32104         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32105         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32107 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32109         [BZ #17748]
32110         * include/fenv.h (__feholdexcept): Declare.  Use
32111         libm_hidden_proto.
32112         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32113         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32114         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32115         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32116         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32117         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32118         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32119         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32120         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32121         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32122         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32123         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32124         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32125         (feholdexcept): Likewise.
32126         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32127         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32128         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32129         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32130         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32131         __feholdexcept instead of feholdexcept.
32132         (default_libc_feholdexcept_setround): Likewise.
32134 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32136         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32137         to avoid using stl/str to align destination.
32139 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32141         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32143 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32145         [BZ #17796]
32146         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32147         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32148         Define as weak alias not strong alias.
32150 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32152         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32153         bltzal with addiupc.
32154         (RTLD_START): Ditto.
32156 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32158         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32159         for __vdso_* functions in declarations.
32160         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32161         definitions.
32162         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32163         INTERNAL_VSYSCALL): Use struct return types to check for error.
32165         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32166         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32167         function with cast from llround().
32168         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32169         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32170         Define.
32172 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32174         [BZ #17793]
32175         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32176         Define as weak alias not strong alias.
32178         [BZ #17635]
32179         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32180         ...
32181         * ctype/ctype-extn.c: ... here.
32182         (__isblank_l): Move to ...
32183         * ctype/ctype-c99_l.c: ... here.  New file.
32184         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32185         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32186         Remove variable.
32187         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32188         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32189         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32190         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32191         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32193         [BZ #17777]
32194         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32195         (posix_fadvise64): Define as weak alias not strong alias.
32196         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32197         (posix_fallocate64): Likewise.
32198         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32199         Remove variable.
32200         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32201         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32202         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32203         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32204         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32206 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32208         [BZ #16191]
32209         * NEWS: Mention bug fix.
32210         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32211         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32212         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32213         (HOST_STACK_END_ADDR): Likewise.
32215 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32217         [BZ #17748]
32218         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32219         * math/fegetround.c (fegetround): Rename to __fegetround and
32220         define as weak alias of __fegetround.  Use libm_hidden_weak.
32221         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32222         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32223         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32224         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32225         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32226         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32227         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32228         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32229         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32230         Undefine after rather than before function definition; use
32231         parentheses around function name in definition.
32232         (__fegetround): Also undefine macro after function definition.
32233         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32234         __fegetround and define as weak alias of __fegetround.  Use
32235         libm_hidden_weak.  Do not undefine as macro.
32236         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32237         Likewise.
32238         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32239         __fegetround and define as weak alias of __fegetround.  Use
32240         libm_hidden_weak.
32241         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32242         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32243         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32244         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32245         __fegetround and define as weak alias of __fegetround.  Use
32246         libm_hidden_weak.
32247         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32248         __fegetround instead of fegetround.
32250         [BZ #17782]
32251         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32252         Condition macro definition on [__USE_MISC].
32254         [BZ #17781]
32255         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32256         (struct sigaction): Change type of sa_flags field to int.
32258         [BZ #17780]
32259         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32260         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32261         __glibc_reserved0.
32263         * nptl/version.c (banner): Use single year in copyright notice.
32265         * NEWS: Update copyright dates.
32266         * catgets/gencat.c (print_version): Likewise.
32267         * csu/version.c (banner): Likewise.
32268         * debug/catchsegv.sh: Likewise.
32269         * debug/pcprofiledump.c (print_version): Likewise.
32270         * debug/xtrace.sh (do_version): Likewise.
32271         * elf/ldconfig.c (print_version): Likewise.
32272         * elf/ldd.bash.in: Likewise.
32273         * elf/pldd.c (print_version): Likewise.
32274         * elf/sotruss.sh: Likewise.
32275         * elf/sprof.c (print_version): Likewise.
32276         * iconv/iconv_prog.c (print_version): Likewise.
32277         * iconv/iconvconfig.c (print_version): Likewise.
32278         * locale/programs/locale.c (print_version): Likewise.
32279         * locale/programs/localedef.c (print_version): Likewise.
32280         * login/programs/pt_chown.c (print_version): Likewise.
32281         * malloc/memusage.sh (do_version): Likewise.
32282         * malloc/memusagestat.c (print_version): Likewise.
32283         * malloc/mtrace.pl: Likewise.
32284         * manual/libc.texinfo: Likewise.
32285         * nptl/version.c (banner): Likewise.
32286         * nscd/nscd.c (print_version): Likewise.
32287         * nss/getent.c (print_version): Likewise.
32288         * nss/makedb.c (print_version): Likewise.
32289         * posix/getconf.c (main): Likewise.
32290         * scripts/test-installation.pl: Likewise.
32291         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32293 2015-01-02  Will Newton  <will.newton@linaro.org>
32295         * sysdeps/arm/armv7/configure: Removed.
32296         * sysdeps/arm/armv7/configure.ac: Likewise.
32298 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32300         * All files with FSF copyright notices: Update copyright dates
32301         using scripts/update-copyrights.
32302         * intl/plural.c: Regenerated.
32303         * locale/programs/charmap-kw.h: Likewise.
32304         * locale/programs/locfile-kw.h: Likewise.
32306 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32308         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32310 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32312         [BZ #17748]
32313         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32314         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32315         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32316         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32317         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32318         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32319         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32320         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32321         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32322         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32323         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32324         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32325         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32326         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32327         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32328         libm_hidden_def.
32329         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32330         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32331         Likewise.
32332         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32333         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32334         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32335         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32336         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32337         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32338         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32339         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32340         __fegetenv instead of fegetenv.
32341         (libc_feholdsetround_noex_ctx): Likewise.
32343 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32345         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32346         (Elf_MIPS_ABIFlags_v0): New structure.
32347         (EF_MIPS_FP64): Define.
32348         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32349         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32350         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32351         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32352         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32353         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32354         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32355         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32356         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32357         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32358         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32359         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32360         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32361         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32362         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32363         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32364         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32365         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
32366         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
32367         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
32368         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
32369         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
32370         field.
32371         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
32372         EF_MIPS_FP64.
32373         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
32374         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
32375         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
32376         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
32377         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
32378         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
32379         * sysdeps/mips/tst-abi-interlink.c: Likewise.
32380         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
32381         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
32382         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
32383         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
32384         record the current FP ABI extension.
32385         (mips-mode-switch): Define to show if kernel headers support mode
32386         switching.
32387         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32388         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
32389         supported SYSV ABI version to 3.
32390         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
32391         feature.
32393 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32394             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32396         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
32397         path.
32398         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
32400 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32402         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
32403         __fegetround and redefine to call __fegetround.  Remove condition
32404         on [!__NO_MATH_INLINES].
32405         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
32406         function.
32407         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
32408         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
32409         Remove macro.
32410         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
32411         instead of <fenv_libc.h>.
32412         (__llrintl): Call fegetround instead of __fegetround.
32413         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
32414         instead of <fenv_libc.h>.
32415         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32416         (__lrintl): Call fegetround instead of __fegetround.
32417         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
32418         instead of <fenv_libc.h>.
32419         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32420         (__rintl): Call fegetround instead of __fegetround.
32422 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32424         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
32425         arrays.
32427 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
32429         [BZ #17775]
32430         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
32431         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
32432         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
32434 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32436         * sysdeps/i386/tls-macros.h: Include <features.h>.
32437         (TLS_LE): Use non-PIC version for GCC >= 5.0.
32438         (TLS_IE): Likewise.
32439         (TLS_LD): Likewise.
32440         (TLS_GD): Likewise.
32441         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
32442         define for GCC >= 5.0.
32444 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
32446         * math/test-fenv.c (test_single_exception, set_single_exc,
32447         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
32448         feexcp_mask_test, feenable_test, fe_single_test): Add
32449         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
32450         case where they are not used.
32451         * math/libm-test.inc: Likewise.
32452         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
32453         unused in the absence of FP rounding/exception support.
32454         * stdio-common/tst-printf-round.c: Likewise.
32455         * stdlib/tst-strtod-round.c: Likewise.
32456         * stdlib/tst-strtod-underflow.c: Likewise.
32458 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
32460         [BZ #17723]
32461         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
32462         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
32463         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32464         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32465         libm_hidden_weak.
32466         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
32467         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32468         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
32469         libm_hidden_def.
32470         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32471         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32472         libm_hidden_weak.
32473         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
32474         Likewise.
32475         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
32476         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32477         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32478         libm_hidden_weak.
32479         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32480         libm_hidden_def.
32481         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
32482         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
32483         (__feraiseexcept): Likewise.
32484         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32485         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32486         libm_hidden_weak.
32487         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32488         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32489         libm_hidden_def.
32490         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
32491         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
32492         Use libm_hidden_def.
32493         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
32494         libm_hidden_def.
32495         (feraiseexcept): Define as weak not strong alias.  Use
32496         libm_hidden_weak.
32497         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
32498         New inline function.  Factored out of ...
32499         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
32500         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
32501         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
32502         feraiseexcept.
32503         * math/w_acos.c (__acos): Likewise.
32504         * math/w_asin.c (__asin): Likewise.
32505         * math/w_ilogb.c (__ilogb): Likewise.
32506         * math/w_j0.c (y0): Likewise.
32507         * math/w_j1.c (y1): Likewise.
32508         * math/w_jn.c (yn): Likewise.
32509         * math/w_log.c (__log): Likewise.
32510         * math/w_log10.c (__log10): Likewise.
32511         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
32512         * sysdeps/aarch64/fpu/math_private.h
32513         (libc_feupdateenv_test_aarch64): Likewise.
32514         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32515         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
32516         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
32517         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32518         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32519         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32520         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
32521         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32522         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32523         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32525 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
32527         [BZ #17732]
32528         * io/test-utime.c (main): Replace %ld with %jd and cast to
32529         intmax_t.
32530         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
32531         * nptl/tst-mutex5.c: Include <stdint.h>.
32532         (do_test): Replace %ld with %jd and cast to intmax_t.
32533         * posix/tst-regex.c (run_test): Likewise.
32534         (run_test_backwards): Likewise.
32535         * rt/tst-clock.c: Include <stdint.h>.
32536         (clock_test): Replace %ld with %jd and cast to intmax_t.
32537         * rt/tst-cpuclock1.c: Include <stdint.h>.
32538         (do_test): Replace %lu with %ju and cast to uintmax_t.
32539         * rt/tst-cpuclock2.c: Include <stdint.h>.
32540         (do_test): Replace %lu with %ju and cast to uintmax_t.
32541         * rt/tst-mqueue1.c: Include <stdint.h>.
32542         (check_attrs): Replace %ld with %jd and cast to intmax_t.
32543         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
32544         intmax_t.
32545         * rt/tst-mqueue4.c (do_test): Likewise.
32546         * rt/tst-timer4.c: Include <stdint.h>.
32547         (check_ts): Replace %ld with %jd and cast to intmax_t.
32548         (do_test): Likewise.
32549         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
32550         and cast to intmax_t.
32551         * sysdeps/pthread/tst-timer.c (main): Likewise.
32552         * time/clocktest.c (main): Likewise.
32553         * time/tst-posixtz.c (do_test): Likewise.
32554         * timezone/tst-timezone.c (main): Likewise.
32556 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32557             H.J. Lu  <hongjiu.lu@intel.com>
32559         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
32560         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32561         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
32562         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
32563         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
32564         version if bit_Fast_Unaligned_Load is set.
32565         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32566         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32567         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32568         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32569         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32570         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32571         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32572         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
32573         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
32574         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
32575         to 4.
32576         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
32577         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
32578         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
32579         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
32581 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
32583         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
32584         instead of #if to avoid a Wundef warning.
32585         * stdlib/tst-limits.c (do_test): Likewise.
32587         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
32588         parallel other exception macros.
32589         (fegetenv): Convert from macro to extern inline so that it applies
32590         retroactively to inline functions already seen by the compiler.
32591         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
32593         * posix/Makefile (before-compile): Use $(objpfx) for
32594         posix-conf-vars-def.h.
32596 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32598         * posix/getconf.c (main): Use size_t for type of I.
32599         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
32600         NSPEC.
32602         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
32603         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
32604         * posix/posix-envs.def: Likewise.
32605         * sysdeps/posix/sysconf.c: Likewise.
32606         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
32607         (specs): Remove array.
32608         * scripts/gen-posix-conf-vars.awk: Support generation of specs
32609         array.
32611         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
32612         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
32613         (__sysconf): Use CONF_IS_* macros.
32615         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
32616         ($(objpfx)posix-conf-vars-def.h): New target.
32617         * posix/posix-conf-vars.list: New file.
32618         * posix/posix-conf-vars.h: New file.
32619         * posix/confstr.c: Include posix-conf-vars.h.
32620         (confstr): Use CONF_IS_* macros.
32621         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
32622         CONF_IS_* macros.
32623         * scripts/gen-posix-conf-vars.awk: New file.
32625 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
32627         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
32628         fegetround): Add no-op macros to avoid linknamespace issues.
32630         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
32631         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
32633         * sysdeps/unix/sysv/linux/tile/sysdep.h
32634         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
32635         assembly-specific section to avoid a redefinition warning.
32637         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
32638         long before casting to pointer to avoid a cast warning.
32640 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
32642         * sysdeps/tile/tilegx/Implies: New file.
32644 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
32646         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
32648 2014-12-23  Florian Weimer  <fweimer@redhat.com>
32650         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
32652 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32654         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
32655         not define.
32656         * sysdeps/unix/sysv/linux/utimes.c: Do not include
32657         <kernel-features.h>.
32658         (__utimes) [__NR_utimes]: Make code unconditional.
32659         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
32660         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32661         (__ASSUME_UTIMES): Do not undefine.
32662         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32663         (__ASSUME_UTIMES): Likewise.
32664         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32665         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
32666         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
32667         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
32669 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
32671         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
32673 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
32675         [BZ #17747]
32676         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
32677         alias to weak alias for j0l, y0l.
32678         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
32679         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
32681         [BZ #17746]
32682         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
32683         conversion.
32685 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
32687         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
32688         to zero if not already defined.
32690 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32692         [BZ #17724]
32693         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
32694         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
32695         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
32696         (char *) casts added.
32697         * sysdeps/ieee754/k_standardf.c: New file.
32698         * sysdeps/ieee754/k_standardl.c: Likewise.
32699         * math/Makefile (libm-support): Remove k_standard.
32700         (libm-calls): Add k_standard.
32702 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32704         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32705         Optimize to avoid an unnecessary FPCR read.
32707 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32709         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32710         Optimize to reduce FPCR/FPSR accesses.
32712 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32714         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
32715         Call libc_fetestexcept_aarch64.
32717 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32719         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
32720         Call libc_fesetround_aarch64.
32722 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32724         [BZ #17733]
32725         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
32726         (__bind): Do not define as weak alias.
32727         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
32728         define.
32729         (__getsockname): Do not define as weak alias.
32731 2014-12-22  Will Newton  <will.newton@linaro.org>
32733         * manual/install.texi: Document that we require bison 2.7
32734         or above.
32735         * INSTALL: Regenerate.
32736         * configure.ac: Use AC_CHECK_PROG_VER instead of
32737         AC_PATH_PROG when checking for bison and check for
32738         version 2.7 or above.
32739         * configure: Regenerate.
32741 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
32743         [BZ #17745]
32744         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
32745         * sysdeps/tile/ffsll.c (ffsll): To here.
32747         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
32749 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
32751         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
32752         if not defined.
32753         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
32754         definition.
32755         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
32756         hidden ___tls_get_addr.
32757         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
32758         hidden __tls_get_addr.
32759         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
32760         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
32761         Likewise.
32763 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32765         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
32766         _dl_init call.
32768 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
32770         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
32771         from "call _dl_init@PLT".
32772         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
32774 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
32776         * manual/search.texi: (Array Sort Function): Clarify stable sorting
32777         guarantees.
32779 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
32781         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
32783 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
32785         [BZ #17744]
32786         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
32787         strnlen.
32789 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
32791         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
32792         of multu on MIPSr6.
32793         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
32794         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
32795         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
32796         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
32797         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
32799 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
32801         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
32802         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
32803         (PTR_SUBU): Use subu for mips32r6/mips64r6.
32804         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
32805         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
32806         mips32r6/mips64r6.
32807         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
32809 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
32811         * string/strncat.c (STRNCAT): Simplify implementation.
32813 2014-12-19  David S. Miller  <davem@davemloft.net>
32815         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
32816         access the quad as both a long double and as a series of 4 words.
32818         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
32819         link_map->l_info array access.
32821 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
32823         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
32825         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
32826         * math/atest-exp2.c (TIMEOUT): Likewise.
32827         * math/atest-sincos.c (TIMEOUT): Likewise.
32829 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
32831         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
32832         -Wno-error with -fno-builtin-lround.
32834 2014-12-19  Torvald Riegel  <triegel@redhat.com>
32836         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
32837         Contains futex constants and functions moved over from ...
32838         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
32839         <lowlevellock-futex.h>.
32840         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
32841         (lll_timedwait_tid): Add comments and parentheses around macro
32842         arguments.
32844 2014-12-19  Torvald Riegel  <triegel@redhat.com>
32846         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
32847         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
32848         (__lll_private_flag): Remove.
32849         (lll_futex_wait): Likewise.
32850         (lll_futex_timed_wait): Likewise.
32851         (lll_futex_wake): Likewise.
32852         (lll_futex_requeue): Likewise.
32853         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
32854         (__lll_timedwait_tid): Spell out argument names.
32855         (lll_timedwait_tid): Add comments and parentheses around macro
32856         arguments.
32857         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
32858         LLL_SHARED and LLL_PRIVATE usable from assembly code.
32860 2014-12-19  Torvald Riegel  <triegel@redhat.com>
32862         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
32863         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32864         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32865         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
32866         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
32867         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
32868         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
32869         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
32870         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
32871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
32872         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
32873         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
32874         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
32875         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
32876         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
32877         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
32878         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
32879         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
32880         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
32882 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
32884         * sysdeps/x86_64/x32/Makefile: New file.
32886 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
32888         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
32889         1L with (mp_limb_t) 1.
32891 2014-12-17  Roland McGrath  <roland@hack.frob.com>
32893         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
32894         * nptl/libc_pthread_init.c: ... here.
32895         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
32896         * nptl/register-atfork.c: ... here.
32898         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
32899         Use pthread_sigmask rather than INTERNAL_SYSCALL.
32900         Use assert_perror to check its return value.
32901         (__gai_create_helper_thread): Likewise.
32903         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
32905         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
32907 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
32909         [BZ #17725]
32910         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
32911         __profil_counter.
32912         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
32913         Likewise.
32914         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
32915         Likewise.
32916         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
32917         Likewise.
32918         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
32919         (profil_counter): Likewise.
32920         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
32921         (profil_counter): Likewise.
32922         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
32923         Likewise.
32924         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
32925         Likewise.
32926         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
32927         (profil_counter): Likewise.
32928         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
32929         Likewise.
32930         [!__profil_counter] (profil_counter): Define as weak alias of
32931         __profil_counter.
32932         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
32933         (profil_counter): Rename to __profil_counter.
32934         [!__profil_counter] (profil_counter): Define as weak alias of
32935         __profil_counter.
32936         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
32937         (profil_counter): Rename to __profil_counter.
32938         [!__profil_counter] (profil_counter): Define as weak alias of
32939         __profil_counter.
32940         * sysdeps/posix/profil.c: Update comment referring to
32941         profil_counter.
32942         (__profil): Use __profil_counter instead of profil_counter.
32943         * sysdeps/posix/sprofil.c (profil_counter): Rename to
32944         __profil_counter.  Use __profil_counter_ushort and
32945         __profil_counter_uint in definitions.
32946         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
32947         instead of profil_counter_uint and profil_counter_ushort.
32949         [BZ #17722]
32950         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
32951         define as weak alias of __inet_makeaddr.
32952         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
32953         as weak alias of __inet_addr.
32954         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
32955         as weak alias of __inet_pton.  Use libc_hidden_weak.
32956         * include/arpa/inet.h (__inet_pton): Declare.  Use
32957         libc_hidden_proto.
32958         (inet_makeaddr): Don't use libc_hidden_proto.
32959         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
32960         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
32961         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
32962         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
32963         Remove variable.
32964         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32965         (test-xfail-POSIX/time.h/linknamespace): Likewise.
32967 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
32969         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
32971 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32973         * stdio-common/bug-vfprintf-nargs.c (do_test):
32974         Cast value to intptr_t to avoid format warning
32975         for usage with PRIdPTR printing macro.
32977 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32979         * libio/tst-widetext.c (do_test):
32980         Use format type %td instead of %Zd for ptrdiff_t
32981         in order to avoid format warning.
32983 2014-12-17  Andreas Schwab  <schwab@suse.de>
32985         * nscd/mem.c (gc): Add size_t cast to match printf format.
32987 2014-12-16  Roland McGrath  <roland@hack.frob.com>
32989         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
32990         (init): Apply PTR_MANGLE to pointers before storing them.
32991         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
32992         before using them.
32994 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
32996         [BZ #17719]
32997         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
32998         define as weak alias of __memrchr.
32999         (__memrchr): Do not define as strong alias of memrchr.
33000         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
33001         Remove variable.
33002         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33003         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33004         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33006         [BZ #17717]
33007         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
33008         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
33009         (if_indextoname): Rename to __if_indextoname and define as weak
33010         alias of __if_indextoname.  Use libc_hidden_weak.
33011         (if_freenameindex): Rename to __if_freenameindex and define as
33012         weak alias of __if_freenameindex.
33013         (if_nameindex): Rename to __if_nameindex and define as weak alias
33014         of __if_nameindex.
33015         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
33016         __if_nametoindex and define as weak alias of __if_nametoindex.
33017         Use libc_hidden_weak.
33018         (if_freenameindex): Rename to __if_freenameindex and define as
33019         weak alias of __if_freenameindex.
33020         (if_nameindex): Rename to __if_nameindex and define as weak alias
33021         of __if_nameindex.
33022         (if_indextoname): Rename to __if_indextoname and define as weak
33023         alias of __if_indextoname.  Use libc_hidden_weak.
33024         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
33025         __if_nametoindex and define as weak alias of __if_nametoindex.
33026         Use libc_hidden_weak.
33027         (if_freenameindex): Rename to __if_freenameindex and define as
33028         weak alias of __if_freenameindex.  Use libc_hidden_weak.
33029         (if_nameindex_netlink): Use __if_freenameindex instead of
33030         if_freenameindex.
33031         (if_nameindex): Rename to __if_nameindex and define as weak alias
33032         of __if_nameindex.  Use libc_hidden_weak.
33033         (if_indextoname): Rename to __if_indextoname and define as weak
33034         alias of __if_indextoname.  Use libc_hidden_weak.
33035         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
33036         libc_hidden_proto.
33037         [!_ISOMAC] (__if_freenameindex): Likewise.
33038         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
33039         if_nametoindex.
33040         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
33041         variable.
33042         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33043         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33044         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33045         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33046         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33047         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33048         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33050         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33051         Remove variable.
33052         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33053         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33055 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33057         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33058         subscript above bounds'
33060         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33061         bounds.
33063 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
33065         * libio/tst-fopenloc.c: Use test-skeleton.c.
33067         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33068         (entry): Rename to ITEM.
33069         (do_test, comp): Adjust.
33071         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33073 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33075         * string/tester.c: Include <libc-internal.h>.
33076         (test_memset): Ignore -Wmemset-transposed-args.
33078 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33080         * misc/tst-mntent2.c (do_test): Fix warning.
33082 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33084         * elf/tst-unique4lib.cc(a): Mark as used.
33086 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33088         [BZ #17630]
33089         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33090         names.
33092 2014-12-16  Allan McRae  <allan@archlinux.org>
33094         * stdio-common/Makefile (tests): Re-add bug26.
33096 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33098         [BZ #17657]
33099         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33100         static array.
33102 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33104         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33105         (__lll_lock_wait): Likewise.
33106         (__lll_timedlock_wait): Likewise.
33107         (__lll_timedwait_tid): Likewise.
33108         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33109         (__lll_robust_timedlock_wait): Likewise.
33110         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33111         (lll_cond_trylock): Likewise.
33112         (__lll_lock): Likewise.
33113         (__lll_robust_lock): Likewise.
33114         (__lll_cond_lock): Likewise.
33115         (lll_robust_cond_lock): Likewise.
33116         (__lll_timedlock): Likewise.
33117         (__lll_robust_timedlock): Likewise.
33118         (__lll_unlock): Likewise.
33119         (__lll_robust_unlock): Likewise.
33120         (lll_wait_tid): Likewise.
33121         (lll_timedwait_tid): Likewise.
33123 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33125         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33127 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33129         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33131 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33133         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33134         * stdio-common/tst-sprintf.c: Likewise.
33136 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33138         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33140 2014-12-15  Jeff Law  <law@redhat.com>
33142         [BZ #16617]
33143         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33144         on the heap.  (CVE-2012-3406)
33145         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33146         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33147         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33149 2014-12-15  Will Newton  <will.newton@linaro.org>
33151         * manual/install.texi: Bump required version of texinfo
33152         to 4.7 from 4.5.
33153         * INSTALL: Regenerated.
33154         * configure.ac: Check for makeinfo version 4.7 and above.
33155         * configure: Regenerated.
33157 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33159         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33160         PREFIX, string constant to insert between directory and name.
33161         * sysdeps/posix/shm_open.c: Update caller.
33162         * sysdeps/posix/shm_unlink.c: Likewise.
33163         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33164         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33165         (SEM_SHM_PREFIX): New macro.
33166         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33167         [$(have-thread-library) = no].
33168         * nptl/Makefile (libpthread-routines): Add shm-directory.
33169         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33170         * sysdeps/nptl/shm-directory.h: New file.
33171         * sysdeps/posix/shm-directory.c
33172         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33173         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33174         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33175         INTERNAL_SYSCALL.
33176         (__where_is_shmfs): Function removed.
33177         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33178         Variables removed.
33179         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33180         Use SHM_GET_NAME.
33181         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33183         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33184         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33185         unconditional for use inside libpthread.
33186         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33188 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33190         * nptl/pthread_getaffinity.c: New file.
33191         * nptl/pthread_setaffinity.c: New file.
33192         * nptl/pthread_getname.c: New file.
33193         * nptl/pthread_setname.c: New file.
33195         * nptl/pthread_create.c (START_THREAD_DEFN)
33196         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33198 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33199             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33201         * resolv/res_send.c (send_vc): Disable warning resplen may
33202         be used uninitialized.
33204 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33206         * nptl/tst-mutex6.c
33207         (ATTR_NULL): New define checks ATTR against NULL.
33208         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33209         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33211 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33213         [BZ #17581]
33214         * malloc/hooks.c
33215         (mem2mem_check): Revert my previous change.
33216         (malloc_check_get_size): Revert my previous change.
33217         (mem2chunk_check): Revert my previous change.
33219 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33221         * sysdeps/posix/shm-directory.c: New file.
33222         * sysdeps/posix/shm-directory.h: New file.
33223         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33224         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33225         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33226         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33227         Transmute EPERM to EACCES.
33228         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33229         from ...
33230         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33231         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33233 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33235         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33236         pointer and cast to uintptr_t.
33237         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33238         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33239         Add cast to avoid warning.
33240         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33242 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33244         * nptl/semaphore.h: Move to ...
33245         * sysdeps/pthread/semaphore.h: ... here.
33246         * Makefile (installed-headers): Change nptl/semaphore.h to
33247         sysdeps/pthread/semaphore.h.
33249 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33251         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33252         generated error format strings.
33254         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33255         -Wformat-extra-args warnings for scanf formats.
33256         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33257         test of zero-length format (duh).
33258         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33259         corner-case scanf format test.
33260         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33261         generated fprintf format string.
33262         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33263         corner-case sprintf format tests.
33264         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33265         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33266         -Wformat-extra-args warnings throughout.
33267         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33268         (CFLAGS-scanf4.c): Likewise.
33269         (CFLAGS-scanf7.c): Likewise.
33270         (CFLAGS-tst-sprintf.c): Likewise.
33271         (CFLAGS-tst-printf.c): Likewise.
33272         (CFLAGS-tst-printfsz.c): Likewise.
33274 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33276         * include/cpio.h: New file.
33277         * include/fmtmsg.h: Likewise.
33279         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33280         corresponding format argument to size_t.
33281         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33282         arguments.
33283         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33284         corresponding format argument to size_t.
33285         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33286         arguments.
33287         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33288         corresponding format argument to size_t.
33289         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33290         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33291         (CFLAGS-tst-mbswcs2.c): Likewise.
33292         (CFLAGS-tst-mbswcs3.c): Likewise.
33293         (CFLAGS-tst-mbswcs4.c): Likewise.
33294         (CFLAGS-tst-mbswcs5.c): Likewise.
33295         (CFLAGS-tst-trans.c): Likewise.
33297 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33299         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33300         rather than assuming they won't contain any '%'s.
33302 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33304         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33305         inhibit_loop_to_libcall to avoid recursive calls.
33306         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33307         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33309 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33311         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33312         prototype.
33314 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33316         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33317         integer value instead of boolean.
33319 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33321         * malloc/malloc.c: Fix powerof2 check.
33323 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33325         * locale/programs/locfile.h (maybe_swap_uint32):
33326         Remove inline and add unused attribute.
33328 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33330         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33331         Truncating assembler expression to a .long expression.
33333 2014-12-11  Andreas Schwab  <schwab@suse.de>
33335         * elf/rtld.c (struct map_args): Constify str member.
33336         (do_preload): Constify fname argument.
33338 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33340         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33341         constants definition.
33343 2014-12-11  Andreas Schwab  <schwab@suse.de>
33345         [BZ #16657]
33346         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33347         FORCE_ELISION instead of DO_ELISION.
33348         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33349         Remove.
33350         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33351         Likewise.
33353         * iconvdata/gconv-modules: Remove duplicate entry.
33355 2014-12-11  Will Newton  <will.newton@linaro.org>
33357         Merge gettext 0.19.3 into intl/.
33359         This involves a number of cosmetic changes to comments
33360         and ANSI function definitions and prototypes throughout
33361         all the files. The gettext copyright header is used but
33362         with the date ranges taken from the glibc copy.
33364         * NEWS: Add gettext merge to 2.21.
33365         * intl/bindtextdom.c: Switch to gettext copyright.
33366         Use ANSI definitions and prototypes.
33367         Use gl_* locking primitives rather than __libc_* ones.
33368         Use __builtin_expect rather than __glibc_likely/unlikely.
33369         * intl/dcgettext.c: Switch to gettext copyright.
33370         Use ANSI definitions and prototypes.
33371         * intl/dcigettext.c: Switch to gettext copyright.
33372         Use ANSI definitions and prototypes.
33373         (INTDIV0_RAISES_SIGFPE): New define.
33374         Use gl_* locking primitives rather than __libc_* ones.
33375         Include eval-plural.h instead of plural-eval.c.
33376         Use __builtin_expect rather than __glibc_likely/unlikely.
33377         * intl/dcngettext.c: Switch to gettext copyright.
33378         Use ANSI definitions and prototypes.
33379         * intl/dgettext.c: Likewise.
33380         * intl/dngettext.c: Likewise.
33381         * intl/plural-eval.c: Renamed to...
33382         * intl/eval-plural.h: ...this.
33383         * intl/explodename.c: Switch to gettext copyright.
33384         Use ANSI definitions and prototypes.
33385         (_nl_explode_name): Use strchr instead of __rawmemchr.
33386         * intl/finddomain.c: Switch to gettext copyright.
33387         Use ANSI definitions and prototypes.
33388         Use gl_* locking primitives rather than __libc_* ones.
33389         (_nl_find_domain): Use malloc rather than alloca for
33390         allocation of temporary locale name.
33391         * intl/gettext.c: Switch to gettext copyright.
33392         Use ANSI definitions and prototypes.
33393         * intl/gettextP.h: Switch to gettext copyright.
33394         Use ANSI definitions and prototypes.
33395         Use gl_* locking primitives rather than __libc_* ones.
33396         * intl/gmo.h: Switch to gettext copyright.
33397         (struct sysdep_string): Move struct segment_pair outside of
33398         struct definition.
33399         * intl/hash-string.c: Use ANSI definitions and prototypes.
33400         * intl/hash-string.h: Switch to gettext copyright.
33401         Use ANSI definitions and prototypes.
33402         * intl/l10nflist.c: Switch to gettext copyright.
33403         Use ANSI definitions and prototypes.
33404         (_nl_normalize_codeset): Avoid integer overflow.
33405         * intl/loadinfo.h: Switch to gettext copyright.
33406         Use ANSI definitions and prototypes.
33407         (LIBINTL_DLL_EXPORTED): New define.
33408         (PATH_SEPARATOR): New define.
33409         * intl/loadmsgcat.c: Switch to gettext copyright.
33410         * intl/localealias.c: Switch to gettext copyright.
33411         Use ANSI definitions and prototypes.
33412         (_nl_expand_alias): Use PATH_SEPARATOR.
33413         * intl/ngettext.c: Switch to gettext copyright.
33414         Use ANSI definitions and prototypes.
33415         * intl/plural-exp.c: Likewise.
33416         * intl/plural-exp.h: Switch to gettext copyright.
33417         Use ANSI definitions and prototypes.
33418         (struct expression): Move definition of enum operator outside
33419         of struct definition.
33420         * intl/plural.c: Regenerate.
33421         * intl/plural.y: Switch to gettext copyright.
33422         Use ANSI definitions and prototypes.
33423         Port to bison 3.0.
33424         * intl/textdomain.c: Switch to gettext copyright.
33425         Use ANSI definitions and prototypes.
33426         Use gl_* locking primitives rather than __libc_* ones.
33428 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
33430         * debug/warning-nop.c: Add used atrribute.
33432 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33434         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
33436         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
33437         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
33438         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
33440 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33441             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33443         [BZ #17634]
33444         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
33445         Undefine after defining function.  Define as weak alias of
33446         __wcschr.  Use libc_hidden_weak.
33447         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
33448         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
33449         (libc_hidden_def): Also define __GI___wcschr alias.
33450         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
33451         __wcschr and define as weak alias of __wcschr.
33452         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
33453         __wcschr.
33454         [!WCSCHR] (DEFAULT_WCSCHR): Define.
33455         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
33456         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
33457         libc_hidden_weak.  Do not use libc_hidden_def.
33458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
33459         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
33460         __GI___wcschr alias.
33461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
33462         [IS_IN (libc)] (wcschr): Define as macro expanding to
33463         __redirect_wcschr.
33464         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
33465         [IS_IN (libc)] (__wcschr_power6): Likewise.
33466         [IS_IN (libc)] (__wcschr_power7): Likewise.
33467         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
33468         instead of wcschr.
33469         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
33470         __libc_wcschr.
33471         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
33472         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
33473         __wcschr and define as weak alias of __wcschr.  Use
33474         libc_hidden_builtin_def.
33475         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
33476         as weak alias of __wcschr.  Use libc_hidden_weak.
33477         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
33478         wcschr.
33479         * time/era.c (_nl_init_era_entries): Likewise.
33480         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
33481         variable.
33482         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33483         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33485 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33487         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
33488         format for long int variable.
33490 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
33492         [BZ #10672]
33493         * manual/search.texi: (Array Sort Function): Remove claim how to make
33494         qsort stable.
33496 2014-12-10  Andreas Schwab  <schwab@suse.de>
33498         [BZ #12847]
33499         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
33500         user-controlled locks.
33502 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
33504         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
33505         register.
33507 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33509         * configure.ac (--disable-werror): New configure option.
33510         (enable_werror): New AC_SUBST.
33511         * configure: Regenerated.
33512         * config.make.in (enable-werror): New variable.
33513         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
33514         -Wno-error=undef.
33515         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
33516         * manual/install.texi (Configuring and compiling): Document
33517         --disable-werror.
33518         * INSTALL: Regenerated.
33519         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
33520         (CFLAGS-tst-chk2.c): Likewise.
33521         (CFLAGS-tst-chk3.c): Likewise.
33522         (CFLAGS-tst-chk4.cc): Likewise.
33523         (CFLAGS-tst-chk5.cc): Likewise.
33524         (CFLAGS-tst-chk6.cc): Likewise.
33525         (CFLAGS-tst-lfschk1.c): Likewise.
33526         (CFLAGS-tst-lfschk2.c): Likewise.
33527         (CFLAGS-tst-lfschk3.c): Likewise.
33528         (CFLAGS-tst-lfschk4.cc): Likewise.
33529         (CFLAGS-tst-lfschk5.cc): Likewise.
33530         (CFLAGS-tst-lfschk6.cc): Likewise.
33532         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
33533         (main): Disable -Wdeprecated-declarations around calls to
33534         register_printf_function.
33536         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
33537         (do_test): Disable -Wdiv-by-zero around some calls to
33538         fwrite_unlocked and fread_unlocked.
33540         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
33541         (DIAG_POP_NEEDS_COMMENT): Likewise.
33542         (_DIAG_STR1): Likewise.
33543         (_DIAG_STR): Likewise.
33544         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
33545         * stdio-common/bug21.c: Include <libc-internal.h>.
33546         (do_test): Disable -Wformat around call to sscanf.
33547         * stdio-common/scanf14.c: Include <libc-internal.h>.
33548         (main): Disable -Wformat around some calls to scanf functions.
33550 2014-12-09  Torvald Riegel  <triegel@redhat.com>
33552         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
33554 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33556         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
33557         stack variable alignment.
33559 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
33561         [BZ #17682]
33562         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
33563         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
33564         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
33565         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
33566         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
33567         __getrlimit instead of getrlimit.
33568         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
33569         __gettimeofday instead of gettimeofday.
33570         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33571         Likewise.
33572         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33573         Likewise.
33574         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33575         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
33576         Remove variable.
33577         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33578         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33580 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33582         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
33583         for wide-character tests.
33585 2014-12-04  Roland McGrath  <roland@hack.frob.com>
33587         * io/openat64.c: #include <libc-internal.h>
33588         (__openat64): Prototypify.  Use ignore_value on MODE.
33589         * io/openat.c: Likewise.
33590         * misc/reboot.c: #include <libc-internal.h>
33591         (reboot): Prototypify.  Use ignore_value on HOWTO.
33592         * misc/ptrace.c: #include <libc-internal.h>
33593         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
33595 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
33597         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
33598         XPG4, UNIX98 and XOPEN2K.
33599         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
33600         Remove variable.
33601         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33603 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33605         * libio/fileops.c: Use ISO C style for function definitions.
33606         * libio/iofopen.c: Likewise.
33607         * libio/wfileops.c: Likewise.
33609         [BZ #17653]
33610         * libio/fileops.c (_IO_new_file_underflow): Unset cached
33611         offset on EOF.
33612         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
33613         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
33614         (fgets_func): Function pointer to fgets and fgetws.
33615         (do_ftell_test): Add test to verify ftell value after read
33616         EOF.
33617         (do_test): Set fgets_func.
33619         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
33620         O_TRUNC flag for w and w+ modes.
33621         (do_rewind_test): Likewise.
33622         (do_ftell_test): Likewise.
33623         (do_write_test): Likewise.
33625         [BZ #17647]
33626         * libio/fileops.c (do_ftell): Seek only when there are
33627         unflushed writes.
33628         * libio/wfileops.c (do_ftell_wide): Likewise.
33629         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
33630         test case.
33631         (do_one_test): Call it.
33633 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
33635         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
33636         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
33637         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
33638         Remove variable.
33639         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33640         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33641         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33643 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
33645         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
33646         Remove variable.
33647         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33649         [BZ #17668]
33650         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
33651         as weak alias of __getifaddrs.  Use libc_hidden_weak.
33652         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33653         __freeifaddrs.  Use libc_hidden_weak.
33654         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
33655         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
33656         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33657         __freeifaddrs.  Use libc_hidden_weak.
33658         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
33659         __getifaddrs and define as weak alias of __getifaddrs.  Use
33660         libc_hidden_weak.
33661         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33662         __freeifaddrs.  Use libc_hidden_weak.
33663         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
33664         Remove variable.
33665         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33666         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33668 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
33670         [BZ #17601]
33671         * sysdeps/mips/start.S (__start): Use indirect jump to call
33672         __libc_start_main.
33674 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
33676         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
33678         * nptl/tst-mutex1.c: Include <stdbool.h>.
33679         [!ATTR] (ATTR_NULL): New macro.
33680         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
33681         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
33682         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
33684         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
33685         to char *.
33687         [BZ #17665]
33688         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
33689         Change conditional to [__USE_MISC].
33691         [BZ #17664]
33692         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
33693         fgets_unlocked.
33694         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
33695         __fgets_unlocked.
33696         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
33697         fgets_unlocked.
33698         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
33699         Remove variable.
33700         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33701         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33702         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33703         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33704         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33705         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33706         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33707         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33708         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33710         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
33712 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33714         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33715         Remove strpbrk objects.
33716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33717         (__libc_ifunc_impl_list): Remove strpbrk implementation.
33718         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
33719         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
33720         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
33721         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
33723         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33724         Remove strcspn objects.
33725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33726         (__libc_ifunc_impl_list): Remove strcspn implementation.
33727         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
33728         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
33729         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
33730         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
33732         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33733         Remove strspn objetcs.
33734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33735         (__libc_ifunc_impl_list): Remove strspn implementation.
33736         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
33737         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33738         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
33739         * sysdeps/powerpc/powerpc64/strspn.S: New file.
33741 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
33743         [BZ #17581]
33744         * malloc/hooks.c
33745         (mem2mem_check): Add a terminator to the chain of checking blocks.
33746         (malloc_check_get_size): Use it here.
33747         (mem2chunk_check): Ditto.
33749 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33751         * sysdeps/powerpc/powerpc64/strtok.S: New file.
33752         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
33754 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
33756         * bits/ioctl-types.h: Indent preprocessor directives correctly.
33758         * nptl/nptl-init.c: Include libc-internal.h.
33759         (__pthread_initialize_minimal_internal): Use ROUND_UP.
33761         * elf/ldconfig.c (search_dir): Expand comment.
33763 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
33765         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
33766         variable.
33767         (linknamespace-symlist-stdlibs-tests): Likewise.
33768         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
33769         instead of $(objpfx)symlist-stdlibs.
33770         (linknamespace-libs-isoc): New variable.
33771         (linknamespace-libs): Use $(linknamespace-libs-isoc).
33772         (linknamespace-libs-ISO): New variable.
33773         (linknamespace-libs-ISO99): Likewise.
33774         (linknamespace-libs-ISO11): Likewise.
33775         (linknamespace-libs-XPG3): Likewise.
33776         (linknamespace-libs-XPG4): Likewise.
33777         (linknamespace-libs-POSIX): Likewise.
33778         (linknamespace-libs-UNIX98): Likewise.
33779         (linknamespace-libs-XOPEN2K): Likewise.
33780         (linknamespace-libs-POSIX2008): Likewise.
33781         (linknamespace-libs-XOPEN2K8): Likewise.
33782         ($(objpfx)symlist-stdlibs): Replace by
33783         $(linknamespace-symlist-stdlibs-tests).  Use
33784         $(linknamespace-libs-$*) as set of libraries.
33785         ($(linknamespace-header-tests)): Update dependencies.  Use
33786         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
33787         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
33788         * conform/linknamespace.pl: Remove comment about considering
33789         definitions of symbols from irrelevant libraries.
33791 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
33793         [BZ #13862]
33794         * elf/dl-tls.c: Include <atomic.h>.
33795         (oom): Remove #ifdef SHARED/#endif.
33796         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
33797         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
33798         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
33799         big enough.
33800         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
33801         * nptl/Makefile (tests): Add tst-stack4.
33802         (modules-names): Add tst-stack4mod.
33803         ($(objpfx)tst-stack4): New.
33804         (tst-stack4mod.sos): Likewise.
33805         ($(objpfx)tst-stack4.out): Likewise.
33806         ($(tst-stack4mod.sos)): Likewise.
33807         (clean): Likewise.
33808         * nptl/tst-stack4.c: New file.
33809         * nptl/tst-stack4mod.c: Likewise.
33811 2014-11-27  J. Brown  <jb999@gmx.de>
33813         * sysdeps/x86/bits/string.h: Add recent CPUs.
33815 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
33817         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
33818         sigblock.
33820         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
33821         feof.
33823         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
33824         variable.
33826 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
33828         * nscd/connections.c: Include libc-internal.h because of macro
33829         usage ignore_value.
33831 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33833         * string/bits/string3.h (__warn_memset_zero_len): Don't
33834         declare for gcc newer than 5.0.
33835         (memset): Don't test for zero-length __LEN for gcc newer than
33836         5.0.
33838 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
33840         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
33841         size_t for %zu format.
33843         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
33844         difference, not %ju.
33846 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
33848         * include/libc-internal.h (ignore_value): New macro.
33849         * nscd/connections.c (restart): Wrap calls to setuid and setgid
33850         with ignore_value.
33852         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
33853         definition.
33855         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
33856         pthread_cleanup_push to void *.
33858         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
33859         Undefine.
33861         [BZ #16619]
33862         [BZ #16740]
33863         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
33864         instead of 1L << 52.
33866         * libio/bug-rewind.c (do_test): Check fwscanf return values.
33867         * libio/bug-rewind2.c (do_test): Likewise.
33869         * debug/test-stpcpy_chk-ifunc.c: Remove file.
33870         * debug/test-strcpy_chk-ifunc.c: Likewise.
33871         * wcsmbs/test-wcschr-ifunc.c: Likewise.
33872         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33873         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33874         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33875         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33876         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33877         * Rules [$(multi-arch) = no] (tests): Do not filter out
33878         $(tests-ifunc).
33879         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
33880         * debug/Makefile (tests-ifunc): Remove variable.
33881         (tests): Do not add $(tests-ifunc).
33882         * wcsmbs/Makefile (tests-ifunc): Remove variable.
33883         (tests): Do not add $(tests-ifunc).
33884         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
33885         [TEST_IFUNC]: Remove conditionals.
33886         * string/test-string.h (TEST_IFUNC): Remove macro.
33887         [TEST_IFUNC]: Remove conditionals.
33889         * string/test-strchr.c [!WIDE] (L): New macro.
33890         [WIDE] (L): Likewise.
33891         (check1): Use CHAR instead of char.  Use L on string and character
33892         constants.
33894 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
33896         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
33897         tests.
33898         * sysdeps/powerpc/bits/atomic.h
33899         (__arch_atomic_exchange_and_add_32_acq): Add definition.
33900         (__arch_atomic_exchange_and_add_32_rel): Likewise.
33901         (atomic_exchange_and_add_acq): Likewise.
33902         (atomic_exchange_and_add_rel): Likewise.
33903         * sysdeps/powerpc/powerpc32/bits/atomic.h
33904         (__arch_atomic_exchange_and_add_64_acq): Add definition.
33905         (__arch_atomic_exchange_and_add_64_rel): Likewise.
33906         * sysdeps/powerpc/powerpc64/bits/atomic.h
33907         (__arch_atomic_exchange_and_add_64_acq): Add definition.
33908         (__arch_atomic_exchange_and_add_64_rel): Likewise.
33910 2014-11-26  Torvald Riegel  <triegel@redhat.com>
33912         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
33913         Change synchronization of __sched_fifo_min_prio and
33914         __sched_fifo_max_prio.
33915         * nptl/pthread_mutexattr_getprioceiling.c
33916         (pthread_mutexattr_getprioceiling): Likewise.
33917         * nptl/pthread_mutexattr_setprioceiling.c
33918         (pthread_mutexattr_setprioceiling): Likewise.
33919         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
33920         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
33921         Likewise.
33923 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
33925         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
33926         void.
33928 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
33930         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
33931         third argument const.
33933 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
33935         fnmatch: work around GCC compiler warning bug with uninit var
33936         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
33937         This works around a bug with x86-64 GCC 4.9.2 and earlier
33938         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
33939         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
33940         used uninitialized in this function [-Wmaybe-uninitialized]".
33942 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
33944         * posix/bug-regex31.c (main): Return RES not 0.
33946 2014-11-25  Anton Blanchard <anton@samba.org>
33948         * sysdeps/powerpc/bits/atomic.h
33949         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
33951 2014-11-24  Sterling Augustine  <saugustine@google.com>
33953         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
33955 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
33957         [BZ #17608]
33958         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
33960 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
33962         [BZ #17633]
33963         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
33964         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
33965         variable.
33966         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33967         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33969 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
33971         * string/strncpy.c (strncpy): Improve performance by using memset.
33973 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
33975         * string/strcpy.c (strcpy):
33976         Improve performance by using strlen and memcpy.
33978 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
33980         * string/strcoll_l.c (get_next_seq): __always_inline.
33981         * string/strcoll_l.c (do_compare): __always_inline.
33983 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33985         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
33986         defined.
33987         * include/mqueue.h: Likewise.
33988         * include/stdlib.h: Likewise.
33990         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
33991         (get_null_defines): Adjust.
33992         * sunrpc/Makefile: Adjust comment.
33993         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
33994         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
33995         (CFLAGS-interp.c): Likewise.
33996         (CFLAGS-ldconfig.c): Likewise.
33997         (CPPFLAGS-.os): Likewise.
33998         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33999         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34000         * extra-modules.mk (extra-modules.mk): Likewise.
34001         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
34002         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
34003         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
34004         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
34005         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34006         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
34007         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
34008         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
34009         * iconvdata/Makefile (CPPFLAGS): Likewise.
34010         (cpp-srcs-left): Add libof for all iconvdata routines.
34011         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
34012         * include/assert.h: Likewise.
34013         * include/ctype.h: Likewise.
34014         * include/errno.h: Likewise.
34015         * include/libc-symbols.h: Likewise.
34016         * include/math.h: Likewise.
34017         * include/netdb.h: Likewise.
34018         * include/resolv.h: Likewise.
34019         * include/stdio.h: Likewise.
34020         * include/stdlib.h: Likewise.
34021         * include/string.h: Likewise.
34022         * include/sys/stat.h: Likewise.
34023         * include/wctype.h: Likewise.
34024         * intl/l10nflist.c: Likewise.
34025         * libidn/idn-stub.c: Likewise.
34026         * libio/libioP.h: Likewise.
34027         * nptl/libc_multiple_threads.c: Likewise.
34028         * nptl/pthreadP.h: Likewise.
34029         * posix/regex_internal.h: Likewise.
34030         * resolv/res_hconf.c: Likewise.
34031         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
34032         * sysdeps/arm/memmove.S: Likewise.
34033         * sysdeps/arm/sysdep.h: Likewise.
34034         * sysdeps/generic/_itoa.h: Likewise.
34035         * sysdeps/generic/symbol-hacks.h: Likewise.
34036         * sysdeps/gnu/errlist.awk: Likewise.
34037         * sysdeps/gnu/errlist.c: Likewise.
34038         * sysdeps/i386/i586/memcpy.S: Likewise.
34039         * sysdeps/i386/i586/memset.S: Likewise.
34040         * sysdeps/i386/i686/memcpy.S: Likewise.
34041         * sysdeps/i386/i686/memmove.S: Likewise.
34042         * sysdeps/i386/i686/mempcpy.S: Likewise.
34043         * sysdeps/i386/i686/memset.S: Likewise.
34044         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34045         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34046         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
34047         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
34048         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34049         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34050         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34051         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34052         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34053         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34054         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34055         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34056         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34057         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34058         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34059         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34060         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34061         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34062         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34063         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34064         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34065         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34066         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34067         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34068         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34069         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34070         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34071         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34072         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34073         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34074         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34075         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34077         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34078         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34079         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34080         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34081         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34082         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34083         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34084         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34085         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34086         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34087         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34088         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34089         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34090         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34091         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34092         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34093         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34094         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34095         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34096         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34097         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34098         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34099         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34100         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34101         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34102         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34103         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34104         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34105         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34106         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34107         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34108         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34109         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34110         * sysdeps/posix/closedir.c: Likewise.
34111         * sysdeps/posix/opendir.c: Likewise.
34112         * sysdeps/posix/readdir.c: Likewise.
34113         * sysdeps/posix/rewinddir.c: Likewise.
34114         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34115         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34116         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34117         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34118         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34119         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34120         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34121         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34123         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34124         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34125         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34126         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34127         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34128         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34129         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34130         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34131         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34132         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34133         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34134         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34135         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34136         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34137         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34139         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34141         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34142         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34149         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34150         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34151         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34152         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34153         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34154         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34155         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34156         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34157         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34158         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34159         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34160         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34161         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34162         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34163         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34164         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34165         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34166         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34167         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34168         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34169         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34170         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34171         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34172         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34173         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34174         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34175         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34176         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34177         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34178         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34179         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34180         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34181         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34182         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34183         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34184         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34185         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34186         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34187         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34188         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34189         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34190         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34191         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34192         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34193         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34194         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34195         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34196         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34197         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34198         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34199         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34200         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34201         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34202         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34203         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34204         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34205         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34206         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34207         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34208         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34209         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34210         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34211         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34212         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34213         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34214         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34215         * sysdeps/unix/alpha/sysdep.S: Likewise.
34216         * sysdeps/unix/alpha/sysdep.h: Likewise.
34217         * sysdeps/unix/make-syscalls.sh: Likewise.
34218         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34219         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34220         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34221         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34222         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34223         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34224         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34225         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34226         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34227         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34228         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34229         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34230         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34231         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34232         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34233         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34234         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34235         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34236         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34237         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34238         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34239         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34240         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34241         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34242         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34243         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34244         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34247         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34248         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34250         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34251         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34252         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34253         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34254         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34255         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34256         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34257         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34258         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34259         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34260         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34261         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34262         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34263         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34265         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34266         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34267         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34268         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34269         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34270         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34271         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34272         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34273         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34274         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34275         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34276         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34277         * sysdeps/x86_64/memcpy.S: Likewise.
34278         * sysdeps/x86_64/memmove.c: Likewise.
34279         * sysdeps/x86_64/memset.S: Likewise.
34280         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34281         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34282         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34283         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34284         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34285         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34286         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34287         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34288         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34289         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34290         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34291         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34292         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34293         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34294         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34295         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34296         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34297         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34298         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34299         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34300         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34301         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34302         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34303         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34304         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34305         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34306         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34307         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34308         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34309         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34310         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34311         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34312         * sysdeps/x86_64/strcmp.S: Likewise.
34314         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34316         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34317         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34318         * elf/rtld-Rules: Likewise.
34319         * elf/setup-vdso.h: Likewise.
34320         * include/assert.h: Likewise.
34321         * include/bits/stdlib-float.h: Likewise.
34322         * include/errno.h: Likewise.
34323         * include/sys/stat.h: Likewise.
34324         * include/unistd.h: Likewise.
34325         * sysdeps/aarch64/setjmp.S: Likewise.
34326         * sysdeps/alpha/setjmp.S: Likewise.
34327         * sysdeps/arm/__longjmp.S: Likewise.
34328         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34329         * sysdeps/arm/setjmp.S: Likewise.
34330         * sysdeps/arm/sysdep.h: Likewise.
34331         * sysdeps/generic/_itoa.h: Likewise.
34332         * sysdeps/generic/dl-sysdep.h: Likewise.
34333         * sysdeps/generic/ldsodefs.h: Likewise.
34334         * sysdeps/i386/dl-tls.h: Likewise.
34335         * sysdeps/i386/setjmp.S: Likewise.
34336         * sysdeps/m68k/setjmp.c: Likewise.
34337         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34338         * sysdeps/mach/hurd/opendir.c: Likewise.
34339         * sysdeps/posix/getcwd.c: Likewise.
34340         * sysdeps/posix/opendir.c: Likewise.
34341         * sysdeps/posix/profil.c: Likewise.
34342         * sysdeps/powerpc/dl-procinfo.h: Likewise.
34343         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34344         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34345         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34346         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34347         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34348         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34349         * sysdeps/s390/dl-tls.h: Likewise.
34350         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34351         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34352         * sysdeps/sh/sh3/setjmp.S: Likewise.
34353         * sysdeps/sh/sh4/setjmp.S: Likewise.
34354         * sysdeps/unix/alpha/sysdep.h: Likewise.
34355         * sysdeps/unix/arm/sysdep.S: Likewise.
34356         * sysdeps/unix/i386/sysdep.S: Likewise.
34357         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34358         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34359         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34360         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34361         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34362         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34363         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34364         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34365         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34366         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34367         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
34368         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34369         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34372         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34373         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34374         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34375         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34376         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34377         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34378         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34379         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34380         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34381         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34382         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34384         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34385         * sysdeps/x86_64/setjmp.S: Likewise.
34387         * include/math.h: Use IS_IN instead of IS_IN_libm.
34388         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
34389         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34390         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34391         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
34392         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34393         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34394         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34395         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34396         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34397         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34398         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
34399         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
34400         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
34401         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
34402         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
34403         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
34404         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
34405         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
34406         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
34407         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
34408         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
34409         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
34410         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
34411         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
34412         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
34413         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
34414         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
34415         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34416         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34417         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
34418         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
34419         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
34420         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
34422         Likewise.
34423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
34424         Likewise.
34425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
34426         Likewise.
34427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
34428         Likewise.
34429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
34430         Likewise.
34431         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
34432         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
34433         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
34434         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34435         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34436         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
34438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
34439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
34440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
34441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
34442         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
34443         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
34444         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34445         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34446         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34447         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34448         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34449         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34450         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
34451         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
34452         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
34453         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
34454         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
34455         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
34456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34457         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
34459         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
34460         * nptl/pthreadP.h: Likewise.
34461         * nptl_db/structs.def: Likewise.
34462         * sysdeps/arm/sysdep.h: Likewise.
34463         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34464         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34465         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
34466         * sysdeps/unix/alpha/sysdep.h: Likewise.
34467         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34468         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34469         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34470         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34471         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34472         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34473         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34474         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34475         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34476         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34477         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34478         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34479         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34480         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34483         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34484         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34485         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34486         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34488         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34489         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34490         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34491         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
34492         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34494         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
34495         * nptl/pthreadP.h: Likewise.
34496         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34497         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34498         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34499         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34500         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34501         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34502         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34503         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34504         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34505         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34506         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34507         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34509         Likewise.
34510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34511         Likewise.
34512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34514         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34517         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34518         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34519         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34521         * dlfcn/dladdr.c: Use IS_IN.
34522         * dlfcn/dladdr1.c: Likewise.
34523         * dlfcn/dlclose.c: Likewise.
34524         * dlfcn/dlerror.c: Likewise.
34525         * dlfcn/dlinfo.c: Likewise.
34526         * dlfcn/dlmopen.c: Likewise.
34527         * dlfcn/dlopen.c: Likewise.
34528         * dlfcn/dlsym.c: Likewise.
34529         * dlfcn/dlvsym.c: Likewise.
34531         * include/ifaddrs.h: Use IS_IN.
34532         * inet/check_pf.c: Likewise.
34533         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34534         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
34536         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
34537         IS_IN_ldconfig.
34538         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
34539         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
34541         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
34542         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
34543         IS_IN (libc).
34545         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
34547         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
34548         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34549         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34550         * include/libc-symbols.h (IS_IN_LIB): New macro.
34551         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
34552         * include/netdb.h: Likewise.
34553         * include/stap-probe.h: Remove all uses of IN_LIB.
34555         * Makeconfig (module-cppflags-real): Define MODULE_NAME
34556         instead of IN_MODULE.
34557         * include/libc-symbols.h (IN_MODULE): Define using
34558         MODULE_NAME.
34559         (PASTE_NAME, PASTE_NAME1): New macros.
34560         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
34561         of IN_LIB.
34562         (STAP_PROBE_ASM): Likewise.
34564 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34566         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
34567         __mach_init in dlopened libc.
34569 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
34571         * sysdeps/arm/preconfigure.ac: Delete EABI check.
34572         * sysdeps/arm/preconfigure: Regenerate.
34574 2014-11-21  Roland McGrath  <roland@hack.frob.com>
34576         * nptl/pthread_create.c (__pthread_create_2_1): Set
34577         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
34578         when copying values from IATTR into PD.
34580 2014-11-21  Will Newton  <will.newton@linaro.org>
34581             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
34583         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
34584         Refactor inline-asm.  Also add comment.
34586         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
34587         ElfW macro instead of hardcoded Elf64 types.
34588         (la_aarch64_gnu_pltenter): Likewise.
34589         * sysdeps/aarch64/dl-machine.h
34590         (elf_machine_runtime_setup): Use ElfW(Addr).
34592         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
34593         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
34594         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
34595         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
34596         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
34597         (R_AARCH64_TLS_DTPMOD64): Rename to ..
34598         (R_AARCH64_TLS_DTPMOD): This.
34599         (R_AARCH64_TLS_DTPREL64): Rename to ...
34600         (R_AARCH64_TLS_DTPREL): This.
34601         (R_AARCH64_TLS_TPREL64): Rename to ...
34602         (R_AARCH64_TLS_TPREL): This.
34603         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
34604         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
34605         R_AARCH64_TLS_TPREL64.
34606         (elf_machine_rela): Likewise.
34608 2014-11-21  Torvald Riegel  <triegel@redhat.com>
34610         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
34611         by setting it to 0.  64b atomics are not supported currently.
34613 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34615         [BZ #16469]
34616         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
34617         search domain names.
34619 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34621         [BZ #16469]
34622         * NEWS: Update.
34623         * resolv/res_query.c (__libc_res_nquerydomain): Retain
34624         trailing dot.
34625         * posix/tst-getaddrinfo5.c: New.
34626         * posix/Makefile (tests): Add it.
34628 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34630         [BZ #14498]
34631         * NEWS: Fixed.
34632         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
34633         after parsing line but before break_if_match.
34634         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
34635         if there is a protocol mismatch.
34637 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
34639         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
34640         because the potential race is on the user-supplied stream.
34642 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34644         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
34645         string literal if not passed a buffer.
34646         * manual/job.texi (ctermid): Update reasoning, note deviation
34647         from posix, suggest mtasurace when not passed a buffer, for
34648         future non-preliminary safety notes.
34650 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34652         * manual/users.texi (cuserid): Fix MT-Safety note for the case
34653         of not passing it a buffer.
34654         Reported by Peng Haitao.
34656 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34658         * manual/Makefile ($(objpfx)stamp-summary): Require
34659         check-safety.sh to pass.
34660         * manual/check-safety.sh: Wish for verification that every
34661         @deftypefn and @deftypefun is followed by a @safety remark.
34663 2014-11-20  Roland McGrath  <roland@hack.frob.com>
34665         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
34667         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
34668         PTHREAD_CANCEL_ASYNCHRONOUS.
34669         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
34670         send SIGCANCEL.
34672         * nptl/default-sched.h: New file.
34673         * sysdeps/unix/sysv/linux/default-sched.h: New file.
34674         * nptl/pthread_create.c: Include it.
34675         (__pthread_create_2_1): Use collect_default_sched instead of making
34676         Linux syscalls here directly.
34678 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34680         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
34681         __pthread_once): Use C11 atomics.
34683 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34685         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
34687 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34689         * include/atomic.h (__atomic_link_error, __atomic_check_size,
34690         atomic_thread_fence_acquire, atomic_thread_fence_release,
34691         atomic_thread_fence_seq_cst, atomic_load_relaxed,
34692         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
34693         atomic_compare_exchange_weak_relaxed,
34694         atomic_compare_exchange_weak_acquire,
34695         atomic_compare_exchange_weak_release,
34696         atomic_exchange_acquire, atomic_exchange_release,
34697         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
34698         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
34699         atomic_fetch_and_acquire,
34700         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
34702 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34704         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
34705         USE_ATOMIC_COMPILER_BUILTINS): Define.
34706         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
34707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34708         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
34709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34710         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
34711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34712         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
34713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34714         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
34715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34716         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
34717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34718         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
34719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34720         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
34721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34722         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
34723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34724         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
34725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34726         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
34727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34728         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
34729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34730         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
34731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34732         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
34733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34734         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
34735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34736         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
34737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34738         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
34739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34740         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34741         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34742         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
34743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34744         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
34745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34747 2014-11-19  Roland McGrath  <roland@hack.frob.com>
34749         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
34750         the sched_priority value here.  It was already checked when the user
34751         called pthread_attr_setschedparam.
34753         * nptl/tst-bad-schedattr.c: New file.
34754         * nptl/Makefile (tests): Add it.
34756 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
34757             Florian Weimer  <fweimer@redhat.com>
34758             Joseph Myers  <joseph@codesourcery.com>
34759             Adam Conrad  <adconrad@0c3.net>
34760             Andreas Schwab  <schwab@suse.de>
34761             Brooks  <bmoses@google.com>
34763         [BZ #17625]
34764         * wordexp-test.c (__dso_handle): Add prototype.
34765         (__register_atfork): Likewise.
34766         (__app_register_atfork): New function.
34767         (registered_forks): New global.
34768         (register_fork): New function.
34769         (test_case): Add 3 new tests for WRDE_CMDSUB.
34770         (main): Call __app_register_atfork.
34771         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
34772         fork count is non-zero fail the test.
34773         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
34774         is set.
34775         (parse_dollars): Remove check for WRDE_NOCMD.
34776         (parse_dquote): Likewise.
34778 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34780         * Makeconfig (built-modules): List non-library modules to be
34781         built.
34782         (module-cppflags): Include libc-modules.h for
34783         everything except shlib-versions.v.i.
34784         (CPPFLAGS): Use it.
34785         (before-compile): Add libc-modules.h.
34786         ($(common-objpfx)libc-modules.h,
34787         $(common-objpfx)libc-modules.stmp): New targets.
34788         (common-generated): Add libc-modules.h and libc-modules.stmp.
34789         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
34790         * include/libc-symbols.h: Don't include libc-modules.h.
34791         * include/libc-modules.h: Remove file.
34792         * scripts/gen-libc-modules.awk: New script to generate
34793         libc-modules.h.
34794         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
34795         Depend on libc-modules.stmp.
34797         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
34799         * Makeconfig (in-module): Get value of libof set for the
34800         translation unit.
34801         (CPPFLAGS): Use $(in-module).
34802         * Makerules: Don't suffix routine names for nonlib.
34803         * include/libc-modules.h: New file.
34804         * include/libc-symbols.h: Include libc-modules.h
34805         (IS_IN): New macro to replace IS_IN_* macros.
34806         * elf/Makefile: Set libof-* for each routine.
34807         * elf/rtld-Rules: Likewise.
34808         * extra-modules.mk: Likewise.
34809         * iconv/Makefile: Likewise.
34810         * iconvdata/Makefile: Likewise.
34811         * locale/Makefile: Likewise.
34812         * malloc/Makefile: Likewise.
34813         * nss/Makefile: Likewise.
34814         * sysdeps/gnu/Makefile: Likewise.
34815         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
34816         * sysdeps/unix/sysv/linux/Makefile: Likewise.
34817         * sysdeps/s390/s390-64/Makefile: Likewise.
34818         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
34819         CPPFLAGS for nscd instead of nonlib.
34821 2014-11-18  Roland McGrath  <roland@hack.frob.com>
34823         * nptl/createthread.c: New file.
34825         * nptl/createthread.c: Moved ...
34826         * sysdeps/unix/sysv/linux/createthread.c: ... here.
34828         * nptl/createthread.c: Add proper top-line comment.
34829         (do_clone): Folded into ...
34830         (create_thread): ... here.  Take new arguments STOPPED_START and
34831         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
34832         increment __nptl_threads, do event-reporting logic, do
34833         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
34834         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
34835         resource cleanup if sched_setaffinity or sched_setscheduler fails,
34836         just send SIGCANCEL.
34837         * nptl/pthread_create.c: Forward-declare create_thread before
34838         including createthread.c.
34839         (start_thread): Use new macro START_THREAD_DEFN to replace defining
34840         declaration, and new macro START_THREAD_SELF to replace argument.
34841         Remove return statement.
34842         (report_thread_creation): New function.
34843         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
34844         synchronization logic, and __nptl_nthreads increment here, around
34845         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
34846         PD->parent_cancelhandling here, before create_thread.  When
34847         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
34848         __deallocate_stack, and ENOMEM translation here.
34850 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
34852         [BZ #17616]
34853         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
34854         (mptwo): Rename to __mptwo.
34855         (__inv): Use __mptwo instead of mptwo.
34856         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
34857         (mptwo): Rename to __mptwo.
34858         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
34859         of mpone and __mptwo instead of mptwo.
34860         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
34861         instead of mpone.
34862         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34863         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
34864         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
34865         of mpone and __mptwo instead of mptwo.
34866         (__mpranred): Use __mpone instead of mpone.
34867         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
34868         variable.
34869         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
34870         (test-xfail-ISO99/math.h/linknamespace): Likewise.
34871         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
34872         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
34873         (test-xfail-ISO11/math.h/linknamespace): Likewise.
34874         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
34875         (test-xfail-XPG3/math.h/linknamespace): Likewise.
34876         (test-xfail-XPG4/math.h/linknamespace): Likewise.
34877         (test-xfail-POSIX/math.h/linknamespace): Likewise.
34878         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
34879         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
34880         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
34881         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
34882         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34883         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34884         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34885         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34886         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34887         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34889 2014-11-18  Tom de Vries  <tom@codesoucery.com>
34891         * manual/signal.texi (Primitives Interrupted by Signals): In section,
34892         replace BSD Handler xref with BSD Signal Handling.
34894 2014-11-17  Richard Henderson  <rth@redhat.com>
34896         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
34897         (_FP_PACK_RAW_2): Remove.
34898         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
34899         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
34900         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
34901         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
34902         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
34903         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
34904         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
34905         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
34906         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
34907         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
34908         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
34909         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
34910         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
34911         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
34912         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
34913         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
34915 2014-11-14  Roland McGrath  <roland@hack.frob.com>
34917         * signal/signal.h [__USE_MISC]
34918         (struct sigvec): Remove type.
34919         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
34920         (sigvec): Remove declaration.
34921         * sysdeps/posix/sigvec.c: Moved ...
34922         * signal/sigvec.c: ... here, replacing old file.
34923         (struct sigvec): New type, copied from old signal.h definition.
34924         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
34925         (__sigvec): Convert definition to prototype.
34926         (sigvec): Replace weak_alias with compat_symbol.
34927         * signal/Versions (libc: GLIBC_2.21): New version set.
34928         * include/signal.h: Remove __sigvec declaration.
34929         * sysdeps/unix/bsd/sigvec.c: Remove file.
34930         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
34931         * manual/signal.texi (BSD Handler): Remove subsection.
34932         Move siginterrupt up to ...
34933         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
34934         (Blocking in BSD): Fold subsection into its parent.
34935         * NEWS: Mention sigvec removal.
34937 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
34939         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
34940         (DLA_FMS): Make definition conditional only on [__FMA4__].
34941         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
34942         definition.
34944         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
34945         Make definition conditional only on [PROF].
34946         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
34947         definition.
34948         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
34949         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
34951         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
34952         !__GNUC__].
34953         * include/signal.h (__sigpause): Move declaration above call to
34954         libc_hidden_proto.
34955         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
34956         variable.
34957         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34958         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
34960 2014-11-14  David S. Miller  <davem@davemloft.net>
34962         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
34963         Define before including <string/memcpy.c> and <string/mempcpy.c>.
34965 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
34967         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
34968         * configure: Regenerated.
34969         * manual/install.texi (Tools for Compilation): Document a
34970         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
34971         compiler verified to work.
34972         * INSTALL: Regenerated.
34974         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
34975         redeclare with asm name.
34976         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
34977         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
34978         including <string.h>.
34979         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34980         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
34981         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34982         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
34983         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34984         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
34985         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34987 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
34989         * stdlib/strtol.c (__strtol): Use prototype definition.
34991         [BZ #17594]
34992         * stdlib/strtol.c (SYM__): New macro.
34993         (SYM__1): Likewise.
34994         (__strtol): Likewise.
34995         (strtol): Rename to __strtol and define as weak alias of
34996         __strtol.  Use libc_hidden_weak.
34998 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35000         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
35001         Use numbered labels in inline assembly.
35003 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35005         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35006         Add setjmp LIBC_PROBE.
35007         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
35008         Likewise.
35009         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
35010         Add longjmp, longjmp_target LIBC_PROBE.
35011         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
35012         Likewise.
35014 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35016         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35017         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
35018         to get rid of unused variable warning.
35020 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35022         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
35023         Check for unwind_backtrace ==  NULL only in SHARED case.
35024         (__backchain_backtrace): Compile only in SHARED case.
35025         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
35026         Likewise.
35027         (__backchain_backtrace): Declare as static.
35029 2014-11-12  Roland McGrath  <roland@hack.frob.com>
35031         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
35032         (__libc_multiple_threads_ptr): Variable moved ...
35033         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
35035 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
35037         * conform/GlibcConform.pm: New file.
35038         * conform/conformtest.pl: Use GlibcConform module.
35039         * conform/linknamespace.pl: New file.
35040         * conform/list-header-symbols.pl: Likewise.
35041         * conform/Makefile (linknamespace-symlists-base): New variable.
35042         (linknamespace-symlists-tests): Likewise.
35043         (linknamespace-header-base): Likewise.
35044         (linknamespace-header-tests): Likewise.
35045         (tests-special): Add new tests.
35046         ($(linknamespace-symlists-tests)): New rule.
35047         (linknamespace-libs): New variable.
35048         ($(objpfx)symlist-stdlibs): New rule.
35049         ($(linknamespace-header-tests)): Likewise.
35050         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35051         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35052         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35053         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35054         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35055         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35056         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35057         (test-xfail-ISO/math.h/linknamespace): Likewise.
35058         (test-xfail-ISO/signal.h/linknamespace): Likewise.
35059         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35060         (test-xfail-ISO/time.h/linknamespace): Likewise.
35061         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35062         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35063         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35064         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35065         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35066         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35067         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35068         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35069         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35070         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35071         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35072         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35073         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35074         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35075         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35076         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35077         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35078         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35079         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35080         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35081         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35082         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35083         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35084         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35085         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35086         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35087         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35088         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35089         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35090         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35091         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35092         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35093         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35094         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35095         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35096         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35097         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35098         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35099         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35100         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35101         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35102         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35103         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35104         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35105         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35106         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35107         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35108         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35109         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35110         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35111         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35112         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35113         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35114         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35115         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35116         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35117         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35118         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35119         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35120         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35121         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35122         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35123         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35124         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35125         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35126         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35127         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35128         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35129         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35130         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35131         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35132         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35133         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35134         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35135         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35136         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35137         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35138         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35139         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35140         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35141         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35142         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35143         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35144         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35145         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35146         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35147         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35148         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35149         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35150         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35151         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35152         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35153         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35154         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35155         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35156         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35157         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35158         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35159         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35160         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35161         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35162         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35163         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35164         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35165         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35166         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35167         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35168         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35169         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35170         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35171         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35172         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35173         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35174         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35175         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35176         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35177         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35178         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35179         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35180         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35181         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35182         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35183         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35184         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35185         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35186         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35187         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35188         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35189         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35190         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35191         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35192         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35193         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35194         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35195         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35196         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35197         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35198         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35199         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35200         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35201         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35202         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35203         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35204         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35205         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35206         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35207         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35208         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35209         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35210         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35212         [BZ #17589]
35213         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35214         of fgets_unlocked.
35216         [BZ #17585]
35217         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35218         (memmem): Rename to __memmem and define as weak alias of
35219         __memmem.  Use libc_hidden_weak.
35220         (__memmem): Use libc_hidden_def.
35221         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35222         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35223         memmem.
35225         [BZ #17582]
35226         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35227         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35228         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35229         and define as weak alias of __fgets_unlocked.  Use
35230         libc_hidden_weak.
35231         (__fgets_unlocked): Use libc_hidden_def.
35232         * include/stdio.h (__fgets_unlocked): Declare.  Use
35233         libc_hidden_proto.
35234         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35235         __fgets_unlocked instead of fgets_unlocked.
35236         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35237         (GET_NPROCS_CONF_PARSER): Likewise.
35238         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35239         (GET_NPROCS_CONF_PARSER): Likewise.
35241         [BZ #17574]
35242         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35243         weak alias of __wmemset.  Use libc_hidden_weak.
35244         (__wmemset): Use libc_hidden_def.
35245         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35246         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35247         of wmemset.
35249         [BZ #17573]
35250         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35251         with asm name __mempcpy.
35252         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35254         [BZ #17572]
35255         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35256         and define as weak alias of __rawmemchr.
35257         (__rawmemchr): Do not define as strong alias of rawmemchr.
35259         [BZ #17571]
35260         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35261         alias of __qsort_r.
35262         (qsort): Call __qsort_r instead of qsort_r.
35263         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35264         (__qsort_r): Declare.  Call libc_hidden_proto.
35265         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35266         instead of qsort_r.
35267         * nscd/gai.c (__qsort_r): Define to qsort_r.
35268         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35269         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35270         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35272         [BZ #17570]
35273         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35274         define as weak alias of __malloc_info.
35276         [BZ #17584]
35277         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35278         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35279         (__rewinddir): Use libc_hidden_def.
35280         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35281         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35282         (__rewinddir): Use libc_hidden_def.
35283         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35284         weak alias of __rewinddir.  Don't use libc_hidden_def.
35285         (__rewinddir): Use libc_hidden_def.
35286         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35287         (__rewinddir): Use libc_hidden_proto.
35288         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35289         rewinddir.
35290         (__getcwd): Use __rewinddir instead of rewinddir.
35292         [BZ #17583]
35293         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35294         alias of __fileno.  Use libc_hidden_weak.
35295         (__fileno): Use libc_hidden_def.
35296         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35297         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35298         alias of __ftello.
35299         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35300         __ftello.
35301         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35302         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35303         libc_hidden_def.
35304         (fread_unlocked): Don't use libc_hidden_ver.
35305         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35306         and define as weak alias of __fread_unlocked.  Don't use
35307         libc_hidden_def.
35308         (__fread_unlocked): Use libc_hidden_def.
35309         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35310         (ftello): Don't use libc_hidden_proto.
35311         (__ftello): Declare.  Use libc_hidden_proto.
35312         (fread_unlocked): Don't use libc_hidden_proto.
35313         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35314         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35315         and __ftello instead of fileno, fread_unlocked and ftello.
35317 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35319         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35320         GOT12.
35321         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35322         Likewise.
35323         (_dl_start_user): Likewise.
35324         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35326 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35327             Siddhesh Poyarekar  <siddhesh@redhat.com>
35329         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35330         Move argv and envp down instead of moving argc up.
35331         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35333 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
35335         [BZ #17506]
35336         * test-skeleton.c (main): Return successful if one of
35337         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35338         * string/tst-strcoll-overflow.c: Define expected status.
35340 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
35342         [BZ #17475]
35343         * locale/iso-639.def: Define Bhili and Tulu language codes.
35345 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
35347         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35349 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
35351         [BZ #17555]
35352         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35354 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35356         * configure.ac: Updated check of minimal required version to
35357         2.22.
35358         * manual/install.texi (Tools for Compilation): Updated version
35359         number.
35360         * configure: Regenerated.
35361         * INSTALL: Likewise.
35363 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
35365         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
35366         __tls_get_addr.
35368 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
35370         * include/sys/wait.h (__libc_waitpid): Remove declaration.
35371         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
35372         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35373         libc_hidden_weak.
35374         (waitpid): Define as alias of __waitpid.
35375         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
35376         __waitpid.
35377         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35378         libc_hidden_weak.
35379         (waitpid): Define as alias of __waitpid.
35380         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
35381         __libc_waitpid alias.
35382         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
35383         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
35384         Likewise.
35385         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
35386         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
35387         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
35388         alias.
35389         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
35390         __waitpid.
35391         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35392         libc_hidden_weak.
35393         (waitpid): Define as alias of __waitpid.
35395 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
35397         * manual/llio.texi: Add comment that write safety has been
35398         fixed in Linux.
35400         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
35401         (localplt-build-dso): Add elf/ld.so.
35402         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
35403         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
35404         and free for ld.so.
35405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
35406         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
35407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
35408         Likewise.
35409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35410         Likewise.
35411         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
35412         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
35413         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
35414         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
35415         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
35416         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
35417         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
35418         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
35419         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
35420         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
35421         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35423 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
35425         [BZ #14132]
35426         * include/libc-symbols.h (INTUSE): Remove macro.
35427         (INTDEF): Likewise.
35428         (INTVARDEF): Likewise.
35429         (_INTVARDEF): Likewise.
35430         (INTDEF2): Likewise.
35431         (INTVARDEF2): Likewise.
35432         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
35433         rtld_hidden_def instead of INTVARDEF.
35434         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
35435         (_dl_starting_up_internal): Remove declaration.
35436         (_dl_starting_up): Use rtld_hidden_proto.
35437         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
35438         declaration.
35439         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
35440         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
35441         _dl_starting_up.
35442         * elf/dl-writev.h (_dl_writev): Likewise.
35443         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
35444         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
35445         _dl_starting_up_internal.
35447 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35449         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
35450         test-skeleton.c.
35452 2014-11-05  Will Newton  <will.newton@linaro.org>
35454         * benchtests/Makefile: (bench-malloc): Add malloc thread
35455         scalability benchmark.
35456         * benchtests/bench-malloc-threads.c: New file.
35458 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
35460         * sysdeps/aarch64/strchrnul.S: New file.
35462 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35464         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
35465         definition.
35466         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35467         Likewise.
35468         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35469         Likewise.
35470         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35471         Likewise.
35472         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35473         Likewise.
35474         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35475         Likewise.
35477 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
35479         * catgets/test-gencat.c: Use test-skeleton.c.
35480         * catgets/tst-catgets.c: Likewise.
35481         * csu/tst-empty.c: Likewise.
35482         * elf/tst-audit2.c: Likewise.
35483         * elf/tst-global1.c: Likewise.
35484         * elf/tst-pathopt.c: Likewise.
35485         * elf/tst-piemod1.c: Likewise.
35486         * elf/tst-tls10.c: Likewise.
35487         * elf/tst-tls11.c: Likewise.
35488         * elf/tst-tls12.c: Likewise.
35489         * gnulib/tst-gcc.c: Likewise.
35490         * iconvdata/tst-e2big.c: Likewise.
35491         * iconvdata/tst-loading.c: Likewise.
35492         * iconv/tst-iconv1.c: Likewise.
35493         * iconv/tst-iconv2.c: Likewise.
35494         * inet/test-inet6_opt.c: Likewise.
35495         * inet/tst-gethnm.c: Likewise.
35496         * inet/tst-network.c: Likewise.
35497         * inet/tst-ntoa.c: Likewise.
35498         * intl/tst-codeset.c: Likewise.
35499         * intl/tst-gettext2.c: Likewise.
35500         * intl/tst-gettext3.c: Likewise.
35501         * intl/tst-ngettext.c: Likewise.
35502         * intl/tst-translit.c: Likewise.
35503         * io/test-stat.c: Likewise.
35504         * libio/test-fmemopen.c: Likewise.
35505         * libio/tst-freopen.c: Likewise.
35506         * libio/tst-sscanf.c: Likewise.
35507         * libio/tst-ungetwc1.c: Likewise.
35508         * libio/tst-ungetwc2.c: Likewise.
35509         * libio/tst-widetext.c: Likewise.
35510         * localedata/tst-ctype.c: Likewise.
35511         * localedata/tst-digits.c: Likewise.
35512         * localedata/tst-leaks.c: Likewise.
35513         * localedata/tst-mbswcs1.c: Likewise.
35514         * localedata/tst-mbswcs2.c: Likewise.
35515         * localedata/tst-mbswcs3.c: Likewise.
35516         * localedata/tst-mbswcs4.c: Likewise.
35517         * localedata/tst-mbswcs5.c: Likewise.
35518         * localedata/tst-setlocale.c: Likewise.
35519         * localedata/tst-trans.c: Likewise.
35520         * localedata/tst-wctype.c: Likewise.
35521         * localedata/tst-xlocale1.c: Likewise.
35522         * login/tst-grantpt.c: Likewise.
35523         * malloc/tst-calloc.c: Likewise.
35524         * malloc/tst-malloc.c: Likewise.
35525         * malloc/tst-mallocstate.c: Likewise.
35526         * malloc/tst-mcheck.c: Likewise.
35527         * malloc/tst-mtrace.c: Likewise.
35528         * malloc/tst-obstack.c: Likewise.
35529         * math/atest-exp2.c: Likewise.
35530         * math/atest-exp.c: Likewise.
35531         * math/atest-sincos.c: Likewise.
35532         * math/test-matherr.c: Likewise.
35533         * math/test-misc.c: Likewise.
35534         * math/test-powl.c: Likewise.
35535         * math/tst-definitions.c: Likewise.
35536         * misc/tst-dirname.c: Likewise.
35537         * misc/tst-efgcvt.c: Likewise.
35538         * misc/tst-fdset.c: Likewise.
35539         * misc/tst-hsearch.c: Likewise.
35540         * misc/tst-mntent2.c: Likewise.
35541         * nptl/tst-sem7.c: Likewise.
35542         * nptl/tst-sem8.c: Likewise.
35543         * nptl/tst-sem9.c: Likewise.
35544         * nss/test-netdb.c: Likewise.
35545         * posix/tst-fnmatch.c: Likewise.
35546         * posix/tst-getlogin.c: Likewise.
35547         * posix/tst-gnuglob.c: Likewise.
35548         * posix/tst-mmap.c: Likewise.
35549         * pwd/tst-getpw.c: Likewise.
35550         * resolv/tst-inet_ntop.c: Likewise.
35551         * rt/tst-timer.c: Likewise.
35552         * stdio-common/test-fseek.c: Likewise.
35553         * stdio-common/test-popen.c: Likewise.
35554         * stdio-common/test-vfprintf.c: Likewise.
35555         * stdio-common/tst-cookie.c: Likewise.
35556         * stdio-common/tst-fileno.c: Likewise.
35557         * stdio-common/tst-gets.c: Likewise.
35558         * stdio-common/tst-obprintf.c: Likewise.
35559         * stdio-common/tst-perror.c: Likewise.
35560         * stdio-common/tst-sprintf2.c: Likewise.
35561         * stdio-common/tst-sprintf3.c: Likewise.
35562         * stdio-common/tst-sprintf.c: Likewise.
35563         * stdio-common/tst-swprintf.c: Likewise.
35564         * stdio-common/tst-tmpnam.c: Likewise.
35565         * stdio-common/tst-unbputc.c: Likewise.
35566         * stdio-common/tst-wc-printf.c: Likewise.
35567         * stdlib/tst-environ.c: Likewise.
35568         * stdlib/tst-fmtmsg.c: Likewise.
35569         * stdlib/tst-limits.c: Likewise.
35570         * stdlib/tst-rand48-2.c: Likewise.
35571         * stdlib/tst-rand48.c: Likewise.
35572         * stdlib/tst-random2.c: Likewise.
35573         * stdlib/tst-random.c: Likewise.
35574         * stdlib/tst-strtol.c: Likewise.
35575         * stdlib/tst-strtoll.c: Likewise.
35576         * stdlib/tst-tls-atexit.c: Likewise.
35577         * stdlib/tst-xpg-basename.c: Likewise.
35578         * string/test-ffs.c: Likewise.
35579         * string/tst-bswap.c: Likewise.
35580         * string/tst-inlcall.c: Likewise.
35581         * string/tst-strtok.c: Likewise.
35582         * string/tst-strxfrm.c: Likewise.
35583         * sysdeps/x86_64/tst-audit10.c: Likewise.
35584         * sysdeps/x86_64/tst-audit3.c: Likewise.
35585         * sysdeps/x86_64/tst-audit4.c: Likewise.
35586         * sysdeps/x86_64/tst-audit5.c: Likewise.
35587         * time/tst-ftime_l.c: Likewise.
35588         * time/tst-getdate.c: Likewise.
35589         * time/tst-mktime3.c: Likewise.
35590         * time/tst-mktime.c: Likewise.
35591         * time/tst-posixtz.c: Likewise.
35592         * time/tst-strptime2.c: Likewise.
35593         * time/tst-strptime3.c: Likewise.
35594         * wcsmbs/tst-btowc.c: Likewise.
35595         * wcsmbs/tst-mbrtowc.c: Likewise.
35596         * wcsmbs/tst-mbsrtowcs.c: Likewise.
35597         * wcsmbs/tst-wchar-h.c: Likewise.
35598         * wcsmbs/tst-wcpncpy.c: Likewise.
35599         * wcsmbs/tst-wcrtomb.c: Likewise.
35600         * wcsmbs/tst-wcsnlen.c: Likewise.
35601         * wcsmbs/tst-wcstof.c: Likewise.
35603 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
35605         [BZ #14132]
35606         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
35607         INTDEF.
35608         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
35609         declaration.
35610         (_dl_mcount): Use rtld_hidden_proto.
35611         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
35612         _dl_mcount.
35613         * elf/rtld.c (_rtld_global_ro): Likewise.
35615         [BZ #14132]
35616         * elf/dl-init.c (_dl_init): Don't use INTDEF.
35617         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
35618         of _dl_init_internal.
35619         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
35620         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
35621         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
35622         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
35623         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
35624         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
35625         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
35626         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
35627         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
35628         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
35629         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
35630         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
35631         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35632         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35633         * sysdeps/tile/dl-start.S (_start): Likewise.
35634         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
35635         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
35637         [BZ #14132]
35638         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
35639         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
35640         (rtld_progname): Make macro definition unconditional.
35641         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
35642         INTDEF.
35643         (dlmopen_doit): Do not use INTUSE with _dl_argv.
35644         (dl_main): Likewise.
35645         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35646         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
35647         instead of _dl_argv_internal.
35648         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35649         __GI__dl_argv instead of INTUSE(_dl_argv).
35650         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
35651         __GI__dl_argv instead of _dl_argv_internal.
35653         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
35654         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
35655         macro.
35656         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
35657         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
35658         New macro.
35659         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
35660         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
35661         macro.
35662         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
35663         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
35665 2014-11-04  Andreas Schwab  <schwab@suse.de>
35667         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
35669 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35671         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
35672         mtvsrd instruction in binary form.
35674 2014-11-03  Andreas Schwab  <schwab@suse.de>
35676         [BZ #17522]
35677         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
35678         for less than MB_LEN_MAX use a local buffer of that size.
35679         * libio/tst-fputws.c: New file.
35680         * libio/Makefile (tests): Add tst-fputws.
35682 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
35684         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
35685         the size of the fpu_fr.fpu_dregs[] array.
35687 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
35689         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
35690         (__nanosleep): Do not define as alias.
35691         (nanosleep): Define as alias of __nanosleep.
35692         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
35693         __libc_nanosleep name.
35695 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
35697         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
35698         install.texi in comment.
35700 2014-10-31  Torvald Riegel  <triegel@redhat.com>
35702         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
35703         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
35704         ... add here and use lwsync or sync ...
35705         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
35706         ... and add here using lwsync.
35708 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35710         * elf/dl-machine-reject-phdr.h: New file.
35711         * elf/dl-load.c: #include that.
35712         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
35713         if that returned true.
35715 2014-10-31  Roland McGrath  <roland@hack.frob.com>
35717         [BZ #17496]
35718         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
35719         gen-as-const-headers chunk.  Add a big scare comment after the last
35720         safe place to touch before-compile.
35722 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
35724         * manual/install.texi (Tools for Compilation): Update autoconf
35725         version requirements.
35726         * INSTALL: Regenerated.
35728         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
35729         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
35730         (__libc_pselect): Likewise.
35732         [BZ #14138]
35733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
35734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35738 2014-10-31  Torvald Riegel  <triegel@redhat.com>
35740         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
35741         correct barrier instruction.
35742         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
35743         Likewise.
35744         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
35745         Likewise.
35747 2014-10-30  Roland McGrath  <roland@hack.frob.com>
35749         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
35750         after defining inlines.  Instead, just use parens to defeat macro
35751         expansion of __isctype in its declaration.
35753 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
35755         * include/sys/uio.h (__libc_readv): Remove declaration.
35756         (__libc_writev): Likewise.
35757         * misc/readv.c (__libc_readv): Rename to __readv.
35758         (__readv): Do not define as alias.
35759         (readv): Define as alias of __readv.
35760         * misc/writev.c (__libc_writev): Rename to __writev.
35761         (__writev): Do not define as alias.
35762         (writev): Define as alias of __writev.
35763         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
35764         (__readv): Do not define as alias.
35765         (readv): Define unconditionally as alias of __readv.
35766         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
35767         (__writev): Do not define as alias.
35768         (writev): Define unconditionally as alias of __writev.
35769         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
35770         name.
35771         (writev): Do not define __libc_writev name.
35773 2014-10-30  Roland McGrath  <roland@hack.frob.com>
35775         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
35776         (convert_charseq): New function, broken out of ...
35777         (use_from_charmap): ... here.  Call it.
35778         (use_to_charmap): Use convert_charseq and free instead of duplicating
35779         its code with a variable-length stack struct.
35781 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
35783         * include/fcntl.h (__libc_creat): Remove declaration.
35784         * io/creat.c (__libc_creat): Rename to creat.
35785         (creat): Do not define as alias.
35786         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
35787         of creat instead of __libc_creat.
35788         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
35789         to creat.
35790         (creat): Do not define as alias.
35791         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
35792         __libc_creat.
35793         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
35794         __libc_creat name.
35795         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
35796         Likewise.
35798 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
35800         * manual/llio.texi: Add comments discussing why write() may be
35801         considered MT-unsafe on Linux.
35803 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
35805         * dl-load.c (local_strdup): Remove.
35806         (expand_dynamic_string_token): Use __strdup.
35807         (decompose_rpath): Likewise.
35808         (_dl_map_object): Likewise.
35810 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
35812         [BZ #14132]
35813         * sysdeps/generic/unwind-dw2-fde.c
35814         (__register_frame_info_bases_internal): Do not declare.
35815         (__register_frame_info_table_bases_internal): Likewise.
35816         (__deregister_frame_info_bases_internal): Likewise.
35817         (__register_frame_info_bases): Declare and use hidden_proto before
35818         definition.  Use hidden_def instead of INTDEF.
35819         (__register_frame_info_table_bases): Likewise.
35820         (__deregister_frame_info_bases): Likewise.
35821         (__register_frame_info): Do not use INTUSE.
35822         (__register_frame): Likewise.
35823         (__register_frame_info_table): Likewise.
35824         (__register_frame_table): Likewise.
35825         (__deregister_frame_info): Likewise.
35826         (__deregister_frame): Likewise.
35828 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
35830         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35831         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
35832         not undefine.
35833         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
35834         Likewise.
35835         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
35836         Likewise.
35838 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
35840         [BZ #14138]
35841         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
35842         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
35843         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
35844         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
35845         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
35846         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
35847         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
35848         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
35849         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
35850         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
35851         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
35852         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
35853         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
35854         syscall.
35855         (setfsuid): Likewise.
35856         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
35857         (setfsuid): Likewise.
35858         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
35859         (setfsuid): Likewise.
35860         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
35861         Likewise.
35862         (setfsuid): Likewise.
35863         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
35864         (setfsuid): Likewise.
35865         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
35866         Likewise.
35867         (setfsuid): Likewise.
35869 2014-10-27  Andreas Schwab  <schwab@suse.de>
35871         [BZ #17501]
35872         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
35873         check for Slow_SSE4_2 feature bit.
35874         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
35875         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
35876         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
35877         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
35879 2014-10-24  Roland McGrath  <roland@hack.frob.com>
35881         * configure.ac: Validate compiler version with a empirical test of
35882         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
35883         $CC -v output.
35884         * configure: Regenerated.
35886         * inet/htons.c (htons): Prototypify.
35887         * inet/htonl.c (htonl): Likewise.
35889 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35891         * string/strncat.c (strncat): Improve performance by using strlen.
35893 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35895         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
35897 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35899         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
35900         Call libc_fetestexcept_aarch64.
35902 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35904         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
35905         Call libc_feholdexcept_aarch64.
35907 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35909         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
35910         Call get_rounding_mode.
35912 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35914         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35915         Simplify logic.
35917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35919         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
35920         Simplify logic.
35922 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
35924         [BZ #14138]
35925         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
35926         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
35927         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
35928         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
35929         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
35930         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
35931         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
35932         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
35933         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
35934         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
35935         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35936         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
35937         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
35938         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
35939         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
35940         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
35941         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
35942         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
35943         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
35944         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
35945         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
35946         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
35947         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
35948         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
35949         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
35950         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
35951         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
35952         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
35953         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
35954         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
35955         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
35956         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
35957         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
35958         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
35959         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
35960         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
35961         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
35962         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
35963         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
35964         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
35965         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
35966         syscall.
35967         (geteuid): Likewise.
35968         (getgid): Likewise.
35969         (getuid): Likewise.
35970         (getresgid): Likewise.
35971         (getresuid): Likewise.
35972         (getgroups): Likewise.
35973         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
35974         (geteuid): Likewise.
35975         (getgid): Likewise.
35976         (getuid): Likewise.
35977         (getresgid): Likewise.
35978         (getresuid): Likewise.
35979         (getgroups): Likewise.
35980         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
35981         (geteuid): Likewise.
35982         (getgid): Likewise.
35983         (getuid): Likewise.
35984         (getresgid): Likewise.
35985         (getresuid): Likewise.
35986         (getgroups): Likewise.
35987         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
35988         Likewise.
35989         (geteuid): Likewise.
35990         (getgid): Likewise.
35991         (getuid): Likewise.
35992         (getresgid): Likewise.
35993         (getresuid): Likewise.
35994         (getgroups): Likewise.
35995         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
35996         (geteuid): Likewise.
35997         (getgid): Likewise.
35998         (getuid): Likewise.
35999         (getresgid): Likewise.
36000         (getresuid): Likewise.
36001         (getgroups): Likewise.
36002         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
36003         Likewise.
36004         (geteuid): Likewise.
36005         (getgid): Likewise.
36006         (getuid): Likewise.
36007         (getgroups): Likewise.
36009         [BZ #14138]
36010         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
36011         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
36012         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
36013         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36014         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
36015         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
36016         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
36017         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
36018         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
36019         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
36020         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
36021         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
36022         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
36023         __chown.
36024         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
36025         (lchown): Likewise.
36026         (fchown): Likewise.
36027         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
36028         Likewise.
36029         (lchown): Likewise.
36030         (fchown): Likewise.
36031         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
36032         (lchown): Likewise.
36033         (fchown): Likewise.
36034         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
36035         Likewise.
36036         (lchown): Likewise.
36037         (fchown): Likewise.
36039 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36041         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
36042         Simplify logic.
36044 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36046         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36047         Cleanup logic.
36049 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36051         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36052         Remove unused include.
36054 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36056         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36057         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36058         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36059         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36061 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
36062             Helge Deller <deller@gmx.de>
36064         [BZ #17508]
36065         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36066         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36067         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36069 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36071         [BZ #14132]
36072         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36073         Remove macro definition.
36074         (__ashrdi3_v_glibc20): Likewise.
36075         (__lshrdi3_v_glibc20): Likewise.
36076         (__cmpdi2_v_glibc20): Likewise.
36077         (__ucmpdi2_v_glibc20): Likewise.
36078         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36079         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36080         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36081         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36082         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36083         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36085 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36087         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36088         old GNU extension [0] syntax.
36089         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36090         alloca rather than an array member with variable length.
36091         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36092         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36093         (parse_opt): ... here.  Likewise use alloca there.
36094         Validate the -i argument before checking for rootness.
36095         (send_shutdown): New function, broken out of ...
36096         (parse_opt): ... here.
36098 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36100         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36101         macro to get at the _rt_local_ro field.
36102         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36103         ([PIC] case) or _dl_hwcap ([!PIC] case).
36104         * sysdeps/arm/setjmp.S: Likewise.
36106         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36107         * sysdeps/arm/configure.ac: New check to define it.
36108         * sysdeps/arm/configure: Regenerated.
36109         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36110         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36111         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36112         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36113         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36114         Use move/movt pair instead of a load.
36115         (LDST_GLOBAL): Macro removed.
36116         (LDR_GLOBAL): New macro replaces it.
36117         (LDR_HIDDEN): New macro.
36118         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36119         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36121         * setjmp/tst-setjmp-static.c: New file.
36122         * setjmp/Makefile (tests): Add it.
36123         (tests-static): New variable.
36125 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36127         [BZ #17485]
36128         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36130 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36132         [BZ #14132]
36133         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36135 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36137         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36139 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36141         * io/fts.c (dirent_not_directory): New function.
36142         (fts_build): Call it.
36144 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36146         * nptl/version.c (__nptl_main): Use normal __write rather than
36147         INTERNAL_SYSCALL.
36148         (banner): Update copyright years.
36150         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36151         gettimeofday.
36152         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36153         * nptl/pthread_cond_timedwait.c: Likewise.
36154         * nptl/pthread_mutex_timedlock.c: Likewise.
36155         * nptl/sem_timedwait.c: Likewise.
36157         * sysdeps/nptl/bits/libc-lock.h
36158         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36159         (__libc_lock_init_recursive): Return void, not 0.
36160         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36161         (__libc_rwlock_init): Likewise.
36162         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36164 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36166         [BZ #15215]
36167         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36168         (__pthread_once_slow): ... here.
36169         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36170         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36172 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36174         [BZ #15215]
36175         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36176         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36177         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36178         * nptl/pthread_once.c (__pthread_once): Likewise.
36179         Update comments.
36181 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36183         [BZ #14138]
36184         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36185         name.
36186         (writev): Use __libc_writev as strong name.
36187         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36188         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36190 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36192         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36194         * sysdeps/i386/nptl/tls.h
36195         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36196         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36197         New macros.
36198         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36199         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36200         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36201         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36202         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36203         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36205         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36206         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36207         on [__NR_futex].
36208         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36209         broken out of ...
36210         (__pthread_mutex_init): ... here.  Call it.
36211         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36212         Conditionalize PI cases on [__NR_futex].
36213         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36214         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36215         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36217         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36218         conditional on [SIGSETXID].
36219         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36220         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36221         is defined.  Likewise for SIGSETXID.
36222         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36223         Conditionalize definitions on [SIGSETXID].
36224         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36225         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36226         unblocking on [SIGCANCEL].
36228         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36229         [__NR_set_robust_list].
36231 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36233         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36234         (do_compare): Likewise.
36236 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36238         [BZ #15884]
36239         * string/strcoll_l.c: Don't include stdio.h.
36240         (coll_seq): Remove members idxarr and rulearr.
36241         (get_next_seq_cached): Remove function.
36242         (get_next_seq): Likewise.
36243         (get_next_seq_nocache): Rename to get_next_seq.
36244         (do_compare): Remove function.
36245         (do_compare_nocache): Rename to do_compare.
36246         (STRCOLL): Remove weight and rules cache.
36248 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36250         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36251         * sysdeps/arm/sfp-machine.h: ... to here.
36252         * sysdeps/arm/Implies: Remove arm/soft-fp.
36254 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36256         * conform/data/sys/utsname.h-data (*_t): Allow.
36257         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36258         [POSIX] (WEXITED): Do not expect constant.
36259         [POSIX] (WSTOPPED): Likewise.
36260         [POSIX] (WNOHANG): Likewise.
36261         [POSIX] (WNOWAIT): Likewise.
36262         [POSIX] (siginfo_t): Do not expect type or elements.
36263         [POSIX] (pid_t): Do not expect type.
36264         [POSIX] (signal.h): Do not allow header.
36265         [POSIX] (sys/resource.h): Likewise.
36266         [POSIX] (si_*): Do not allow pattern.
36267         [POSIX] (W*): Likewise.
36268         [POSIX] (P_*): Likewise.
36269         [POSIX] (BUS_*): Likewise.
36270         [POSIX] (CLD_*): Likewise.
36271         [POSIX] (FPE_*): Likewise.
36272         [POSIX] (ILL_*): Likewise.
36273         [POSIX] (POLL_*): Likewise.
36274         [POSIX] (SEGV_*): Likewise.
36275         [POSIX] (SI_*): Likewise.
36276         [POSIX] (TRAP_*): Likewise.
36277         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36278         variable.
36280 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36282         [BZ #12926]
36283         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36284         infinite loop when __recvmsg returns 0.
36286 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36288         * CANCEL-FCT-WAIVE: Remove file.
36289         * CANCEL-FILE-WAIVE: Likewise.
36291         [BZ #14132]
36292         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36293         instead of INTVARDEF.
36294         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36295         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36296         rtld_hidden_data_def instead of INTVARDEF.
36297         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36298         * elf/dl-deps.c (expand_dst): Likewise.
36299         * elf/dl-load.c (_dl_dst_count): Likewise.
36300         (_dl_dst_substitute): Likewise.
36301         (decompose_rpath): Likewise.
36302         (_dl_init_paths): Likewise.
36303         (open_path): Likewise.
36304         (_dl_map_object): Likewise.
36305         * elf/rtld.c (dl_main): Likewise.
36306         (process_dl_audit): Likewise.
36307         (process_envvars): Likewise.
36308         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36309         Remove declaration.
36310         (__libc_enable_secure): Use rtld_hidden_proto.
36312 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36314         * elf/dl-load.c
36315         (add_path): New function broken out of _dl_rtld_di_serinfo.
36316         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36318 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36320         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36321         parentheses around macro arguments.
36322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36323         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36324         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36325         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36327         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36328         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36329         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36330         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36331         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36332         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36333         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36334         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36335         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36336         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36337         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36338         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
36340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
36341         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
36342         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
36343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
36344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
36345         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36346         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36347         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
36348         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
36349         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
36350         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
36351         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
36352         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36353         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
36354         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
36355         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
36356         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
36357         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36358         Likewise.
36359         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36360         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36361         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36363         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36365         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
36366         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
36367         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
36368         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
36369         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
36370         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
36371         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
36372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
36373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
36374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
36377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
36378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
36379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
36380         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
36381         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
36382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
36383         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
36384         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
36385         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
36386         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
36387         (_FP_FRAC_SRS_1): Likewise.
36388         (_FP_FRAC_CLZ_1): Likewise.
36389         (_FP_MUL_MEAT_1_imm): Likewise.
36390         (_FP_MUL_MEAT_1_wide): Likewise.
36391         (_FP_MUL_MEAT_1_hard): Likewise.
36392         (_FP_SQRT_MEAT_1): Likewise.
36393         (_FP_FRAC_ASSEMBLE_1): Likewise.
36394         (_FP_FRAC_DISASSEMBLE_1): Likewise.
36395         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
36396         (__FP_CLZ_2): Likewise.
36397         (_FP_MUL_MEAT_2_wide): Likewise.
36398         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36399         (_FP_MUL_MEAT_2_gmp): Likewise.
36400         (_FP_MUL_MEAT_2_120_240_double): Likewise.
36401         (_FP_SQRT_MEAT_2): Likewise.
36402         (_FP_FRAC_ASSEMBLE_2): Likewise.
36403         (_FP_FRAC_DISASSEMBLE_2): Likewise.
36404         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
36405         (_FP_FRAC_CLZ_4): Likewise.
36406         (_FP_MUL_MEAT_4_wide): Likewise.
36407         (_FP_MUL_MEAT_4_gmp): Likewise.
36408         (_FP_SQRT_MEAT_4): Likewise.
36409         (_FP_FRAC_ASSEMBLE_4): Likewise.
36410         (_FP_FRAC_DISASSEMBLE_4): Likewise.
36411         * soft-fp/op-common.h (_FP_CMP): Likewise.
36412         (_FP_CMP_EQ): Likewise.
36413         (_FP_CMP_UNORD): Likewise.
36414         (_FP_TO_INT): Likewise.
36415         (_FP_FROM_INT): Likewise.
36416         [!__FP_CLZ] (__FP_CLZ): Likewise.
36417         (_FP_DIV_HELP_imm): Likewise.
36418         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
36419         Likewise.
36420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
36421         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
36422         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
36423         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
36424         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
36425         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36426         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36427         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
36428         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
36429         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
36430         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
36431         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
36432         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
36433         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
36434         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
36435         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
36436         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
36437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
36438         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
36439         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
36440         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
36441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
36442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
36443         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36444         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36445         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
36446         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
36447         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
36448         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
36449         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
36450         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
36451         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
36452         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
36453         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
36454         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
36455         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
36456         (FP_UNPACK_RAW_SP): Likewise.
36457         (FP_PACK_RAW_S): Likewise.
36458         (FP_PACK_RAW_SP): Likewise.
36459         (FP_UNPACK_S): Likewise.
36460         (FP_UNPACK_SP): Likewise.
36461         (FP_UNPACK_SEMIRAW_S): Likewise.
36462         (FP_UNPACK_SEMIRAW_SP): Likewise.
36463         (FP_PACK_S): Likewise.
36464         (FP_PACK_SP): Likewise.
36465         (FP_PACK_SEMIRAW_S): Likewise.
36466         (FP_PACK_SEMIRAW_SP): Likewise.
36467         (_FP_SQRT_MEAT_S): Likewise.
36468         (FP_CMP_S): Likewise.
36469         (FP_CMP_EQ_S): Likewise.
36470         (FP_CMP_UNORD_S): Likewise.
36471         (FP_TO_INT_S): Likewise.
36472         (FP_FROM_INT_S): Likewise.
36474         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
36476         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
36477         (FP_EX_INVALID_IMZ): Likewise.
36478         (FP_EX_INVALID_IMZ_FMA): Likewise.
36479         (FP_EX_INVALID_ISI): Likewise.
36480         (FP_EX_INVALID_ZDZ): Likewise.
36481         (FP_EX_INVALID_IDI): Likewise.
36482         (FP_EX_INVALID_SQRT): Likewise.
36483         (FP_EX_INVALID_CVI): Likewise.
36484         (FP_EX_INVALID_VC): Likewise.
36485         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
36486         "invalid" exceptions.
36487         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
36488         (_FP_ADD_INTERNAL): Likewise.
36489         (_FP_MUL): Likewise.
36490         (_FP_FMA): Likewise.
36491         (_FP_DIV): Likewise.
36492         (_FP_CMP_CHECK_NAN): Likewise.
36493         (_FP_SQRT): Likewise.
36494         (_FP_TO_INT): Likewise.
36495         (FP_EXTEND): Likewise.
36497 2014-10-09  Allan McRae  <allan@archlinux.org>
36499         * po/fr.po: Update French translation from translation project.
36501 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36503         [BZ #14132]
36504         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
36505         of INTDEF.
36506         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
36507         (__cxa_atexit): Use libc_hidden_proto.
36508         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
36510         [BZ #14132]
36511         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
36512         declaration.
36513         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
36514         [!_ISOMAC] (__iswspace_l_internal): Likewise.
36515         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
36516         [!_ISOMAC] (__iswctype_internal): Likewise.
36517         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
36518         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
36519         alias.
36520         (fcntl): Remove __fcntl_internal alias.
36521         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
36522         __connect_internal alias.
36523         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
36524         Likewise.
36526         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
36527         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
36528         FP_DENORM_ZERO.
36529         (_FP_CHECK_FLUSH_ZERO): New macro.
36530         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
36531         (_FP_CMP): Likewise.
36532         (_FP_CMP_EQ): Likewise.
36533         (_FP_TO_INT): Do not set inexact for subnormal arguments if
36534         FP_DENORM_ZERO.
36535         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
36536         (FP_TRUNC): Likewise.
36538         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
36539         treated as invalid conversion, not as normal exponent.
36541         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
36542         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
36543         (_FP_CMP_EQ): Likewise.
36544         (_FP_CMP_UNORD): Likewise.
36545         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
36546         (FP_CMP_EQ_D): Likewise.
36547         (FP_CMP_UNORD_D): Likewise.
36548         * soft-fp/extended.h (FP_CMP_E): Likewise.
36549         (FP_CMP_EQ_E): Likewise.
36550         (FP_CMP_UNORD_E): Likewise.
36551         * soft-fp/quad.h (FP_CMP_Q): Likewise.
36552         (FP_CMP_EQ_Q): Likewise.
36553         (FP_CMP_UNORD_Q): Likewise.
36554         * soft-fp/single.h (FP_CMP_S): Likewise.
36555         (FP_CMP_EQ_S): Likewise.
36556         (FP_CMP_UNORD_S): Likewise.
36557         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
36558         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
36559         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
36560         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
36561         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
36562         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
36563         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
36564         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
36565         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
36566         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
36567         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
36568         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
36569         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
36570         to FP_CMP_Q.
36571         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
36572         FP_CMP_Q.
36573         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
36574         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
36575         FP_CMP_EQ_Q.
36576         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
36577         FP_CMP_Q.
36578         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
36579         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
36580         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
36581         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
36582         FP_CMP_EQ_Q.
36583         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
36584         FP_CMP_Q.
36585         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
36586         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
36587         FP_CMP_EQ_Q.
36588         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
36589         FP_CMP_Q.
36590         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
36591         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
36592         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
36593         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
36594         FP_CMP_EQ_Q.
36596         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
36597         a subnormal result, set the underflow exception if trapping on
36598         underflow is enabled.
36599         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
36600         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
36601         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
36602         redefine to 0.
36603         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
36604         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36605         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36606         * soft-fp/extendxftf2.c (__extendxftf2): Use
36607         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
36609         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
36610         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
36611         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36612         FP_HANDLE_EXCEPTIONS.
36613         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
36614         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36615         FP_HANDLE_EXCEPTIONS.
36616         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
36617         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36618         FP_HANDLE_EXCEPTIONS.
36619         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
36620         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36621         FP_HANDLE_EXCEPTIONS.
36623 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
36625         [BZ #14132]
36626         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
36627         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
36628         use INTUSE.
36629         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
36630         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
36631         Remove alias.
36632         (__adjtimex): Define using libc_hidden_ver.
36633         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
36634         Remove declaration.
36635         (ntp_gettime): Call __adjtimex directly.
36636         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
36637         Remove declaration.
36638         (ntp_gettimex): Call __adjtimex directly.
36639         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
36640         __adjtimex_internal alias.
36642 2014-10-08  Roland McGrath  <roland@hack.frob.com>
36644         [BZ #17460]
36645         * nscd/nscd.c (more_help): Rewrite list of tables collection
36646         using xstrdup and asprintf.
36648         * nscd/nscd_conf.c: Remove local xstrdup declaration.
36650 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36651             Roland McGrath  <roland@hack.frob.com>
36653         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
36654         (do_lookup_unique): ... local function 'enter' here; update callers.
36656 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
36658         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
36659         compat_symbol calls on [SHARED].
36660         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
36661         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
36662         Remove.
36663         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36664         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
36665         (oldsetrlimit): Remove.
36666         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
36668         (lchown): New syscall entry.
36669         (oldsetrlimit): Remove.
36670         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36671         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
36672         (oldsetrlimit): Remove.
36673         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36675         [BZ #14138]
36676         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
36677         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
36678         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
36679         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
36680         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
36681         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
36682         (fchown): Likewise.
36683         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
36684         (fchown): Likewise.
36685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
36686         Likewise.
36688 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36690         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
36691         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
36692         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
36693         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
36694         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
36695         Likewise.
36696         (__old_sem_post): Likewise.
36698 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
36700         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
36701         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
36702         HAVE_CLOCK_GETTIME_VSYSCALL macros.
36703         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
36704         Use INLINE_VSYSCALL macro.
36705         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
36706         __vdso_clock_gettime.
36707         * sysdeps/unix/sysv/linux/tile/init-first.c
36708         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
36709         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
36710         __vdso_clock_gettime.
36712         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
36713         to set up frame more cleanly.
36715         * sysdeps/tile/memcmp.c: New file.
36717         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
36719         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
36720         * sysdeps/tile/tilegx/strcasestr.c: New file.
36721         * sysdeps/tile/tilegx/strnlen.c: New file.
36722         * sysdeps/tile/tilegx/strstr.c: New file.
36724         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
36726 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
36728         * nptl/tst-setuid3.c: Write errors to stdout.
36730 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36732         * elf/dl-deps.c
36733         (preload): New functions broken out of _dl_map_object_deps.
36734         (_dl_map_object_deps):  Remove a nested function. Update call sites.
36736 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
36738         [BZ #14138]
36739         * sysdeps/unix/sysv/linux/execve.c: Remove file.
36740         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
36742 2014-10-01  Steve Ellcey  <sellcey@mips.com>
36744         * sysdeps/mips/strcmp.S: New.
36746 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
36748         [BZ #14138]
36749         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
36750         (linkat): Likewise.
36751         (mkdirat): Likewise.
36752         (readlinkat): Likewise.
36753         (renameat): Likewise.
36754         (symlinkat): Likewise.
36755         (unlinkat): Likewise.
36756         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
36757         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
36758         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
36759         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
36760         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
36761         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
36762         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
36764 2014-09-30  Will Newton  <will.newton@linaro.org>
36766         * math/math.h: Define long double math functions if
36767         _LIBC_TEST is defined.
36768         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
36770         * localedata/Makefile: Move assignment to tests-special
36771         into an ifdef testing run-built-tests.
36772         * timezone/Makefile: Likewise.
36774 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
36776         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
36777         with $(BASH) not $(SHELL).
36779 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
36780             Matthew LeGendre  <legendre1@llnl.gov>
36782         [BZ #17411]
36783         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
36784         l_reloc_result.
36786 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36788         * stdio-common/printf_fp.c
36789         (hack_digit): New function, broken out of ...
36790         (__printf_fp): ... local function here.  Update call sites.
36791         hack_digit now takes an additional parameter that is a pointer
36792         to a struct of the referenced locals.  Those locals moved inside
36793         the struct and references updated.
36795 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
36797         * aclocal.m4: Require autoconf 2.69.
36798         * configure: Regenerated.
36799         * sysdeps/aarch64/configure: Likewise.
36800         * sysdeps/alpha/configure: Likewise.
36801         * sysdeps/arm/armv7/configure: Likewise.
36802         * sysdeps/arm/configure: Likewise.
36803         * sysdeps/ia64/configure: Likewise.
36804         * sysdeps/mach/configure: Likewise.
36805         * sysdeps/mips/configure: Likewise.
36806         * sysdeps/s390/configure: Likewise.
36807         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
36808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
36810         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
36811         file.
36812         * sysdeps/ia64/configure.ac: Likewise.
36814 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
36816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
36817         specify symbol version for ld.so.  Do not include entry for
36818         libpthread.
36819         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
36820         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
36821         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36823         [BZ #14171]
36824         * Makeconfig [$(build-shared) = yes]
36825         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
36826         makefiles.
36827         [$(build-shared) = yes && $(soversions.mk-done) = t]
36828         ($(common-objpfx)gnu/lib-names.h): Remove rule.
36829         [$(build-shared) = yes && $(soversions.mk-done) = t]
36830         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
36831         to Makerules.
36832         [$(build-shared) = yes && $(soversions.mk-done) = t]
36833         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
36834         here.
36835         [$(build-shared) = yes && $(soversions.mk-done) = t]
36836         (common-generated): Don't append gnu/lib-names.h and
36837         gnu/lib-names.stmp here.
36838         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
36839         (lib-names-h-abi): New variable.
36840         [$(build-shared) = yes && $(soversions.mk-done) = t]
36841         (lib-names-stmp-abi): Likewise.
36842         [$(build-shared) = yes && $(soversions.mk-done) = t &&
36843         abi-variants] (before-compile): Append
36844         $(common-objpfx)$(lib-names-h-abi).
36845         [$(build-shared) = yes && $(soversions.mk-done) = t &&
36846         abi-variants] (common-generated): Append gnu/lib-names.h.
36847         [$(build-shared) = yes && $(soversions.mk-done) = t &&
36848         abi-variants] (install-others-nosubdir): Depend on
36849         $(inst_includedir)/$(lib-names-h-abi).
36850         [$(build-shared) = yes && $(soversions.mk-done) = t &&
36851         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
36852         [$(build-shared) = yes && $(soversions.mk-done) = t]
36853         ($(common-objpfx)$(lib-names-h-abi)): New rule.
36854         [$(build-shared) = yes && $(soversions.mk-done) = t]
36855         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
36856         [$(build-shared) = yes && $(soversions.mk-done) = t]
36857         (common-generated): Append $(lib-names-h-abi) and
36858         $(lib-names-stmp-abi).
36859         * scripts/lib-names.awk: Do not handle multi being set.
36860         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
36861         Remove variable.
36862         (abi-lp64_be-ld-soname): Likewise.
36863         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
36864         Likewise.
36865         (abi-hard-ld-soname): Likewise.
36866         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
36867         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
36868         Remove variable.
36869         (abi-o32_hard-ld-soname): Likewise.
36870         (abi-o32_soft_2008-ld-soname): Likewise.
36871         (abi-o32_hard_2008-ld-soname): Likewise.
36872         (abi-n32_soft-ld-soname): Likewise.
36873         (abi-n32_hard-ld-soname): Likewise.
36874         (abi-n32_soft_2008-ld-soname): Likewise.
36875         (abi-n32_hard_2008-ld-soname): Likewise.
36876         (abi-n64_soft-ld-soname): Likewise.
36877         (abi-n64_hard-ld-soname): Likewise.
36878         (abi-n64_soft_2008-ld-soname): Likewise.
36879         (abi-n64_hard_2008-ld-soname): Likewise.
36880         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
36881         Likewise.
36882         (abi-64-v2-ld-soname): Likewise.
36883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
36884         ld.so entries.
36885         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
36886         variable.
36887         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
36888         entry.
36889         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
36890         variable.
36891         (abi-64-ld-soname): Likewise.
36892         (abi-x32-ld-soname): Likewise.
36893         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
36894         entry.
36895         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36897 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
36899         [BZ #14138]
36900         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
36901         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
36902         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
36903         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
36904         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
36905         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
36906         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
36907         syscall entry for GLIBC_2.2 symbol version.
36908         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
36909         Likewise.
36910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
36911         (setrlimit): Likewise.
36912         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
36913         Likewise.
36915 2014-09-23  Will Newton  <will.newton@linaro.org>
36917         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
36918         _LINUX_ARM_SYSDEP_H include guard too.
36919         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
36920         define.
36922 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36924         * sysdeps/unix/sysv/linux/eventfd.c:
36925         Make first argument unsigned.
36926         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
36927         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
36929 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
36931         [BZ #16852]
36932         * socket/recvmmsg.c (recvmmsg): Drop const argument.
36933         * socket/sys/socket.h: Likewise.
36934         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
36936 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36938         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
36940 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
36942         * time/tst-ftime.c: New test.
36943         * time/Makefile (tests): Add tst-ftime.
36945 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
36947         * soft-fp/extended.h: Fix comment formatting.
36948         * soft-fp/op-1.h: Likewise.
36949         * soft-fp/op-2.h: Likewise.
36950         * soft-fp/op-4.h: Likewise.
36951         * soft-fp/op-8.h: Likewise.
36952         * soft-fp/op-common.h: Likewise.
36953         * soft-fp/soft-fp.h: Likewise.
36955         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
36957 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
36959         [BZ #6652]
36960         * Makeconfig (soversions-default-setname): Remove variable.
36961         ($(common-objpfx)soversions.i): Don't pass default_setname to
36962         soversions.awk.
36963         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
36964         oldest_abi to abi-versions.awk.
36965         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
36966         * config.make.in (oldest-abi): Remove variable.
36967         * configure.ac (--enable-oldest-abi): Remove configure option.
36968         * configure: Regenerated.
36969         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
36970         text.
36971         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
36972         * scripts/soversions.awk: Do not handle default_setname variable.
36973         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
36974         variable.
36975         * sysdeps/mach/hurd/configure: Regenerated.
36976         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
36977         variable.
36978         * sysdeps/unix/sysv/linux/configure: Regenerated.
36980 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36982         * elf/Makefile (CFLAGS-interp.c): Remove.
36983         ($(elf-objpfx)runtime-linker.h): Generate header with linker
36984         path string.
36985         * elf/interp.c: Include generated runtime-linker.h
36987         * Makerules (lib%.so): Don't include $(+interp) in
36988         prerequisites.
36989         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
36990         * dlfcn/eval.c: Remove file.
36992         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
36993         macros.
36995         [BZ #17266]
36996         * misc/sys/cdefs.h: Define __extern_always_inline for clang
36997         4.2 and newer.
36999         [BZ #17370]
37000         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
37002 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37003             Jakub Jelinek  <jakub@redhat.com>
37005         [BZ #17266]
37006         * libio/stdio.h: Check definition of __fortify_function
37007         instead of __extern_always_inline to include bits/stdio2.h.
37008         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
37009         check if __extern_always_inline is defined.
37010         [__USE_MISC || __USE_XOPEN]: Likewise.
37011         [__USE_ISOC99] Likewise.
37012         * misc/sys/cdefs.h (__fortify_function): Define only if
37013         __extern_always_inline is defined.
37014         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
37015         __extern_always_inline and __extern_inline only for g++-4.3
37016         and newer or a compatible gcc.
37018 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
37020         [BZ #17371]
37021         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37022         last change to handle zero prefix length.
37024 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37026         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37027         _SC_REGEX_VERSION.
37029         * posix/getconf.c (vars): Add _POSIX_IPV6 and
37030         _POSIX_RAW_SOCKETS.
37032 2014-09-13  Allan McRae  <allan@archlinux.org>
37034         * po/ru.po: Update Russian translation from translation project.
37036 2014-09-12  Roland McGrath  <roland@hack.frob.com>
37038         * locale/programs/locale.c (show_locale_vars): Inline local function
37039         into its sole call site.  Clean up some style nits.
37040         (print_item): New function, broken out of ...
37041         (show_info): ... local function here.  Clean up style nits.
37043         * locale/programs/ld-ctype.c (set_one_default): New function, broken
37044         out of ...
37045         (set_class_defaults): ... local function set_default here.
37046         Define set_default as a macro locally to pass constant parameters.
37047         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
37048         rather than a shared local.
37050         * stdlib/rpmatch.c (try): New function, broken out of ...
37051         (rpmatch): ... local function here.  Also, prototypify definition.
37053 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
37055         * scripts/soversions.awk: Do not handle configuration names.
37056         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37057         vendor and os variables to soversions.awk.
37058         * configure.ac: Do not modify gnu-* host_os.
37059         * configure: Regenerated
37060         * shlib-versions: Remove first column with configuration names.
37061         * nptl/shlib-versions: Likewise.
37062         * nptl_db/shlib-versions: Likewise.
37063         * sysdeps/hppa/shlib-versions: Likewise.
37064         * sysdeps/m68k/shlib-versions: Likewise.
37065         * sysdeps/mach/hurd/shlib-versions: Likewise.
37066         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37067         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37068         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37069         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37070         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37071         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37072         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37073         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37075         Likewise.
37076         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37077         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37078         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37079         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37080         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37081         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37082         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37083         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37086         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37088         Regenerated.
37089         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37091         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37093         * shlib-versions: Remove OS-specific entries.  Moved to files in
37094         sysdeps.
37095         * sysdeps/mach/hurd/shlib-versions: New file.
37096         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37098         * nptl/shlib-versions: Remove architecture-specific entries.
37099         Moved to files in sysdeps.
37100         * shlib-versions: Likewise.
37101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37102         file.
37103         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37104         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37105         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37106         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37108         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37109         (UDP_NO_CHECK6_RX): Likewise.
37111 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37113         * sysdeps/posix/sysconf.c (__sysconf): Spell
37114         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37116 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37118         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37119         loading.
37120         * iconv/Versions (__gconv_transliterate): Export for use from
37121         gconv modules.
37122         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37123         (struct __gconv_trans_data, __gconv_trans_fct,
37124         __gconv_trans_context_fct, __gconv_trans_query_fct,
37125         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37126         definitions.
37127         (struct __gconv_step_data): Remove __trans member.
37128         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37129         longer hidden.  Remove unused trans_data argument.
37130         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37131         (__gconv_translit_find): Remove declaration.
37132         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37133         prototype.
37134         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37135         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37136         trans_data argument.  Add hidden definition.
37137         (__gconv_translit_find): Remove.
37138         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37139         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37140         * iconv/skeleton.c: Remove transliteration initialization.
37141         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37142         __gconv_step_data initialization.
37143         * libio/iofwide.c (__libio_translit_): Remove.
37144         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37145         * wcsmbs/btowc.c (__btowc): Likewise.
37146         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37147         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37148         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37149         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37150         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37151         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37152         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37153         * wcsmbs/wctob.c (wctob): Likewise.
37155 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37157         [BZ #16194]
37158         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37159         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37160         register usage.
37161         * sysdeps/x86/Makefile: Adjust.
37163 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37164             Roland McGrath  <roland@hack.frob.com>
37166         * locale/weight.h: Add include guard.
37167         (findidx): Make static rather than auto; take new parameters
37168         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37169         * locale/weightwc.h: Likewise.
37170         * posix/fnmatch_loop.c
37171         (FCT): Change type of EXTRA from int32_t to wint_t.
37172         Don't include either header inside the function.
37173         Call FINDIDX rather than findidx, and pass new arguments.
37174         #undef FINDIDX at the end of the file.
37175         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37176         FINDIDX before including fnmatch_loop.c for the non-wide version.
37177         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37178         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37179         for the wide version.
37180         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37181         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37182         Pass new arguments to findidx.
37183         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37184         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37185         Don't #include it inside the function.  Pass new arguments to findidx.
37186         * posix/regex_internal.h
37187         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37188         (re_string_elem_size_at): Don't #include it inside the function.
37189         Pass new arguments to findidx.
37190         * string/strcoll_l.c: #include WEIGHT_H at top level.
37191         (get_next_seq): Don't #include it inside the function.
37192         Pass new arguments to findidx.
37193         (get_next_seq_nocache): Likewise.
37194         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37195         (STRXFRM): Don't #include it inside the function.
37196         Pass new arguments to findidx.
37198 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37200         [BZ #17344]
37201         * malloc/malloc.c (unlink): Turn asserts into a call to
37202         malloc_printerr.
37204 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37206         [BZ #17370]
37207         * libio/wfileops (do_ftell_wide): Free OUT.
37209 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37211         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37213 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37215         [BZ #17363]
37216         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37217         group if the current group is empty.
37219 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37221         * benchtests/bench-memset.c (test_main): Add more test from size
37222         from 32 to 512 bytes.
37223         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37224         Add POWER8 memset object.
37225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37226         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37227         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37228         implementation.
37229         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37230         Likewise.
37231         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37232         multiarch POWER8 memset optimization.
37233         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37234         POWER8 memset optimization.
37236         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37237         Remove bzero multiarch objects.
37238         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37239         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37240         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37241         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37242         Remove define.
37243         [__bzero]: Redefine to specific name.
37244         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37245         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37246         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37247         define.
37248         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37249         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37251 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37253         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37254         warnings into errors.
37256         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37257         __cxa_thread_atexit_impl prototype.
37259 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37261         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37262         Fix capitalization of error message.
37264 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37266         * sysdeps/mips/preconfigure: Modify ABI tests.
37268 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37270         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37272 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37273             Carlos O'Donell  <carlos@systemhalted.org>
37275         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37276         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37277         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37278         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37279         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37280         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37281         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37282         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37283         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37284         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37286         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37288         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37292         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37293         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37294         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37295         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37296         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37297         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37298         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37299         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37300         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37301         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37302         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37303         Deconditionalize the code that was previously under [RESET_PID].
37304         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37305         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37306         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37307         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37308         include sysdep.h.
37310 2014-09-08  Allan McRae  <allan@archlinux.org>
37312         * version.h (RELEASE): Set to "development".
37313         (VERSION): Set to "2.20.90"
37315 2014-09-07  Allan McRae  <allan@archlinux.org
37317         * version.h (RELEASE): Set to "stable".
37318         (VERSION): Set to "2.20"
37319         * include/features.h (__GLIBC_MINOR__): Set to 20.
37321         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37322         Liebler.
37324         * po/ko.po: Update Korean translation from translation project.
37326 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37328         [BZ #17354]
37329         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37330         macro for handling signed relocations.
37332 2014-09-03  Florian Weimer  <fweimer@redhat.com>
37334         [BZ #17325]
37335         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37336         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37337         assert.
37338         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37339         * iconvdata/ibm935.c (BODY): Likewise.
37340         * iconvdata/ibm937.c (BODY): Likewise.
37341         * iconvdata/ibm939.c (BODY): Likewise.
37342         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37343         assert.
37344         * iconvdata/Makefile (iconv-test.out): Pass module list to test
37345         script.
37346         * iconvdata/run-iconv-test.sh: New test loop for checking for
37347         decoder crashers.
37349 2014-09-02  Khem Raj  <raj.khem@gmail.com>
37351         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37352         libm_hidden_ver.
37354 2014-09-01  Allan McRae  <allan@archlinux.org>
37356         * po/eo.po: Update Esperanto translation from translation project.
37358         * po/ca.po: Update Catalan translation from translation project.
37360 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37362         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37363         __proc_dostop call.
37365 2014-08-27  Mark Wielaard  <mjw@redhat.com>
37367         [BZ #17319]
37368         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
37369         to call set_thread_area instead of hand written asm.
37370         (__NR_set_thread_area): Removed define.
37371         (TLS_FLAG_WRITABLE): Likewise.
37372         (__ASSUME_SET_THREAD_AREA): Remove check.
37373         (TLS_EBX_ARG): Remove define.
37374         (TLS_LOAD_EBX): Likewise.
37376 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37378         Simplify atomicity of socket creation in bind.
37380         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
37381         looking up the name after linking the file.
37383 2014-08-27  Allan McRae  <allan@archlinux.org>
37385         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37387 2014-08-26  Florian Weimer  <fweimer@redhat.com>
37389         [BZ #17187]
37390         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
37391         trans_compare, open_translit, __gconv_translit_find):
37392         Remove module loading code.
37394 2014-08-26  Allan McRae  <allan@archlinux.org>
37396         * po/vi.po: Update Vietnamese translation from translation project.
37398         * po/uk.po: Update Ukrainian translation from translation project.
37400         * po/fr.po: Update French translation from translation project.
37402         * po/ru.po: Update Russian translation from translation project.
37404         * po/pl.po: Update Polish translation from translation project.
37406         * po/cs.po: Update Czech translation from translation project.
37408         * po/de.po: Update German translation from translation project.
37410         * po/bg.po: Update Bulgarian translation from translation project.
37412         * po/sv.po: Update Sweedish translation from translation project.
37414         * po/nl.po: Update Dutch translation from translation project.
37416         * po/es.po: Update Spanish translation from translation project.
37418 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37420         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
37422         * catgets/Makefile (CPPFLAGS-gencat): Remove.
37423         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
37424         (CPPFLAGS-iconvconfig): Likewise.
37425         * timezone/Makefile (CPPFLAGS-zic): Likewise.
37427         * include/libc-symbols.h: Remove unnecessary check for
37428         NOT_IN_libc.
37429         * nptl/pthreadP.h: Likewise.
37430         * sysdeps/aarch64/setjmp.S: Likewise.
37431         * sysdeps/alpha/setjmp.S: Likewise.
37432         * sysdeps/arm/sysdep.h: Likewise.
37433         * sysdeps/i386/setjmp.S: Likewise.
37434         * sysdeps/m68k/setjmp.c: Likewise.
37435         * sysdeps/posix/getcwd.c: Likewise.
37436         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37437         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37438         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37439         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37440         * sysdeps/sh/sh3/setjmp.S: Likewise.
37441         * sysdeps/sh/sh4/setjmp.S: Likewise.
37442         * sysdeps/unix/alpha/sysdep.h: Likewise.
37443         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37444         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37445         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37446         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37449         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37450         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37451         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37452         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37453         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37454         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37455         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37456         * sysdeps/x86_64/setjmp.S: Likewise.
37458 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
37460         [BZ #17263]
37461         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
37462         <stdint.h>.
37463         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
37464         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
37466 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37468         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
37470         [BZ #17262]
37471         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
37472         and __x86_64__ when disabling x87 inline functions.
37474 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37476         [BZ #17259]
37477         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
37478         asm statement with __cpuid_count.
37480 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
37482         * configure.ac: Change __ehdr_start code to dereference the struct.
37483         Run readelf on the output to look for relocations.
37484         * configure: Regenerated.
37486 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
37488         [BZ #17261]
37489         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
37490         value to 0.
37491         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
37493 2014-08-12  Roland McGrath  <roland@hack.frob.com>
37495         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
37497 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
37499         [BZ #16892]
37500         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
37501         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
37503 2014-08-12  Sean Anderson  <seanga2@gmail.com>
37505         * malloc/malloc.c: Fix typo in comment.
37507 2014-08-09  Allan McRae  <allan@archlinux.org>
37509         * Regenerate libc.po.
37511 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
37513         * intl/tst-gettext2.sh: Check every lang file for creation.
37515 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37517         * sysdeps/aarch64/fpu/math_private.h
37518         (libc_feholdsetround_noex_aarch64_ctx): New function.
37520 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37522         * sysdeps/arm/armv6/strcpy.S (strcpy):
37523         Fix performance issue in misaligned cases.
37525 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37527         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
37528         Move definition from termios.h.
37529         (struct termio): Likewise.
37530         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37531         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37532         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37533         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37534         Likewise.
37535         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
37536         Move definition to ioctl-types.h
37537         (struct termio): Likewise.
37538         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37539         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37540         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37541         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37542         Likewise.
37544 2014-08-05  Richard Henderson  <rth@redhat.com>
37546         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
37547         exceptions.
37548         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
37549         Add fraiseexcpt.
37550         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
37551         Use __feraiseexcept.
37552         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
37553         Protect libm symbols with IS_IN_libm.
37555         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
37557 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
37559         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
37561 2014-08-04  Will Newton  <will.newton@linaro.org>
37563         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
37564         file.
37566 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
37568         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
37569         variants for each function.
37571 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37573         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
37574         appended ...
37575         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
37576         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
37577         appended ...
37578         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
37579         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
37580         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
37581         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
37582         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
37583         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
37584         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
37585         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
37586         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
37587         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
37588         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
37589         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
37590         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
37591         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
37592         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
37593         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
37594         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
37595         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
37596         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
37597         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
37598         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
37599         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
37600         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
37601         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
37602         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
37603         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
37604         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
37605         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
37606         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
37607         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
37608         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
37609         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
37610         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
37611         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
37612         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
37613         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
37614         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
37615         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
37616         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
37617         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
37618         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
37619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
37620         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
37621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
37622         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
37623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
37624         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
37625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
37626         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
37627         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
37628         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
37629         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
37630         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
37631         Update #include.
37632         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
37633         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
37635 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37637         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
37638         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
37639         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
37640         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
37641         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
37642         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
37644 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37646         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
37647         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
37648         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37649         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
37651 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37653         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
37654         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
37655         (__libc_vfork): Define function under this name.
37656         (__vfork): Define as an alias.
37657         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
37658         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
37660 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37662         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
37663         that was previously under [RESET_PID].
37664         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
37666 2014-08-04  Andreas Schwab  <schwab@suse.de>
37668         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
37670 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
37672         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
37673         (main): Likewise.
37675 2014-08-01  Roland McGrath  <roland@hack.frob.com>
37677         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
37679 2014-08-01  Richard Henderon  <rth@redhat.com>
37681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
37682         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
37683         typo in exact zero test.
37684         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37685         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37686         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37688 2014-08-01  Roland McGrath  <roland@hack.frob.com>
37690         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
37691         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
37692         * sysdeps/arm/sysdep.h: ... here.
37693         [!__ASSEMBLER__]: Include <stdint.h>.
37695 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37697         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
37698         (HAVE_WCTYPE_H): Likewise.
37699         (HAVE_ISWCTYPE): Likewise.
37700         (ENABLE_NLS): Likewise.
37701         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
37702         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
37704         * posix/regex_internal.c: Check if DEBUG is defined and is
37705         set.
37707         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
37708         (HAVE_MBSRTOWCS): Likewise.
37709         * posix/fnmatch.c: Include string.h unconditionally.
37711 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37713         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
37714         reversal.
37716 2014-07-31  Roland McGrath  <roland@hack.frob.com>
37718         * sysdeps/generic/safe-fatal.h: New file.
37719         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
37720         * nptl/forward.c: Include it.
37721         (__pthread_unwind): Use __safe_fatal as default action, rather
37722         than a bogus use of INTERNAL_SYSCALL that could never work.
37724         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
37725         * configure.ac (libc_cv_builtin_trap): New test.
37726         * configure: Regenerated.
37727         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
37728         (ABORT_INSTRUCTION): Define using __builtin_trap.
37730         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
37731         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
37732         * sysdeps/nptl/nptl-signals.h: New file.
37733         * nptl/pthreadP.h: Include <nptl-signals.h>.
37735 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
37737         * sysdeps/s390/s390-64/utf16-utf32-z9.c
37738         (ONE_DIRECTION): Define.
37739         * sysdeps/s390/s390-64/utf8-utf16-z9.c
37740         (ONE_DIRECTION): Define.
37741         * sysdeps/s390/s390-64/utf8-utf32-z9.c
37742         (ONE_DIRECTION): Define.
37744 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
37746         * sysdeps/s390/Makefile: Delete file.
37747         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
37748         * sysdeps/s390/__longjmp.c: Delete file.
37749         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
37750         Remove fields __flags and __reserved.
37751         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
37752         and add versioning.
37753         * sysdeps/s390/rtld-__longjmp.c: Delete file.
37754         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
37755         * sysdeps/s390/rtld-setjmp.S: Likewise.
37756         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
37757         * sysdeps/s390/s390-32/__longjmp.c: ... here.
37758         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
37759         * sysdeps/s390/s390-32/setjmp.S: ... here.
37760         Add versioning.
37761         (__sigsetjmp): Remove setting __flags field.
37762         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
37763         * sysdeps/s390/s390-64/__longjmp.c: ... here.
37764         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
37765         * sysdeps/s390/s390-64/setjmp.S: ... here.
37766         Add versioning.
37767         (__sigsetjmp): Remove setting __flags field.
37768         * sysdeps/s390/setjmp.S: Delete file.
37769         * sysdeps/s390/sigjmp.c: Likewise.
37770         * sysdeps/s390/v1-longjmp.c: Likewise.
37771         * sysdeps/s390/v1-setjmp.h: Likewise.
37772         * sysdeps/s390/v1-sigjmp.c: Likewise.
37773         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
37774         Remove v1-longjmp_chk.
37775         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
37776         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
37777         Include debug/longjmp_chk.c and add versioning.
37778         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
37779         Include nptl/pt-longjmp.c and add versioning.
37780         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
37781         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
37782         Include __longjmp.c.
37783         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37784         Move to ...
37785         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
37786         (__getcontext): Remove setting __flags field.
37787         Add versioning.
37788         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37789         Don't restore upper high grps.
37790         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
37791         Likewise.
37792         (__swapcontext): Remove setting uc_flags field.
37793         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
37794         Delete file.
37795         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37796         Include __longjmp.c.
37797         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37798         Move to ...
37799         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
37800         (__getcontext): Remove setting __flags field.
37801         Add versioning.
37802         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
37803         (__swapcontext): Remove setting uc_flags field.
37804         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
37805         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
37806         Remove fields uc_high_gprs and __reserved.
37807         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
37808         New file with reverted content.
37809         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
37810         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
37811         Regenerated.
37812         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
37813         Regenerated.
37815 2014-07-31  Andreas Schwab  <schwab@suse.de>
37817         * config.h.in (HAVE_IFUNC): Define to 0.
37818         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
37819         definedness.
37821 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
37823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37824         memmove-avx-unaligned, memcpy-avx-unaligned and
37825         mempcpy-avx-unaligned.
37826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37827         Add tests for AVX memcpy functions.
37828         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
37829         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
37830         memcpy_chk.
37831         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
37832         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
37833         memmove_chk.
37834         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
37835         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
37836         mempcpy_chk.
37837         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
37838         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
37839         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
37841 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37843         [BZ #17213]
37844         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
37845         powerpc64le.
37847 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
37849         [BZ #16839]
37850         * manual/llio.texi: Add section about open file description locks.
37851         * manual/examples/ofdlocks.c: Example of open file description
37852         lock usage.
37853         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
37854         F_OFD_SETLK, and F_OFD_SETLKW.
37856 2014-07-23  Allan McRae  <allan@archlinux.org>
37858         * po/es.po: Update Spanish translation from translation project.
37860 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
37862         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
37864 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
37866         [BZ #17078]
37867         * sysdeps/arm/dl-machine.h (elf_machine_rela)
37868         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
37869         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
37871 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
37873         [BZ #17088]
37874         * math/fesetenv.c (__fesetenv)
37875         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
37876         * math/feupdateenv.c (__feupdateenv)
37877         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
37879         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
37880         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37881         (__ASSUME_SOCKETCALL): Do not define.
37883         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
37884         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
37885         (__ASSUME_SOCKETCALL): Do not define.
37886         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
37887         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
37888         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37889         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
37890         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37891         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
37892         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37893         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37895         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
37896         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
37897         (__ASSUME_SOCKETCALL): Do not define.
37898         (__ASSUME_IPC64): Define unconditionally.
37899         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
37900         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37901         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
37902         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37903         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
37904         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37905         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
37906         Likewise.
37908         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
37909         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
37910         (__ASSUME_SOCKETCALL): Do not define.
37911         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
37912         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37913         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37914         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37915         (__ASSUME_REQUEUE_PI): Define unconditionally.
37916         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
37917         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
37918         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37919         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
37920         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37921         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37923         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
37924         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
37925         (__ASSUME_SOCKETCALL): Do not define.
37926         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
37927         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37928         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37929         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
37930         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37931         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37933         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
37934         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
37935         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37936         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
37937         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37938         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
37939         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37940         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
37941         (__ASSUME_GETCPU_SYSCALL): Likewise.
37943         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
37944         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
37945         cases for individual architectures.
37946         * sysdeps/gnu/configure: Regenerated.
37947         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
37948         LIBC_SLIBDIR_RTLDDIR.
37949         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
37950         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
37951         LIBC_SLIBDIR_RTLDDIR.
37952         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
37953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
37954         LIBC_SLIBDIR_RTLDDIR.
37955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37956         Regenerated.
37957         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
37958         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
37959         file.
37960         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
37961         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
37962         file.
37963         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
37964         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
37965         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
37966         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
37968         * sysdeps/aarch64/shlib-versions: Move to ...
37969         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
37970         * sysdeps/alpha/shlib-versions: Move to ...
37971         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
37972         * sysdeps/arm/shlib-versions: Move to ...
37973         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
37974         * sysdeps/hppa/shlib-versions: Move all contents except for
37975         libgcc_s entry to ...
37976         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
37977         entry from ...
37978         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
37979         * sysdeps/ia64/shlib-versions: Move to ...
37980         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
37981         entry from ...
37982         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
37983         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
37984         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
37985         * sysdeps/microblaze/shlib-versions: Move to ...
37986         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
37987         * sysdeps/mips/shlib-versions: Move to ...
37988         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
37989         entry from ...
37990         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
37991         * sysdeps/tile/shlib-versions: Move to ...
37992         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
37993         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
37994         from ...
37995         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
37996         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
37997         entry from ...
37998         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
38000 2014-07-17  Will Newton  <will.newton@linaro.org>
38002         * sysdeps/arm/bits/atomic.h
38003         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
38004         (__arch_compare_and_exchange_bool_16_int): Likewise.
38005         (__arch_compare_and_exchange_bool_64_int): Likewise.
38007         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
38008         into an #else block.
38010 2014-07-16  Roland McGrath  <roland@hack.frob.com>
38012         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
38013         just Linux configurations.  Test empirically that the compiler sets
38014         __ARM_EABI__, rather than using the tuple to decide.
38015         * sysdeps/arm/preconfigure: Regenerated.
38016         * sysdeps/unix/sysv/linux/arm/configure: File removed.
38017         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
38018         contents appended ...
38019         * sysdeps/arm/configure.ac: ... here.
38020         * sysdeps/arm/configure: Regenerated.
38022 2014-07-15  Roland McGrath  <roland@hack.frob.com>
38024         * nptl/pthread_kill.c: New file.
38025         * nptl/pthread_sigmask.c: New file.
38026         * nptl/pthread_sigqueue.c: New file.
38028         * sysdeps/nptl/lowlevellock.h: New file.
38029         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
38030         * sysdeps/nptl/lowlevellock-futex.h: New file.
38032         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
38033         Remove dead declarations.
38035 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
38037         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
38038         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
38039         config-cflags-avx2.
38040         * sysdeps/x86_64/configure.ac: Likewise.
38041         * sysdeps/i386/configure: Regenerated.
38042         * sysdeps/x86_64/configure: Likewise.
38043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38044         memset-avx2 only if config-cflags-avx2 is yes.
38045         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38046         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
38047         defined.
38048         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
38049         only if HAVE_AVX2_SUPPORT is defined.
38050         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38052 2014-07-14  Alan Modra  <amodra@gmail.com>
38054         [BZ #17153]
38055         * elf/elf.h (DT_PPC64_NUM): Correct value.
38056         * NEWS: Add to fixed bug list.
38058 2014-07-13  Jim Meyering  <meyering@fb.com>
38060         [BZ 17150]
38061         regex: don't deref NULL upon heap allocation failure
38062         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38063         failure in one more place.
38064         To trigger the segfault, configure grep -with-included-regex,
38065         build it, and run these commands:
38066         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38068 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38070         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38072 2014-07-11  Richard Henderson  <rth@redhat.com>
38074         * sysdeps/aarch64/libm-test-ulps: Update.
38076 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38078         [BZ #17135]
38079         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38080         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38081         (__nptl_setxid): Initialize error member.  Call
38082         __nptl_setxid_error.
38083         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38084         * nptl/descr.h (struct xid_command): Add error member.
38085         * nptl/tst-setuid3.c: New file.
38086         * nptl/Makefile (tests): Add it.
38088 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38090         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38091         New define.
38092         (__lll_trylock): Use __lll_base_trylock.
38093         (__lll_cond_trylock): Likewise.
38095 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38097         * nptl/pthread_create.c (start_thread): Use atomic_or and
38098         lll_futex_wake directly rather than lll_robust_dead.
38099         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38100         (lll_robust_dead): Macro removed.
38101         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38102         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38103         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38104         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38106         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38107         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38108         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38109         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38111         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38112         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38113         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38114         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38117         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38118         Use atomic_compare_and_exchange_val_acq directly rather than
38119         lll_robust_trylock.
38120         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38121         (__lll_robust_trylock, lll_robust_trylock): Removed.
38122         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38123         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38124         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38125         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38126         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38127         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38128         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38129         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38130         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38131         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38132         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38133         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38134         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38135         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38137 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38139         * manual/locale.texi (Locale Names): New section documenting
38140         locale name syntax.  Adjust menu and node chaining accordingly.
38141         (Choosing Locale): Reference Locale Names, Locale Categories.
38142         Mention setting LC_ALL=C.  Reflect that name syntax is now
38143         documented.
38144         (Locale Categories): New section title.  Reference Locale Names.
38145         LC_ALL is an environment variable, but not a category.
38146         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38147         description, now in Locale Name.  Reference that section.  Locale
38148         name syntax is now documented.
38150 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38152         [BZ #17137]
38153         * locale/findlocale.c (name_present, valid_locale_name): New
38154         functions.
38155         (_nl_find_locale): Use the loc_name variable to store name
38156         candidates.  Call name_present and valid_locale_name to check and
38157         validate locale names.  Return an error if the locale is invalid.
38159 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38161         * locale/setlocale.c (setlocale): Use strdup for allocating
38162         composite name copy.
38164 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38166         Sync up with gnulib.
38167         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38168         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38169         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38170         and _GL_ARG_NONNULL.
38171         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38172         [!_LIBC]: Include code for Windows and Cygwin.
38173         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38174         Include prototype for int strerror_r.
38175         [!_LIBC] (is_open): New function.
38176         (flush_stdout): New function.
38177         (print_errno_message): Use it.
38178         (error): Likewise.
38179         (error_at_line): Likewise.
38180         (error_tail) Add function attribute macros.  Use
38181         __builtin_expect.
38183         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38185         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38187         * io/ftw.c: Include sys/param.h unconditionally.
38189         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38191         [BZ #17125]
38192         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38193         libc_freeres_ptr.
38194         (freecache): New function to free CACHE on exit.
38196         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38197         initialization.
38199 2014-07-09  David S. Miller  <davem@davemloft.net>
38201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38203         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38204         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38205         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38206         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38207         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38208         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38209         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38210         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38211         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38212         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38213         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38214         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38215         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38217 2014-07-09  Andreas Schwab  <schwab@suse.de>
38219         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38220         output.
38221         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38222         (do_test): Likewise.
38224         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38226 2014-07-09  Will Newton  <will.newton@linaro.org>
38228         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38229         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38230         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38231         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38232         * sysdeps/hppa/start.S (_start): Likewise.
38234 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38236         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38238         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38239         defined.
38241 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38243         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38244         after checking that it is non-NULL.
38246         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38248 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38250         * sysdeps/powerpc/memmove.c: Remove file.
38251         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38252         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38253         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38254         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38255         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38256         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38257         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38258         string memmove instead of removed powerpc one.
38260         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38261         [weak_alias]: Fix compiler warning due trailing data.
38262         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38263         [weak_alias]: Likewise.
38264         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38265         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38268         (__libc_ifunc_impl_list): Add memmove functions.
38270 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38272         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38273         Remove code.
38274         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38275         Likewise.
38276         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38277         Likewise.
38278         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38279         Likewise.
38280         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38281         Likewise.
38282         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38283         Likewise.
38284         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38285         Likewise.
38286         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38287         Likewise.
38288         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38289         Likewise.
38290         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38291         Likewise.
38292         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38293         Likewise.
38294         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38295         Likewise.
38296         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38297         Likewise.
38298         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38299         Likewise.
38300         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38301         Likewise.
38302         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38303         Likewise.
38304         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38305         Likewise.
38307 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38309         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38310         to avoid alignment traps in non-cacheable memory.
38311         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38314         multiarch objects.
38315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38316         file: multiarch power7 memmove.
38317         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38318         multiarch default memmove.
38319         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38320         multiarch memove for powerpc32/power4.
38322         * string/bcopy.c: Use full path to include memmove.c.
38323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38324         multiarch objects.
38325         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38326         bcopy for powerpc64.
38327         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38328         bcopy for powerpc64.
38329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38330         and memmove implementations.
38331         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38332         optimized multiarch memmove for POWER7/powerpc64.
38333         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38334         default multiarch memmove for powerpc64.
38335         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38336         multiarch for powerpc64.
38337         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38338         for POWER7/powerpc64.
38339         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38340         memmove for POWER7/powerpc64.
38342         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38343         glibc default one.
38345         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38346         __ELF_NATIVE_CLASS equal to 64.
38348 2014-07-07  Roland McGrath  <roland@hack.frob.com>
38350         * sysdeps/nptl/lowlevellock.h: File removed.
38352         * NEWS: NPTL is no longer an add-on!
38353         * nptl/internaltypes.h: Moved ...
38354         * sysdeps/nptl/internaltypes.h: ... here.
38355         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38356         * sysdeps/nptl/fork.c: Likewise.
38357         * sysdeps/nptl/gai_misc.h: Likewise.
38358         * sysdeps/nptl/librt-cancellation.c: Likewise.
38359         * sysdeps/nptl/jmp-unwind.c: Likewise.
38360         * sysdeps/nptl/setxid.h: Likewise.
38361         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38362         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38363         * sysdeps/unix/sysv/linux/arm/Implies: New file.
38364         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38365         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
38366         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
38367         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
38368         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
38369         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
38370         * sysdeps/unix/sysv/linux/mips/Implies: New file.
38371         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
38372         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
38373         * sysdeps/unix/sysv/linux/sh/Implies: New file.
38374         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
38375         * sysdeps/unix/sysv/linux/tile/Implies: New file.
38376         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
38377         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
38378         * nptl/Makeconfig: Moved ...
38379         * sysdeps/nptl/Makeconfig: ... here.
38380         * nptl/configure: File removed.
38381         * nptl/ANNOUNCE: File removed.
38382         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
38383         * sysdeps/unix/sysv/linux/configure: Regenerated.
38385         * nptl/Makefile (routines): Add libc_pthread_init,
38386         libc_multiple_threads, register-atfork and unregister-atfork.
38387         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
38388         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
38389         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
38390         pthread-pi-defines.sym, structsem.sym.
38391         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
38392         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
38393         [$(subdir) = nptl] (tests): Add tst-setgetname.
38394         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
38395         * sysdeps/unix/sysv/linux/sigaction.c: Just include
38396         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
38397         [!LIBC_SIGACTION]: Remove aliases.
38398         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38399         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38400         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38401         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
38402         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38403         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
38404         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38405         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38406         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38407         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
38408         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
38409         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
38410         __libc_allocate_rtsig_private.
38411         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
38412         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
38413         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
38414         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
38415         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
38416         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
38417         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
38418         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
38419         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
38420         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
38421         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
38422         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
38423         * nptl/internaltypes.h: ... here.
38424         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
38425         * sysdeps/nptl/jmp-unwind.c: ... here.
38426         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
38427         * nptl/libc-lowlevellock.c: ... here.
38428         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
38429         * nptl/libc_multiple_threads.c: ... here.
38430         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
38431         * nptl/libc_pthread_init.c: ... here.
38432         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
38433         * nptl/lowlevelbarrier.sym: ... here.
38434         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
38435         * nptl/lowlevelcond.sym: ... here.
38436         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
38437         * nptl/lowlevellock.c: ... here.
38438         * nptl/lowlevellock.h: Moved ...
38439         * sysdeps/nptl/lowlevellock.h: ... here.
38440         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
38441         * nptl/lowlevelrobustlock.c: ... here.
38442         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
38443         * nptl/lowlevelrobustlock.sym: ... here.
38444         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
38445         * nptl/lowlevelrwlock.sym: ... here.
38446         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
38447         * nptl/pt-fork.c: ... here.
38448         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
38449         * nptl/pthread-pi-defines.sym: ... here.
38450         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
38451         * nptl/pthread_attr_getaffinity.c: ... here.
38452         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
38453         * nptl/pthread_attr_setaffinity.c: ... here.
38454         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
38455         * nptl/pthread_mutex_cond_lock.c: ... here.
38456         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38457         Update #include.
38458         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
38459         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
38460         * nptl/pthread_once.c: ... here, replacing old file.
38461         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
38462         * nptl/pthread_yield.c: ... here.
38463         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
38464         * nptl/register-atfork.c: ... here.
38465         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
38466         * nptl/sem_post.c: ... here.
38467         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
38468         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
38469         * nptl/sem_timedwait.c: ... here.
38470         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
38471         * nptl/sem_trywait.c: ... here.
38472         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
38473         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
38474         * nptl/sem_wait.c: ... here.
38475         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
38476         * nptl/structsem.sym: ... here.
38477         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
38478         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
38479         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
38480         * nptl/unregister-atfork.c: ... here.
38481         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
38482         * nptl/unwindbuf.sym: ... here.
38483         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
38484         * sysdeps/nptl/fork.c: ... here.
38485         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
38486         * sysdeps/nptl/fork.h: ... here.
38487         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
38488         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
38489         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
38490         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
38491         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
38492         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
38493         * sysdeps/unix/sysv/linux/getpid.c: ... here.
38494         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
38495         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
38496         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
38497         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
38498         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
38499         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
38500         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
38501         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
38502         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
38503         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
38504         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
38505         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
38506         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
38507         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
38508         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
38509         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
38510         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
38511         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
38512         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
38513         * sysdeps/unix/sysv/linux/raise.c: ... here.
38514         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
38515         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
38516         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
38517         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
38518         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
38519         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
38520         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
38521         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
38522         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
38523         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
38524         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
38525         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
38526         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
38527         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
38528         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
38530 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38532         * sysdeps/generic/memcopy.h: Add comment for
38533         MEMCPY_OK_FOR_FWD_MEMMOVE.
38535 2014-07-04  Will Newton  <will.newton@linaro.org>
38537         * string/memchr.c: Merge from gnulib.
38538         [_LIBC]: Remove conditionals.
38539         (__ptr_t): Remove define.
38540         (LONG_MAX_32_BITS): Likewise.
38541         (LONG_MAX): Likewise.
38542         (MEMCHR): Use ANSI prototype and optimize algorithm.
38544         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
38546 2014-07-03  Roland McGrath  <roland@hack.frob.com>
38548         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
38549         (lll_futex_timed_wait_bitset): Fix syscall argument count.
38551         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
38552         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
38553         in a bare environment with no <stdlib.h> installed.
38554         * sysdeps/nptl/configure: Regenerated.
38556         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
38558         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
38559         AC_EGREP_CPP for kernel header checks, so they only succeed if
38560         including <linux/version.h> actually works right.
38561         * sysdeps/unix/sysv/linux/configure: Regenerated.
38563         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
38564         value so it's not diagnosed as unused.
38566         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
38567         thing) with "ifeq ($(subdir),rt)".
38569 2014-07-03  Richard Henderson  <rth@redhat.com>
38571         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
38572         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
38573         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
38575         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
38576         (math_force_eval): New.
38578         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
38579         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
38581         * sysdeps/alpha/fpu/s_round.c: Remove file.
38582         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
38584         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
38585         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
38586         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
38587         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
38588         (_dl_start, print_statistics): Likewise.
38589         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
38590         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
38592         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38593         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38594         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38595         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38596         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38597         (HP_SMALL_TIMING_AVAIL): Define.
38598         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38599         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38600         (HP_SMALL_TIMING_AVAIL): Define.
38601         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38602         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38604         * sysdeps/aarch64/hp-timing.h: New file.
38606         * sysdeps/generic/hp-timing.h: Remove dead comment.
38607         * sysdeps/generic/hp-timing-common.h: New file.
38608         * sysdeps/alpha/hp-timing.h: Include it.
38609         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
38610         * sysdeps/i386/i686/hp-timing.h: Likewise.
38611         * sysdeps/ia64/hp-timing.h: Likewise.
38612         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38613         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38614         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38615         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38616         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
38617         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
38618         (hp_timing_t): New.
38620         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
38621         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
38622         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
38623         * elf/rtld.c (_dl_start_final): Likewise.
38624         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
38625         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38626         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38627         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38628         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38629         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38630         (HP_TIMING_DIFF_INIT): Remove.
38631         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38632         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38633         (HP_TIMING_DIFF_INIT): Remove.
38634         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38635         * sysdeps/i386/i686/hp-timing.c: Remove file.
38636         * sysdeps/x86_64/hp-timing.c: Remove file.
38637         * sysdeps/ia64/hp-timing.c: Remove file.
38638         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
38639         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
38640         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
38641         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
38643         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
38644         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
38645         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
38646         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38647         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38648         (HP_TIMING_ACCUM): Remove.
38649         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38650         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
38651         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38653         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
38654         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
38655         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
38656         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
38657         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
38658         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38659         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
38660         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38662         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
38664 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
38666         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
38668 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38670         Sync up with gettext.
38671         * intl/loadmsgcat.c: Define O_BINARY if not defined.
38672         [_MSC_VER]: Include malloc.h
38673         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
38674         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
38675         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
38676         TEMP_FAILURE_RETRY.  Cast return of alloca.
38677         [!_LIBC] Call gl_rwlock_init.
38678         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
38680 2014-07-02  Roland McGrath  <roland@hack.frob.com>
38682         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
38683         before checking its value.
38685 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38687         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
38689         * debug/memcpy_chk.c: Don't include pagecopy.h.
38690         * debug/mempcpy_chk.c: Likewise.
38691         * string/memcpy.c: Likewise.
38692         * string/memmove.c: Likewise.
38693         * sysdeps/powerpc/memmove.c: Likewise.
38694         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
38695         definition of PAGE_COPY_FWD_MAYBE here...
38696         * sysdeps/generic/pagecopy.h: ... from here.
38697         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
38699 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38700             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38702         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
38703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
38704         optimizations.
38705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38706         (__libc_ifunc_impl_list): Likewise.
38707         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
38708         multiarch strcat for PPC64.
38709         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
38710         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
38712 2014-07-02  Roland McGrath  <roland@hack.frob.com>
38714         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
38716 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38718         * intl/loadmsgcat.c: Remove declaration of
38719         get_sysdep_segment_value.
38720         (get_sysdep_segment_value): Use ISO C style.
38721         (_nl_load_domain): Use ISO C style.  Get rid of redundant
38722         semicolon.  Fix typo and formatting in comment.
38723         (_nl_unload_domain): Use ISO C style.
38725         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
38727 2014-07-02  Will Newton  <will.newton@linaro.org>
38729         * malloc/obstack.c: Merge from gnulib master.
38730         [HAVE_CONFIG_H]: Remove conditional code.
38731         [!_LIBC]: Include config.h.
38732         [!ELIDE_CODE]: Don't include inttypes.h, include
38733         stdint.h unconditionally.
38734         (print_and_abort): Mark as _Noreturn.
38735         (_obstack_allocated_p): Mark as __attribute_pure__.
38736         (obstack_free): Rename to __obstack_free.
38737         [!__attribute__]: Remove conditional code.
38738         * malloc/obstack.h: Merge from gnulib master.
38739         [__cplusplus]: Move conditional down.
38740         [!__attribute_pure__]: Define __attribute_pure__ here
38741         if it is not already defined.
38742         (_obstack_memory_used): Mark as __attribute_pure__.
38743         [!__obstack_free]: Define as obstack_free.
38744         [__GNUC__]: Remove check for ancient NeXT gcc.
38746 2014-07-02  Will Newton  <will.newton@linaro.org>
38747             Paul Eggert  <eggert@cs.ucla.edu>
38749         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
38751 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38753         * resolv/gethnamaddr.c: Add comment warning that the file is
38754         not maintained.
38756 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
38758         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
38759         entries.
38761         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
38762         entry for aio_cancel and aio_cancel64.
38763         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
38764         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
38765         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
38766         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
38767         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
38768         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
38769         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
38770         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
38771         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
38772         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
38773         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
38774         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
38775         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
38777 2014-07-01  Roland McGrath  <roland@hack.frob.com>
38779         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
38780         * nptl/pthread_mutex_lock.c: Likewise.
38781         * nptl/pthread_mutex_timedlock.c: Likewise.
38782         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
38784 2014-07-01  Richard henderson  <rth@redhat.com>
38786         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
38787         (__isnan, __isnanl): Remove.
38788         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
38790         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38792 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
38794         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38796 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38798         * resolv/nss_dns/dns-host.c (getanswer_r)
38799         [MULTI_PTRS_ARE_ALIASES]: Remove code.
38801 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
38803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38804         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
38805         undefine.
38806         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
38807         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
38809 2014-07-01  Roland McGrath <roland@hack.frob.com>
38811         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
38812         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
38814         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
38815         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
38817         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
38818         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
38819         ... here.
38820         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
38821         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
38823         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
38824         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
38825         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
38826         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
38828         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
38829         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
38830         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
38831         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
38832         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
38833         Moved ...
38834         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
38835         ... here.
38836         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
38837         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
38838         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
38839         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
38840         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
38841         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
38842         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
38843         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
38844         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
38845         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
38846         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
38847         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
38848         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
38849         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
38850         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
38851         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
38852         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
38853         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
38854         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
38855         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
38856         ... here.
38857         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
38858         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
38859         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
38860         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
38861         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
38862         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
38863         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
38864         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
38866 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
38868         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
38869         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
38870         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
38871         Add sysdep.
38873 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38877 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
38879         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
38880         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38882         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38884         * sysdeps/arm/libm-test-ulps: Regenerated.
38886 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
38887             Roland McGrath <roland@hack.frob.com>
38889         * test-skeleton.c (signal_handler): Kill the whole process group
38890         before killing the child individually.
38891         (main): Report any failure on `setpgid'.
38893 2014-06-30  Roland McGrath  <roland@hack.frob.com>
38895         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
38896         from _TLS_H to _ARM_NPTL_TLS_H.
38897         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
38898         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
38900 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
38902         [BZ #16539]
38903         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
38904         (__expm1l): Return argument unchanged when small but not
38905         subnormal.
38907         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
38908         include macro name.
38909         (_FP_UNPACK_RAW_1_P): Likewise.
38910         (_FP_PACK_RAW_1): Likewise.
38911         (_FP_PACK_RAW_1_P): Likewise.
38912         (_FP_MUL_MEAT_1_wide): Likewise.
38913         (_FP_MUL_MEAT_DW_1_hard): Likewise.
38914         (_FP_MUL_MEAT_1_hard): Likewise.
38915         (_FP_DIV_MEAT_1_imm): Likewise.
38916         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
38917         (_FP_DIV_MEAT_1_udiv): Likewise.
38918         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
38919         (_FP_UNPACK_RAW_2): Likewise.
38920         (_FP_UNPACK_RAW_2_P): Likewise.
38921         (_FP_PACK_RAW_2): Likewise.
38922         (_FP_PACK_RAW_2_P): Likewise.
38923         (_FP_MUL_MEAT_DW_2_wide): Likewise.
38924         (_FP_MUL_MEAT_2_wide): Likewise.
38925         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
38926         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38927         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
38928         (_FP_MUL_MEAT_2_gmp): Likewise.
38929         (_FP_DIV_MEAT_2_udiv): Likewise.
38930         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
38931         (_FP_FRAC_SRL_4): Likewise.
38932         (_FP_FRAC_SRST_4): Likewise.
38933         (_FP_FRAC_SRS_4): Likewise.
38934         (_FP_UNPACK_RAW_4): Likewise.
38935         (_FP_UNPACK_RAW_4_P): Likewise.
38936         (_FP_PACK_RAW_4): Likewise.
38937         (_FP_PACK_RAW_4_P): Likewise.
38938         (_FP_MUL_MEAT_DW_4_wide): Likewise.
38939         (_FP_MUL_MEAT_4_wide): Likewise.
38940         (_FP_MUL_MEAT_4_gmp): Likewise.
38941         (umul_ppppmnnn): Likewise.
38942         (_FP_DIV_MEAT_4_udiv): Likewise.
38943         (__FP_FRAC_ADD_4): Likewise.
38944         (__FP_FRAC_SUB_3): Likewise.
38945         (__FP_FRAC_SUB_4): Likewise.
38946         (__FP_FRAC_DEC_3): Likewise.
38947         (__FP_FRAC_DEC_4): Likewise.
38948         (__FP_FRAC_ADDI_4): Likewise.
38949         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
38950         (_FP_FRAC_SRL_8): Likewise.
38951         (_FP_FRAC_SRS_8): Likewise.
38953         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
38954         include macro name.
38955         (FP_UNPACK_RAW_EP): Likewise.
38956         (FP_PACK_RAW_E): Likewise.
38957         (FP_PACK_RAW_EP): Likewise.
38958         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
38959         (_FP_ISSIGNAN): Likewise.
38960         (_FP_ADD_INTERNAL): Likewise.
38961         (_FP_FMA): Likewise.
38962         (_FP_CMP): Likewise.
38963         (_FP_SQRT): Likewise.
38964         (_FP_TO_INT): Likewise.
38965         (_FP_FROM_INT): Likewise.
38966         (FP_EXTEND): Likewise.
38967         (_FP_DIV_MEAT_N_loop): Likewise.
38969 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
38971         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
38972         throughout.
38974 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
38976         [BZ #17097]
38977         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
38978         result with correct sign in case of exponents that produce
38979         overflow except for X very close to 1.
38981 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
38983         mktime: merge #if/#ifdef usage from glibc
38984         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
38985         as that works with both Glibc's and Gnulib's style.
38986         See thread starting at Siddhesh Poyarekar's bug report at:
38987         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
38989 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38991         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
38992         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
38993         * sysdeps/tile/tilegx/memmove.c: Remove file.
38995 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
38997         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
38998         abi-name definition.
38999         * scripts/soversions.awk: Do not handle or generate ABI lines.
39000         * shlib-versions: Remove ABI entries.
39001         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
39002         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
39004 2014-06-27  Roland McGrath  <roland@hack.frob.com>
39006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39007         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
39008         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
39009         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
39010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
39011         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
39012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
39013         Moved ...
39014         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
39015         ... here.
39016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
39017         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
39018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
39019         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
39020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
39021         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
39022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
39023         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
39024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
39025         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
39026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
39027         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
39028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
39029         Moved ...
39030         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
39031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
39032         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
39033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
39034         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
39035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
39036         Moved ...
39037         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
39038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
39039         Moved ...
39040         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
39041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39042         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
39043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
39044         Moved ...
39045         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
39046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
39047         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
39048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
39049         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39051         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39053         Moved ...
39054         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39056         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39057         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39058         Moved ...
39059         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39060         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39061         Moved ...
39062         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39063         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39064         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39065         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39066         Moved ...
39067         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39068         ... here.
39069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39070         Identical file removed.
39071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39072         Moved ...
39073         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39074         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39075         Identical file removed.
39076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39077         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39079         Moved ...
39080         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39082         Identical file removed.
39083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39084         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39086         Identical file removed.
39087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39088         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39090         Identical file removed.
39091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39092         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39094         Identical file removed.
39095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39096         Moved ...
39097         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39099         Identical file removed.
39100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39101         Moved ...
39102         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39104         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39106         Identical file removed.
39107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39108         Moved ...
39109         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39110         ... here.
39111         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39112         Identical file removed.
39113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39114         Moved ...
39115         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39117         Identical file removed.
39118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39119         Moved ...
39120         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39122         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39124         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39125         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39126         Moved ...
39127         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39128         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39129         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39131         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39132         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39133         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39134         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39135         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39137 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39139         [BZ #17092]
39140         * nscd/nscd.c (monitor_child): Return exit status of child
39141         instead of return value from wait syscall.
39143 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39145         * configure.ac (libc_commonpagesize): Remove variable.
39146         (libc_relro_required): Likewise.
39147         (libc_cv_z_relro): Remove configure test.
39148         * configure: Regenerated.
39149         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39150         variable.
39151         (libc_relro_required): Likewise.
39152         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39153         (libc_relro_required): Likewise.
39154         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39155         (libc_relro_required): Likewise.
39156         * sysdeps/arm/preconfigure: Regenerated.
39157         * sysdeps/ia64/preconfigure: Remove file.
39158         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39159         variable.
39160         (libc_relro_required): Likewise.
39162         [BZ #16561]
39163         [BZ #16562]
39164         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39165         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39166         recompute overflowing results in original rounding mode.
39167         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39168         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39169         recompute overflowing results in original rounding mode.
39170         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39171         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39172         recompute overflowing results in original rounding mode.
39173         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39174         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39175         recompute overflowing results in original rounding mode.
39176         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39177         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39178         recompute overflowing results in original rounding mode.
39179         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39180         (libc_feholdsetround_ctx): New macro.
39181         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39182         * sysdeps/i386/fpu/libm-test-ulps: Update.
39183         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39185 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39187         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39188         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39189         corresponding .cpsetup call.
39191 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39193         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39194         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39195         * sysdeps/arm/Makefile [$(subdir) = csu]
39196         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39197         (static-only-routines): Add aeabi_read_tp here.
39198         (shared-only-routines): Add libc-aeabi_read_tp here.
39199         (CFLAGS-libc-start.c): Add -fexceptions here.
39200         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39201         (sysdep_routines, static-only-routines, shared-only-routines):
39202         Don't add to these here.
39203         (CFLAGS-libc-start.c): Likewise.
39205         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39206         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39207         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39208         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39209         * sysdeps/arm/Makefile [$(subdir) = rt]
39210         (librt-sysdep_routines, librt-shared-only-routines):
39211         Append rt-aeabi_unwind_cpp_pr1 here.
39212         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39213         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39214         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39215         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39216         Append nptl-aeabi_unwind_cpp_pr1 here.
39217         (tests): Filter out tst-cleanupx4 here.
39218         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39219         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39220         Don't do those here.
39222 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39224         * scripts/list-sources.sh: Do not handle ports specially.
39226 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39228         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39229         * sysdeps/arm/feupdateenv.c: Likewise.
39231         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39233 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39235         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39236         trailing whitespace removed.
39237         * scripts/config.guess: Update to version 2014-03-23.
39238         * scripts/config.sub: Update to version 2014-05-01
39239         * scripts/install-sh: Update to version 2013-12-25.23.
39240         * scripts/move-if-change: Update from gnulib.
39242 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39244         * debug/memmove_chk.c: Remove pagecopy.h include.
39246 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39248         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39249         identical to gnulib mktime.
39251 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39253         * configure.ac: Do not test for machine being rs6000.  Do not test
39254         for powerpc*-*soft.
39255         * configure: Regenerated.
39257         [BZ #11505]
39258         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39259         test.
39260         * configure: Regenerated.
39261         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39262         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39263         Remove configure test.
39264         * sysdeps/arm/configure: Regenerated.
39265         * sysdeps/nptl/configure.ac: Do not check
39266         libc_cv_asm_cfi_directives.
39267         * sysdeps/nptl/configure: Regenerated.
39268         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39269         * sysdeps/x86_64/nptl/configure: Remove generated file.
39270         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39271         unconditional.
39272         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39274 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39276         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39277         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39278         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39279         it is defined.
39281         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39282         instead of whether it is defined.
39283         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39284         * sysdeps/hppa/dl-machine.h: Likewise.
39285         * sysdeps/ia64/dl-machine.h: Likewise.
39286         * sysdeps/m68k/dl-machine.h: Likewise.
39287         * sysdeps/microblaze/dl-machine.h: Likewise.
39288         * sysdeps/mips/dl-machine.: Likewise.
39289         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39290         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39291         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39292         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39293         * sysdeps/sh/dl-machine.h: Likewise.
39294         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39295         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39296         * sysdeps/tile/dl-machine.h: Likewise.
39297         * sysdeps/x86_64/dl-machine.h: Likewise.
39299         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39300         code.
39301         (verify_persistent_db): Likewise.
39303 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39306         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39308         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39310         Moved ...
39311         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39312         ... here.
39313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39314         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39316         Identical file removed.
39317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39318         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39320         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39322         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39324         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39326         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39328         Moved ...
39329         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39331         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39333         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39335         Moved ...
39336         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39338         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39340         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39342         Identical file removed.
39343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39344         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39346         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39348         Moved ...
39349         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39350         ... here.
39351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39352         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39354         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39356         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39358         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39360         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39362         Moved ...
39363         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39365         Moved ...
39366         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
39367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
39368         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
39369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39370         Moved ...
39371         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
39372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
39373         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
39375         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
39376         folded into ...
39377         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
39378         * sysdeps/unix/sysv/linux/s390/Versions
39379         (libpthread: GLIBC_2.19): New version set.
39380         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
39381         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
39382         (librt: GLIBC_2.3.3): New version set.
39383         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
39384         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
39385         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
39386         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
39387         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
39388         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
39389         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
39390         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
39391         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
39392         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
39393         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
39394         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
39395         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
39396         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
39397         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
39398         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
39399         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
39400         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
39401         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
39402         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
39403         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
39404         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
39405         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
39406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
39407         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
39408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
39409         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
39410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
39411         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
39412         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
39413         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
39414         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
39415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
39416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
39417         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
39418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
39419         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
39420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
39421         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
39422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
39423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
39424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
39425         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
39426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
39427         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
39429         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
39430         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
39431         (__libc_vfork): Define the function under this name.
39432         [!NOT_IN_libc] (__vfork): Make this an alias.
39433         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
39435         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
39436         (__libc_vfork): Define the function under this name.
39437         [!NOT_IN_libc] (__vfork): Make this an alias.
39438         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39439         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
39440         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
39441         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
39442         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
39443         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39445         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
39446         code that was previously under [RESET_PID].
39447         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
39448         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
39449         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
39451         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
39452         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
39453         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
39454         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
39455         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
39456         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
39457         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
39458         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
39459         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
39460         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
39461         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
39462         Moved ...
39463         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
39464         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
39465         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
39466         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
39467         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
39468         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
39469         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
39470         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
39471         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
39472         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
39473         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
39474         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
39475         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
39476         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
39477         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
39478         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
39479         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
39480         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
39481         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
39482         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
39483         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
39484         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
39485         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
39486         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
39487         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
39488         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
39489         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
39490         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
39491         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
39493 2014-06-25  Roland McGrath  <roland@hack.frob.com>
39495         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
39496         that was previously under [RESET_PID].
39497         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
39499 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
39501         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
39502         not undefine and redefine.
39503         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
39504         [O_CLOEXEC]: Make code unconditional.
39505         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
39506         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
39507         <kernel-features.h>.
39508         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
39509         conditional variable definition.
39510         (shm_open) [O_CLOEXEC]: Make code unconditional.
39511         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
39512         code.
39514         * configure.ac (USE_REGPARMS): Don't define here.
39515         * configure: Regenerated.
39516         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
39517         * sysdeps/i386/configure: Regenerated.
39519         * nptl/createthread.c: Don't include kernel-features.h.
39520         * nptl/pthread_cancel.c: Likewise.
39521         * nptl/pthread_condattr_setclock.c: Likewise.
39522         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
39523         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
39524         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
39525         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
39526         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
39527         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
39528         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39529         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
39530         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39531         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
39532         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
39533         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
39534         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
39535         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
39536         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
39537         * nscd/gai.c: Likewise.
39538         * nss/nss_db/db-open.c: Likewise.
39539         * sysdeps/generic/ldsodefs.h: Likewise.
39540         * sysdeps/sh/nptl/tls.h: Likewise.
39541         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39542         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
39543         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
39544         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
39545         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
39546         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39547         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
39548         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39549         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39550         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
39551         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
39552         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39553         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
39554         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
39555         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
39556         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
39557         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
39558         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
39559         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
39560         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
39561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
39562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
39563         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
39564         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
39565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
39566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
39567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
39568         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
39569         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39570         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
39571         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
39572         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
39573         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
39574         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39575         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39576         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39577         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39578         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
39579         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
39580         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
39581         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39582         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
39583         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
39584         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39585         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
39586         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
39587         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
39588         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
39589         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
39590         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
39591         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
39592         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
39593         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
39594         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39595         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
39596         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39597         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39598         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
39599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
39601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
39602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
39603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
39604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
39605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
39606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
39607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
39610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
39611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
39612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
39613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
39619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
39620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
39621         * sysdeps/unix/sysv/linux/pread.c: Likewise.
39622         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
39623         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
39624         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
39625         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
39626         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
39627         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
39628         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
39629         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
39630         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
39631         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
39632         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
39633         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
39634         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
39635         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
39636         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
39637         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39638         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
39639         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
39640         * sysdeps/unix/sysv/linux/system.c: Likewise.
39641         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
39642         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
39643         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39644         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39645         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39646         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39647         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39649         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
39650         * configure: Regenerated.
39651         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
39653         * configure.ac (base_machine): Do not set specially for particular
39654         machines here.
39655         * configure: Regenerated.
39656         * sysdeps/powerpc/preconfigure: Move machine and base_machine
39657         settings from configure.ac.
39658         * sysdeps/i386/preconfigure: New file.
39659         * sysdeps/s390/preconfigure: Likewise.
39660         * sysdeps/sh/preconfigure: Likewise.
39661         * sysdeps/sparc/preconfigure: Likewise.
39663 2014-06-25  Roland McGrath  <roland@hack.frob.com>
39665         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
39666         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
39667         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
39668         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
39669         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
39670         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
39671         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
39672         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
39673         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
39674         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
39675         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
39676         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
39677         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
39678         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
39679         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
39680         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
39681         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
39682         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
39683         * sysdeps/sparc/sparc64/Makefile: ... appended here.
39685         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
39686         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
39687         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
39688         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
39689         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
39690         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
39691         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
39692         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
39693         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
39694         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
39695         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
39696         * sysdeps/sparc/sparc32/sem_post.c: ... here.
39697         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
39698         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
39699         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
39700         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
39701         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
39702         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
39703         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
39704         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
39705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
39706         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
39707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
39708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
39709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
39710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
39711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
39712         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
39713         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
39714         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
39715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
39716         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
39717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
39718         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
39719         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
39720         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
39721         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
39722         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
39724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
39725         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
39726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
39727         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
39728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39729         Moved ...
39730         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
39731         ... here.
39732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
39733         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
39734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
39735         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
39736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
39737         Moved ...
39738         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
39739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
39740         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
39741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
39742         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
39743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
39744         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
39745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39746         Moved ...
39747         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
39748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39749         Moved ...
39750         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
39751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
39752         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
39753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39754         Moved ...
39755         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
39756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
39757         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
39758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
39759         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
39760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
39761         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
39762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
39763         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
39764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39765         Moved ...
39766         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
39767         ... here.
39768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
39769         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
39770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
39771         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
39772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
39773         Moved ...
39774         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
39775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
39776         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
39777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
39778         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
39779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
39780         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
39781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39782         Moved ...
39783         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
39784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39785         Moved ...
39786         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
39787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
39788         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
39789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39790         Moved ...
39791         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
39792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
39793         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
39794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
39795         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
39797 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
39799         * timezone/checktab.awk: Update from tzcode 2014e.
39800         * timezone/private.h: Likewise.
39801         * timezone/tzfile.h: Likewise.
39802         * timezone/zdump.c: Likewise.
39803         * timezone/zic.c: Likewise.
39805         * sysdeps/unix/sysv/linux/kernel-features.h
39806         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
39807         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
39808         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
39809         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39810         Remove conditional code.
39812 2014-06-25  Will Newton  <will.newton@linaro.org>
39814         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
39815         (_dl_arm_cap_flags): Add HWCAP2 values.
39816         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
39817         (_DL_HWCAP_COUNT): Increase to 37.
39818         (_DL_HWCAP_LAST): New define.
39819         (_DL_HWCAP2_LAST): New define.
39820         (_dl_procinfo): Add support for printing
39821         AT_HWCAP2 entries.
39822         (_dl_string_hwcap): Use _dl_hwcap_string.
39824 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39828 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
39830         * README: Do not mention ports directory.
39832         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
39833         Remove macro.
39834         * sysdeps/unix/sysv/linux/futimes.c: Do not include
39835         <kernel-features.h>.
39836         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
39837         conditional variable definition.
39838         (__futimes): Update comment.
39839         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
39840         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
39842         [BZ #16560]
39843         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
39844         arguments close to 0.
39845         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
39846         Likewise.
39847         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
39848         Likewise.
39849         * math/auto-libm-test-in: Add more tests of exp10.
39850         * math/auto-libm-test-out: Regenerated.
39851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39853         * sysdeps/unix/sysv/linux/kernel-features.h
39854         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
39855         * sysdeps/unix/sysv/linux/readv.c: Do not include
39856         <kernel-features.h>.
39857         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
39858         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
39859         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
39860         unconditional.
39861         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
39862         conditional code.
39863         * sysdeps/unix/sysv/linux/writev.c: Do not include
39864         <kernel-features.h>.
39865         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
39866         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
39867         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
39868         unconditional.
39869         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
39870         conditional code.
39872 2014-06-25  Will Newton  <will.newton@linaro.org>
39874         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
39875         comment changes throughout the file.  Remove checks
39876         for HAVE_*_H definitions that are not required.
39877         (__gen_tempname): Call abort if an unknown kind value is
39878         passed.
39880 2014-06-25  Andreas Schwab  <schwab@suse.de>
39882         [BZ #17086]
39883         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
39884         scalbln, scalblnf, scalblnl in libc.
39886 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39888         [BZ #17086]
39889         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
39890         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39891         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39893 2014-06-24  Roland McGrath  <roland@hack.frob.com>
39895         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
39896         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
39897         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
39898         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
39899         Update #include.
39900         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
39901         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
39902         Update #include.
39903         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
39904         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
39905         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
39906         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
39907         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
39908         * sysdeps/x86/bits/pthreadtypes.h: ... here.
39909         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
39910         * sysdeps/x86/bits/semaphore.h: ... here.
39911         * sysdeps/x86/nptl/elide.h: Moved ...
39912         * sysdeps/x86/elide.h: ... here.
39913         * sysdeps/x86_64/nptl/Implies: File removed.
39914         * sysdeps/i386/nptl/Implies: File removed.
39916 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
39918         [BZ #16539]
39919         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
39920         return the argument for normal arguments with exponent below -64.
39921         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39922         Likewise.
39923         * math/auto-libm-test-in: Add another test of expm1.
39924         * math/auto-libm-test-out: Regenerated.
39926         [BZ #16287]
39927         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
39928         calling __erfcl for arguments at least 16.
39929         * math/auto-libm-test-in: Add more tests of erf.
39930         * math/auto-libm-test-out: Regenerated.
39932         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
39933         individual architectures.
39934         * sysdeps/unix/sysv/linux/configure: Regenerated.
39935         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
39936         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
39937         * sysdeps/unix/sysv/linux/powerpc/configure.ac
39938         (ldd_rewrite_script): Define variable.
39939         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
39941         file.
39942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
39943         generated file.
39944         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
39945         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
39946         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
39947         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
39948         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
39949         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
39950         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
39951         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
39953 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39955         [BZ #17084]
39956         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
39957         Rename member __data.d to __data.__elision_data.
39959 2014-06-24  Wilco  <wdijkstr@arm.com>
39961         * NEWS: Add 16918 to fixed bug list.
39963 2014-06-24  Wilco  <wdijkstr@arm.com>
39965         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
39967 2014-06-24  Wilco  <wdijkstr@arm.com>
39969         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
39970         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
39971         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
39972         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
39973         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
39974         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
39975         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
39976         Use _FPU_MASK_RM.
39978 2014-06-24  Wilco  <wdijkstr@arm.com>
39980         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
39982 2014-06-24  Wilco  <wdijkstr@arm.com>
39984         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
39985         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
39986         * sysdeps/arm/fesetround.c (fesetround): Remove space.
39987         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
39989 2014-06-24  Wilco  <wdijkstr@arm.com>
39991         [BZ #16918]
39992         * sysdeps/arm/feupdateenv.c (feupdateenv):
39993         Rewrite to reduce FPSCR accesses and fix return value.
39995 2014-06-24  Wilco  <wdijkstr@arm.com>
39997         * sysdeps/arm/fclrexcpt.c (feclearexcept):
39998         Optimize to avoid unnecessary FPSCR writes.
39999         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
40000         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
40001         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
40002         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
40004 2014-06-24  Wilco  <wdijkstr@arm.com>
40006         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
40007         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
40008         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
40009         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
40010         Call libc_fetestexcept_vfp.
40011         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
40012         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
40013         __SOFTFP__ ifdef so that they can be built for softfp.
40015 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40017         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
40018         argument type signed char.
40020         * Makerules (check-abi): Dump diff of symlist if the test
40021         fails.
40023 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40025         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
40026         using abort.
40028         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40029         Remove unused variable ST.
40031 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40033         [BZ #16354]
40034         [BZ #17061]
40035         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
40036         small arguments before calling __expm1.
40037         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
40038         small arguments before calling __expm1f.
40039         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
40040         small arguments before calling __expm1l.
40041         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40042         Likewise.
40043         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
40044         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
40045         spurious underflow for some cosh tests.
40046         * math/auto-libm-test-out: Regenerated.
40047         * sysdeps/i386/fpu/libm-test-ulps: Update.
40049         [BZ #17050]
40050         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40051         (__ieee754_y1): Set errno if return value overflows.
40052         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40053         (__ieee754_y1f): Set errno if return value overflows.
40054         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40055         (__ieee754_y1l): Set errno if return value overflows.
40056         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40057         (__ieee754_y1l): Set errno if return value overflows.
40058         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40059         * math/auto-libm-test-out: Regenerated.
40061         * math/gen-auto-libm-tests.c: Document use of
40062         ignore-zero-inf-sign.
40063         (input_flag_type): Add value flag_ignore_zero_inf_sign.
40064         (input_flags): Add ignore-zero-inf-sign.
40065         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40066         * math/gen-libm-test.pl (generate_testfile): Handle
40067         ignore-zero-inf-sign.
40068         * math/auto-libm-test-in: Mark some cpow tests with
40069         ignore-zero-inf-sign and some with xfail-rounding.
40070         * math/auto-libm-test-out: Regenerated.
40071         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40072         * sysdeps/i386/fpu/libm-test-ulps: Update.
40073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40075         [BZ #16315]
40076         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40077         overflowing or underflowing operations take place with sign of
40078         result.
40079         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40080         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40081         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40082         (__ieee754_pow): Recompute overflowing and underflowing results in
40083         original rounding mode.
40084         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40085         (__powl_helper): Allow negative argument X and scale negated value
40086         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40087         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40088         overflowing or underflowing operations take place with sign of
40089         result.
40090         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40091         Include <math.h>.
40092         * math/auto-libm-test-in: Add more tests of pow.
40093         * math/auto-libm-test-out: Regenerated.
40094         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40095         (pow_tonearest_test_data): Remove.
40096         (pow_test_tonearest): Likewise.
40097         (pow_towardzero_test_data): Likewise.
40098         (pow_test_towardzero): Likewise.
40099         (pow_downward_test_data): Likewise.
40100         (pow_test_downward): Likewise.
40101         (pow_upward_test_data): Likewise.
40102         (pow_test_upward): Likewise.
40103         (main): Don't call removed functions.
40104         * sysdeps/i386/fpu/libm-test-ulps: Update.
40105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40107 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40110         Moved ...
40111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40113         Moved ...
40114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40116         Moved ...
40117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40119         Moved ...
40120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40122         File removed.
40123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40124         File removed.
40125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40126         File removed.
40127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40128         File removed.
40129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40130         File removed.
40131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40132         File removed.
40133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40134         File removed.
40135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40136         File removed.
40137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40138         File removed.
40139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40140         File removed.
40141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40142         File removed.
40143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40144         File removed.
40145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40146         Moved ...
40147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40149         Moved ...
40150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40151         ... here.
40152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40153         Moved ...
40154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40156         Moved ...
40157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40159         Moved ...
40160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40162         Moved ...
40163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40165         Moved ...
40166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40168         Moved ...
40169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40171         Moved ...
40172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40175         ... here.
40176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40177         Moved ...
40178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40180         Moved ...
40181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40182         ... here.
40183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40184         Moved ...
40185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40186         ... here.
40187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40188         Moved ...
40189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40190         ... here.
40191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40192         Moved ...
40193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40195         Moved ...
40196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40200         Moved ...
40201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40202         ... here.
40203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40204         Moved ...
40205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40206         ... here.
40207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40208         Moved ...
40209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40211         Moved ...
40212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40214         Moved ...
40215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40217         Moved ...
40218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40220         Moved ...
40221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40222         ... here.
40223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40224         Moved ...
40225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40227         Moved ...
40228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40230         Moved ...
40231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40233         Moved ...
40234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40238         Moved ...
40239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40241         Moved ...
40242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40244         Moved ...
40245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40246         ... here.
40247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40248         Moved ...
40249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40250         ... here.
40251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40252         Moved ...
40253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40254         ... here.
40255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40256         Moved ...
40257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40259         Moved ...
40260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40262         Moved ...
40263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40265         Moved ...
40266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40267         ... here.
40268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40269         Moved ...
40270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40271         ... here.
40272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40273         Moved ...
40274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40275         ... here.
40276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40277         Moved ...
40278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40280         Moved ...
40281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40283 2014-06-23  Will Newton  <will.newton@linaro.org>
40284             Wilco  <wdijkstr@arm.com>
40286         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40287         implementation.  Include get-rounding-mode.h.
40288         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40289         [!libc_feholdsetround_noex_ctx]: Define
40290         libc_feholdsetround_noex_ctx.
40291         [!libc_feholdsetround_noexf_ctx]: Define
40292         libc_feholdsetround_noexf_ctx.
40293         [!libc_feholdsetround_noexl_ctx]: Define
40294         libc_feholdsetround_noexl_ctx.
40295         (libc_feholdsetround_ctx): New function.
40296         (libc_feresetround_ctx): New function.
40297         (libc_feholdsetround_noex_ctx): New function.
40298         (libc_feresetround_noex_ctx): New function.
40300 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40302         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40303         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40304         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40305         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40306         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40307         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40309         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40310         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40311         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40312         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40313         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40314         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40316         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40317         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40318         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40320         Moved ...
40321         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40322         ... here.
40323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40324         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40326         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40328         Moved ...
40329         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40331         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40333         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40335         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40336         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40337         Moved ...
40338         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40340         Moved ...
40341         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40343         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40345         Moved ...
40346         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40348         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40349         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40350         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40351         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40352         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40353         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40354         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40356         Moved ...
40357         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40358         ... here.
40359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40360         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40362         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40364         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
40366         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
40367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
40368         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
40369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
40370         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
40371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
40372         Moved ...
40373         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
40374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
40375         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
40376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
40377         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
40378         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
40379         Moved ...
40380         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
40381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
40382         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
40383         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
40384         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
40386         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
40387         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
40388         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
40389         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
40390         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
40391         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
40392         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
40393         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
40394         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
40395         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
40396         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
40397         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
40398         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
40399         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
40400         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
40401         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
40402         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
40403         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
40404         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
40405         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
40406         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
40407         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
40408         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
40409         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
40410         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
40411         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
40412         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
40413         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
40415 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40417         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
40418         (FALLOC_FL_COLLAPSE_RANGE): New macro.
40419         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
40420         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
40421         (IPV6_PMTUDISC_INTERFACE): Likewise.
40422         (IPV6_PMTUDISC_OMIT): Likewise.
40424 2014-06-23  Andreas Schwab  <schwab@suse.de>
40426         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
40427         Remove unused errout label.
40429 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40431         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
40432         macro: hardware supports Vector Crypto instructions.
40434 2014-06-23  Will Newton  <will.newton@linaro.org>
40436         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
40437         rather than __builtin_expect.
40439         * elf/dl-lookup.c (undefined_msg): Remove variable.
40440         (_dl_lookup_symbol_x): Replace undefined_msg with string
40441         literal.
40443         * elf/dl-lookup.c (do_lookup_unique): New function.
40444         (do_lookup_x): Move STB_GNU_UNIQUE handling code
40445         to a separate function.
40447 2014-06-23  Andreas Schwab  <schwab@suse.de>
40449         [BZ #17079]
40450         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
40451         before reading the next line.
40453 2014-06-23  Will Newton  <will.newton@linaro.org>
40455         * test-skeleton.c (signal_handler): Use printf and %m
40456         rather than perror.  Use printf rather than fprintf to
40457         stderr.  Use puts rather than fputs to stderr.
40458         (main): Likewise.
40460 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
40462         * nscd/nscd.c (thread_info_t): Remove typedef.
40463         (thread_info): Remove variable.
40465 2014-06-21  Allan McRae  <allan@archlinux.org>
40467         * NEWS: Mention CVE-2014-4043.
40469 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40471         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
40472         * nptl/smp.h: ... here.
40474         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
40476         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
40477         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
40478         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
40479         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
40481         * nptl/allocatestack.c: Include <stack-aliasing.h>.
40482         * nptl/stack-aliasing.h: New file.
40483         * sysdeps/i386/i686/stack-aliasing.h: New file.
40484         * sysdeps/i386/i686/nptl/Makefile: File removed.
40485         * sysdeps/x86_64/stack-aliasing.h: New file.
40486         * sysdeps/x86_64/nptl/Makefile
40487         (CFLAGS-pthread_create.c): Variable removed.
40489         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
40490         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
40491         old file.
40492         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
40493         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
40494         old file.
40496 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
40498         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40499         (__ASSUME_SIGFRAME_V2): Remove macro.
40500         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
40501         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
40502         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
40503         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
40504         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
40505         Declare as function.  Remove conditional macro definitions.
40506         (__default_rt_sa_restorer): Likewise.
40507         (__default_sa_restorer_v1): Remove declaration.
40508         (__default_sa_restorer_v2): Likewise.
40509         (__default_rt_sa_restorer_v1): Likewise.
40510         (__default_rt_sa_restorer_v2): Likewise.
40511         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
40512         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
40513         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
40515 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40517         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
40518         (libpthread-routines): Add sysdep.
40519         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
40520         * sysdeps/unix/sysv/linux/sparc/Versions
40521         (libpthread: GLIBC_2.3.3): New version set.
40522         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
40523         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
40524         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
40525         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
40526         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
40527         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
40528         Moved ...
40529         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
40530         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
40531         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
40532         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
40533         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
40534         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
40535         * sysdeps/sparc/nptl/sem_init.c: ... here.
40536         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
40537         * sysdeps/sparc/nptl/sem_post.c: ... here.
40538         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
40539         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
40540         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
40541         * sysdeps/sparc/nptl/sem_wait.c: ... here.
40542         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
40543         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
40544         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
40545         (libpthread-routines): Add cpu_relax.
40546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
40547         File removed.
40548         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
40549         (librt: GLIBC_2.3.3): New version set.
40550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
40551         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
40552         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
40553         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
40554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
40555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
40556         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
40557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
40558         Moved ...
40559         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
40560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
40561         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
40562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
40563         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
40564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
40565         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
40566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
40567         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
40568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
40569         Moved ...
40570         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
40571         Update #include.
40572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
40573         Moved ...
40574         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
40575         Update #include.
40576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
40577         Moved ...
40578         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
40579         Update #include.
40580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
40581         Moved ...
40582         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
40583         Update #include.
40584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
40585         Moved ...
40586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
40587         Update #include.
40588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
40589         Moved ...
40590         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
40591         Update #include.
40592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
40593         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
40594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
40595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
40596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
40597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
40598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
40599         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
40600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
40601         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
40602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
40603         Moved ...
40604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
40605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
40606         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
40607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
40608         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
40610 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40612         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
40613         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
40614         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
40615         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
40616         * nscd/nscd.c: Likewise.
40617         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
40618         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
40619         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
40620         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
40622         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
40623         <kernel-features.h>.
40624         (init_mq_netlink): Remove conditional have_sock_cloexec
40625         definitions.  Remove code conditional on have_sock_cloexec < 0.
40626         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
40627         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
40628         * sysdeps/unix/sysv/linux/opensock.c: Do not include
40629         <kernel-features.h>.
40630         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
40631         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
40633 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
40635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40636         Add tests for memset_chk and memset.
40638         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
40639         with AVX2_Usable.
40641 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
40643         [BZ #16046]
40644         * elf/tst-dl-iter-static.c: New file.
40645         * elf/Makefile (tests-static): Add tst-dl-iter-static.
40647         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
40648         error.
40650 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40652         * sysdeps/unix/sysv/linux/kernel-features.h
40653         (__ASSUME_F_GETOWN_EX): Remove macro.
40654         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
40655         <kernel-features.h>.
40656         (miss_F_GETOWN_EX): Remove variable or macro.
40657         (do_fcntl): Do not check miss_F_GETOWN_EX.
40658         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
40660         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
40661         Remove macro.
40662         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
40663         [!__ASSUME_AT_RANDOM]: Remove conditional code.
40664         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
40666         * sysdeps/unix/sysv/linux/kernel-features.h
40667         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
40668         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
40669         [ADJ_OFFSET_SS_READ]: Make code unconditional.
40670         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
40672 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
40674         [BZ #17075]
40675         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
40676         Fix calculation of the symbol's value.
40677         * sysdeps/arm/tst-armtlsdescloc.c: New file.
40678         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
40679         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
40680         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
40681         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
40682         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
40683         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
40684         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
40685         (modules-names): Add `tst-armtlsdescmod',
40686         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
40687         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
40688         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
40689         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
40690         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
40691         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
40692         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
40693         ($(objpfx)tst-armtlsdescloc): New dependency.
40694         ($(objpfx)tst-armtlsdescextnow): Likewise.
40695         ($(objpfx)tst-armtlsdescextlazy): Likewise.
40696         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
40697         TLS scheme support.
40698         * sysdeps/arm/configure: Regenerate.
40700 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40702         * include/fcntl.h (__atfct_seterrno): Remove prototype.
40703         (__atfct_seterrno_2): Likewise.
40704         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
40705         <kernel-features.h>.
40706         (__ASSUME_ATFCTS): Do not undefine and redefine.
40707         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
40708         (__have_atfcts): Remove conditional definition.
40709         (__fxstatat([__NR_fstatat64]: Make code unconditional.
40710         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
40711         unreachable if [__ASSUME_ATFCTS].
40712         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
40713         not undefine and redefine.
40714         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
40715         <kernel-features.h>.
40716         (faccessat) [__NR_faccessat]: Make code unconditional.
40717         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
40718         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
40719         <kernel-features.h>.
40720         (fchmodat) [__NR_fchmodat]: Make code unconditional.
40721         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
40722         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
40723         <kernel-features.h>.
40724         (fchownat) [__NR_fchownat]: Make code unconditional.
40725         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
40726         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
40727         <kernel-features.h>.
40728         (futimesat) [__NR_futimesat]: Make code unconditional.
40729         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
40730         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40731         <kernel-features.h>.
40732         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
40733         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40734         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40735         <kernel-features.h>.
40736         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
40737         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
40738         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
40739         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40740         <kernel-features.h>.
40741         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
40742         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40743         * sysdeps/unix/sysv/linux/linkat.c: Do not include
40744         <kernel-features.h>.
40745         (linkat) [__NR_linkat]: Make code unconditional.
40746         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40747         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
40748         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
40749         <kernel-features.h>.
40750         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
40751         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
40752         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
40753         <kernel-features.h>.
40754         (mkdirat) [__NR_mkdirat]: Make code unconditional.
40755         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
40756         * sysdeps/unix/sysv/linux/openat.c: Do not include
40757         <kernel-features.h>.
40758         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
40759         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
40760         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
40761         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
40762         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
40763         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
40764         <kernel-features.h>.
40765         (readlinkat) [__NR_readlinkat]: Make code unconditional.
40766         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
40767         result of INLINE_SYSCALL directly, not via int variable.
40768         * sysdeps/unix/sysv/linux/renameat.c: Do not include
40769         <kernel-features.h>.
40770         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
40771         (renameat) [__NR_renameat]: Make code unconditional.
40772         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
40773         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
40774         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
40775         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
40776         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
40777         (__ASSUME_ATFCTS): Do not undefine and redefine.
40778         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
40779         <kernel-features.h>.
40780         (symlinkat) [__NR_symlinkat]: Make code unconditional.
40781         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40782         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
40783         <kernel-features.h>.
40784         (unlinkat) [__NR_unlinkat]: Make code unconditional.
40785         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40786         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
40787         (__ASSUME_ATFCTS): Do not undefine and redefine.
40788         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40789         <kernel-features.h>.
40790         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
40791         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40792         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40793         <kernel-features.h>.
40794         (__xmknodat) [__NR_mknodat]: Make code unconditional.
40795         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
40797 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
40799         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
40801 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
40803         [BZ #17069]
40804         * posix/regcomp.c (parse_reg_exp): Deallocate partially
40805         constructed tree before returning error.
40806         * posix/bug-regexp36.c: Expand test case.
40808 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
40810         [BZ #6803]
40811         * math/libm-test.inc (scalbln_test_date):
40812         Add errno expectations.
40813         * math/w_scalblnf.c: New File.
40814         Add wrapper which checks for setting errno to ERANGE.
40815         Add weak_alias for corresponding scalbln function.
40816         * math/w_scalbln.c: Likewise.
40817         * math/w_scalblnl.c: Likewise.
40818         * math/Makefile (libm-calls): Add w_scalbln.
40819         * sysdeps/ieee754/flt-32/s_scalblnf.c:
40820         Remove weak_alias for corresponding scalbln function.
40821         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40822         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40823         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40824         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40825         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
40826         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40827         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
40828         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40829         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
40830         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
40831         Remove long_double_symbol for scalblnl function in libm, libc.
40832         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
40833         Add wrapper which checks for setting errno to ERANGE.
40834         Add long_double_symbol for scalblnl function in libm, libc.
40835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
40836         Remove long_double_symbol for scalblnl in libm.
40837         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
40838         Add wrapper which checks for setting errno to ERANGE.
40839         Add long_double_symbol for scalblnl function in libm.
40840         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
40841         Do not use wrapper because of own implementation.
40843 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
40845         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
40846         3 bytes for __pad1 for x32.
40847         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
40849 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
40850             H.J. Lu  <hongjiu.lu@intel.com>
40852         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
40853         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
40854         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40856         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
40858 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
40860         [BZ #17069]
40861         * posix/regcomp.c (parse_expression): Deallocate partially
40862         constructed tree before returning error.
40863         * posix/Makefile.c (tests): Add bug-regex36.
40864         (generated): Add bug-regex36.mtrace.
40865         (tests-special): Add $(objpfx)bug-regex36-mem.out
40866         (bug-regex36-ENV): New variable.
40867         ($(objpfx)bug-regex36-mem.out): New rule.
40868         * posix/bug-regex36.c: New file.
40870 2014-06-19  Will Newton  <will.newton@linaro.org>
40872         * malloc/malloc.c (systrim): If extra is zero then return
40873         early.
40875 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40877         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
40879 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
40881         * sysdeps/aarch64/strchr.S: New file.
40883 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
40885         [BZ #17022]
40886         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
40887         from arguments -2 or below.
40888         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40889         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
40891 2014-06-18  Andreas Schwab  <schwab@suse.de>
40893         [BZ #17062]
40894         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
40895         of a bracket expr not to run off the end of the string.
40896         * posix/Makefile (tests): Add tst-fnmatch3.
40897         * posix/tst-fnmatch3.c: New file.
40899 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
40901         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
40902         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40903         [$(cross-compiling) = no]: Likewise.
40904         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40905         [$(cross-compiling) = no]: Likewise.
40907 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40909         [BZ #17031]
40910         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
40911         double, adjusted for any remainder from the high double.
40912         * math/libm-test.inc (nearbyint): Add tests.
40913         (rint): Likewise.
40915 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40917         * nptl/sysdeps/powerpc/Makefile: Moved ...
40918         * sysdeps/powerpc/nptl/Makefile: ... here.
40919         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
40920         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
40921         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
40922         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
40923         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
40924         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
40925         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
40926         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
40927         * nptl/sysdeps/powerpc/tls.h: Moved ...
40928         * sysdeps/powerpc/nptl/tls.h: ... here.
40930 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
40932         [BZ #16681]
40933         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
40934         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
40935         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
40936         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
40937         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
40938         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
40939         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
40940         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
40941         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
40943 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
40945         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40947 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
40949         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
40950         defined operator.
40952         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
40953         $TIMEOUTFACTOR.
40955 2014-06-16  Florian Weimer  <fweimer@redhat.com>
40957         [BZ #17058]
40958         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
40959         non-executed part of the test.
40961 2014-06-16  Andreas Schwab  <schwab@suse.de>
40963         * string/bits/string2.h (strdup, strndup): Update feature guard.
40965 2014-06-14  David S. Miller  <davem@davemloft.net>
40967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40969 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
40971         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
40972         that was previously under [RESET_PID].
40973         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
40975         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
40976         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
40977         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
40978         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40979         (__libc_vfork): New strong alias.
40980         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
40982 2014-06-14 Andi Kleen  <ak@linux.intel.com>
40984         * sysdeps/generic/elide.h: New file.
40986 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40988         * Makefile (installed-headers): Adjust path of pthread.h header.
40990 2014-06-13  Roland McGrath  <roland@hack.frob.com>
40992         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
40993         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
40994         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
40995         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
40997         * nptl/sysdeps/s390/Makefile: Moved ...
40998         * sysdeps/s390/nptl/Makefile: ... here.
40999         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
41000         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41001         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
41002         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
41003         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
41004         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
41005         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
41006         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
41007         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
41008         * sysdeps/s390/nptl/pthreaddef.h: ... here.
41009         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
41010         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
41011         * nptl/sysdeps/s390/tls.h: Moved ...
41012         * sysdeps/s390/nptl/tls.h: ... here.
41014         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
41015         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
41017 2014-06-13  David S. Miller  <davem@davemloft.net>
41019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
41020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
41021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41022         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
41023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
41024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
41025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41026         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
41027         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
41028         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
41029         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41030         Remove RESET_PID cpp guards.
41031         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
41032         Remove RESET_PID cpp guards.
41033         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
41035 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
41037         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
41038         __sp to uintptr_t.
41040 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41042         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
41043         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
41044         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
41045         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
41046         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
41047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
41048         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
41049         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41050         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41051         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41053         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41054         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41055         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41056         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41058         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41059         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41060         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41061         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41063         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41064         (pthread_rwlock_rdlock): Add elision.
41065         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41066         (pthread_rwlock_wrlock): Add elision.
41067         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41068         (pthread_rwlock_trywrlock): Add elision.
41069         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41070         (pthread_rwlock_tryrdlock): Add elision.
41071         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41072         (pthread_rwlock_tryrdlock): Add elision unlock.
41073         * nptl/sysdeps/pthread/pthread.h:
41074         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41075         (PTHREAD_RWLOCK_INITIALIZER,
41076         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41077         Handle new elision field.
41078         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41079         * sysdeps/arm/nptl/bits/pthreadtypes.h
41080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41081         * sysdeps/sh/nptl/bits/pthreadtypes.h
41082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41083         * sysdeps/tile/nptl/bits/pthreadtypes.h
41084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41085         * sysdeps/a/nptl/bits/pthreadtypes.h
41086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41087         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41089         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41091         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41093         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41095         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41097         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41099         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41101         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41103         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41104         (elision_init): Set try_xbegin to zero when no RTM.
41105         * sysdeps/x86/nptl/bits/pthreadtypes.h
41106         (pthread_rwlock_t): Change __pad1 to __rwelision.
41107         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41109 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41111         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41112         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41113         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41114         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41116 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41118         [BZ #16996]
41119         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41120         that the cached result has been set before returning it.
41122 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41124         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41125         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41126         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41127         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41128         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41129         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41131         * nptl/sysdeps/sparc/Makefile: Moved ...
41132         * sysdeps/sparc/nptl/Makefile: ... here.
41133         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41134         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41135         * nptl/sysdeps/sparc/tls.h: Moved ...
41136         * sysdeps/sparc/nptl/tls.h: ... here.
41137         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41138         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41139         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41140         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41141         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41142         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41143         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41144         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41145         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41146         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41147         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41148         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41149         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41150         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41151         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41152         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41153         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41154         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41155         Update #include.
41156         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41157         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41158         Update #include.
41159         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41160         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41161         Update #include.
41162         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41163         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41164         Update #include.
41166         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41168         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41169         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41171         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41172         (struct list_links): Type removed.
41173         (struct thread_node, struct timer_node): Replace struct list_links
41174         with struct list_head.
41175         (list_unlink_ip): Likewise.
41176         * sysdeps/pthread/timer_routines.c
41177         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41178         (list_append, list_insbefore): Likewise.
41179         (list_init): Function removed.
41180         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41181         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41182         * sysdeps/pthread/Makefile: ... here, new file.
41184         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41185         * sysdeps/nptl/Implies: ... here.
41186         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41187         * nptl/sysdeps/pthread/list.h: Moved ...
41188         * include/list.h: ... here.
41189         * nptl/sysdeps/pthread/createthread.c: Moved ...
41190         * nptl/createthread.c: ... here.
41191         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41192         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41193         * nptl/pt-longjmp.c: ... here.
41194         * nptl/sysdeps/pthread/Makefile: Moved ...
41195         * sysdeps/nptl/Makefile: ... here.
41196         * nptl/sysdeps/pthread/Subdirs: Moved ...
41197         * sysdeps/nptl/Subdirs: ... here.
41198         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41199         * sysdeps/nptl/aio_misc.h: ... here.
41200         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41201         * sysdeps/nptl/bits/libc-lock.h: ... here.
41202         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41203         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41204         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41205         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41206         * nptl/sysdeps/pthread/configure: Moved ...
41207         * sysdeps/nptl/configure: ... here.
41208         * nptl/sysdeps/pthread/configure.ac: Moved ...
41209         * sysdeps/nptl/configure.ac: ... here.
41210         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41211         * sysdeps/nptl/gai_misc.h: ... here.
41212         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41213         * sysdeps/nptl/librt-cancellation.c: ... here.
41214         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41215         * sysdeps/nptl/malloc-machine.h: ... here.
41216         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41217         * sysdeps/nptl/pthread-functions.h: ... here.
41218         * nptl/sysdeps/pthread/pthread.h: Moved ...
41219         * sysdeps/nptl/pthread.h: ... here.
41220         * nptl/sysdeps/pthread/setxid.h: Moved ...
41221         * sysdeps/nptl/setxid.h: ... here.
41222         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41223         * sysdeps/nptl/sigfillset.c: ... here.
41224         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41225         * sysdeps/nptl/tcb-offsets.h: ... here.
41226         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41227         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41228         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41229         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41230         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41231         * sysdeps/pthread/allocalim.h: ... here.
41232         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41233         * sysdeps/pthread/bits/sigthread.h: ... here.
41234         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41235         * sysdeps/pthread/flockfile.c: ... here.
41236         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41237         * sysdeps/pthread/ftrylockfile.c: ... here.
41238         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41239         * sysdeps/pthread/funlockfile.c: ... here.
41240         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41241         * sysdeps/pthread/posix-timer.h: ... here.
41242         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41243         * sysdeps/pthread/timer_create.c: ... here.
41244         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41245         * sysdeps/pthread/timer_delete.c: ... here.
41246         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41247         * sysdeps/pthread/timer_getoverr.c: ... here.
41248         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41249         * sysdeps/pthread/timer_gettime.c: ... here.
41250         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41251         * sysdeps/pthread/timer_routines.c: ... here.
41252         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41253         * sysdeps/pthread/timer_settime.c: ... here.
41254         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41255         * sysdeps/pthread/tst-timer.c: ... here.
41256         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41257         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41259         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41260         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41262         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41263         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41264         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41265         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41266         Update #include target.
41267         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41268         * sysdeps/i386/i686/nptl/Makefile: ... here.
41269         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41270         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41271         Update #include target.
41272         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41273         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41274         * nptl/sysdeps/i386/Makefile: Moved ...
41275         * sysdeps/i386/nptl/Makefile: ... here.
41276         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41277         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41278         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41279         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41280         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41281         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41282         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41283         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41284         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41285         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41286         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41287         * nptl/sysdeps/i386/tls.h: Moved ...
41288         * sysdeps/i386/nptl/tls.h: ... here.
41290         * sysdeps/sh/Makefile [$(subdir) = csu]
41291         (gen-as-const-headers): Add tcb-offsets.sym.
41292         * nptl/sysdeps/sh/Makefile: File removed.
41293         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41294         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41295         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41296         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41297         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41298         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41299         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41300         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41301         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41302         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41303         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41304         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41305         * nptl/sysdeps/sh/tls.h: Moved ...
41306         * sysdeps/sh/nptl/tls.h: ... here.
41307         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41308         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41309         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41310         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41311         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41312         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41313         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41314         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41315         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41316         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41318         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41320         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41322         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41324         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41326         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41328         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41330         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41332         Moved ...
41333         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41334         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41335         Moved ...
41336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41341         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41342         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41343         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41344         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41345         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41346         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41347         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41348         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41349         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41350         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41351         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41352         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41353         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41354         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41356 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41358         * posix/spawn_faction_addopen.c: Include string.h.
41360 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41362         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41363         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41364         * nptl/sysdeps/x86_64/Makefile: Moved ...
41365         * sysdeps/x86_64/nptl/Makefile: ... here.
41366         * nptl/sysdeps/x86_64/configure: Moved ...
41367         * sysdeps/x86_64/nptl/configure: ... here.
41368         * nptl/sysdeps/x86_64/configure.ac: Moved ...
41369         * sysdeps/x86_64/nptl/configure.ac: ... here.
41370         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
41371         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
41372         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
41373         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
41374         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
41375         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
41376         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
41377         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
41378         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
41379         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
41380         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
41381         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
41382         * nptl/sysdeps/x86_64/tls.h: Moved ...
41383         * sysdeps/x86_64/nptl/tls.h: ... here.
41384         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
41385         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
41386         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
41387         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
41389         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
41391 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41395 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
41397         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
41398         type.
41399         [POSIX] (off_t): Likewise.
41400         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
41401         [POSIX] (S_ISBLK): Require macro.
41402         [POSIX] (S_ISCHR): Likewise.
41403         [POSIX] (S_ISDIR): Likewise.
41404         [POSIX] (S_ISFIFO): Likewise.
41405         [POSIX] (S_ISREG): Likewise.
41406         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
41407         optional-macro.
41408         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
41409         type.
41410         [POSIX] (time_t): Likewise.
41411         [POSIX] (timer_t): Likewise.
41413 2014-06-11  Florian Weimer  <fweimer@redhat.com>
41415         [BZ #17048]
41416         * posix/spawn_int.h (struct __spawn_action): Make the path string
41417         non-const to support deallocation.
41418         * posix/spawn_faction_addopen.c
41419         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
41420         * posix/spawn_faction_destroy.c
41421         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
41422         path in all spawn_do_open actions.
41423         * posix/tst-spawn.c (do_test): Exercise the copy operation in
41424         posix_spawn_file_actions_addopen.
41426 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
41428         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
41429         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
41430         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
41431         conditional code always true.
41432         (__libc_vfork): New alias.
41434 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41436         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41437         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
41439         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
41441         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41442         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
41444         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41445         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
41447         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41448         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
41450 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41452         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
41453         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
41454         multiarch strcmp for PPC64.
41455         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
41456         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
41457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
41458         multiarch optimizations.
41459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41460         (__libc_ifunc_impl_list): Likewise.
41462 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41464         * benchtests/scripts/validate_benchout.py: New script.
41465         * benchtests/Makefile (bench-func): Call it.
41466         * benchtests/scripts/benchout.schema.json: New file.
41468 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
41470         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
41471         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
41472         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
41473         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
41474         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
41475         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
41476         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
41477         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
41478         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
41479         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
41480         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
41481         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
41482         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
41483         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
41484         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
41485         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
41486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
41487         Moved ...
41488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
41489         ... here.
41490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
41491         Moved ...
41492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
41493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
41494         Moved ...
41495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
41496         ... here.
41497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
41498         Moved ...
41499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
41500         ... here.
41501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
41502         Moved ...
41503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
41504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
41505         Moved ...
41506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
41507         ... here.
41508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
41509         Moved ...
41510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
41511         ... here.
41512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
41513         Moved ...
41514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
41515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
41516         Moved ...
41517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
41518         ... here.
41519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
41520         Moved ...
41521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
41522         ... here.
41523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
41524         Moved ...
41525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
41526         ... here.
41527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
41528         Moved ...
41529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
41530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
41531         Moved ...
41532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
41533         ... here.
41534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
41535         Moved ...
41536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
41537         ... here.
41538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
41539         Moved ...
41540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
41541         ... here.
41542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
41543         Moved ...
41544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
41545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
41546         Moved ...
41547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
41548         ... here.
41549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
41550         Moved ...
41551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
41552         ... here.
41553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
41554         Moved ...
41555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
41556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
41557         Moved ...
41558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
41559         ... here.
41560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
41561         Moved ...
41562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
41563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
41564         Moved ...
41565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
41566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
41567         Moved ...
41568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
41569         ... here.
41570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
41571         Moved ...
41572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
41573         ... here.
41574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
41575         Moved ...
41576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
41577         ... here.
41578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
41579         Moved ...
41580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
41581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
41582         Moved ...
41583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
41584         ... here.
41585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
41586         Moved ...
41587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
41588         ... here.
41589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
41590         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
41591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
41592         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
41593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
41594         Moved ...
41595         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
41596         ... here.
41597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
41598         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
41599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
41600         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
41601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
41602         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
41603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
41604         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
41605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
41606         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
41607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
41608         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
41609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
41610         Moved ...
41611         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
41612         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
41613         Moved ...
41614         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
41615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
41616         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
41617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
41618         Moved ...
41619         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
41620         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
41621         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
41622         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
41623         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
41624         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
41625         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
41627 2014-06-10  Wilco  <wdijkstr@arm.com>
41629         * math/test-fenv-return.c: New file.
41630         * math/Makefile: Add new test test-fenv-return.
41632 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
41634         [BZ #17042]
41635         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
41636         when x - 1 is zero.
41637         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
41638         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
41639         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
41640         0.0L for an argument of 1.0L.
41641         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
41642         Likewise.
41643         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
41644         value when x - 1 is zero.
41645         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
41646         * sysdeps/i386/fpu/libm-test-ulps: Update.
41647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41649 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
41651         [BZ #15119]
41652         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
41654 2014-06-09  Roland McGrath  <roland@hack.frob.com>
41656         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
41657         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
41659 2014-06-09  Roland McGrath  <roland@hack.frob.com>
41661         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41662         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
41664         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41665         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
41667         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41668         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
41670         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41671         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
41673         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
41674         if not already defined.
41675         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
41676         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
41677         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
41678         (TLS_INIT_TP): Use it.
41679         (TLS_DEFINE_INIT_TP): New macro.
41680         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
41682 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
41684         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
41685         constant.
41686         [POSIX] (IXANY): Likewise.
41687         [POSIX] (OLCUC): Likewise.
41688         [POSIX || POSIX2008] (CBAUD): Do not allow.
41689         [POSIX || POSIX2008] (DEFECHO): Likewise.
41690         [POSIX || POSIX2008] (ECHOCTL): Likewise.
41691         [POSIX || POSIX2008] (ECHOKE): Likewise.
41692         [POSIX || POSIX2008] (ECHOPRT): Likewise.
41693         [POSIX || POSIX2008] (EXTA): Likewise.
41694         [POSIX || POSIX2008] (EXTB): Likewise.
41695         [POSIX || POSIX2008] (FLUSHO): Likewise.
41696         [POSIX || POSIX2008] (LOBLK): Likewise.
41697         [POSIX || POSIX2008] (PENDIN): Likewise.
41698         [POSIX || POSIX2008] (SWTCH): Likewise.
41699         [POSIX || POSIX2008] (VDISCARD): Likewise.
41700         [POSIX || POSIX2008] (VDSUSP): Likewise.
41701         [POSIX || POSIX2008] (VLNEXT): Likewise.
41702         [POSIX || POSIX2008] (VREPRINT): Likewise.
41703         [POSIX || POSIX2008] (VSTATUS): Likewise.
41704         [POSIX || POSIX2008] (VWERASE): Likewise.
41705         (B*): Change to B[0123456789]*.
41706         * conform/data/time.h-data [POSIX || UNIX98]
41707         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
41708         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41709         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
41710         [POSIX] (tm_*): Do not allow.
41712 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
41714         * Makefile (install): Don't set LANGUAGE.
41715         * Makefile.in (install): Likewise.
41716         * assert/Makefile (test-assert-ENV): Remove variable.
41717         (test-assert-perr-ENV): Likewise.
41718         * elf/Makefile (neededtest4-ENV): Likewise.
41719         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41720         [$(cross-compiling) = no]: Don't set LANGUAGE.
41721         * io/ftwtest-sh (LANG): Remove variable.
41722         * libio/Makefile (tst-widetext-ENV): Likewise.
41723         * manual/install.texi (Running make install): Don't refer to
41724         environment settings for make install.
41725         * INSTALL: Regenerated.
41726         * nptl/tst-tls6.sh: Don't set LANG.
41727         * posix/globtest.sh (LANG): Remove variable.
41728         * string/Makefile (tester-ENV): Likewise.
41729         (inl-tester-ENV): Likewise.
41730         (noinl-tester-ENV): Likewise.
41731         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41732         [$(cross-compiling) = no]: Don't set LANGUAGE.
41733         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
41734         without explicit environment settings.
41736 2014-06-06  Roland McGrath  <roland@hack.frob.com>
41738         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
41739         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
41740         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
41741         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
41743 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
41745         * crypt/crypt-private.h [DOS]: Add some includes taken from the
41746         other files in the crypt directory.
41747         * crypt/crypt.c: Remove duplicate includes.
41748         * crypt/crypt-entry.c: Likewise.
41749         * crypt/crypt_util.c: Likewise.
41751 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
41753         * Makeconfig (run-program-env): New variable.
41754         (run-program-prefix-before-env): Likewise.
41755         (run-program-prefix-after-env): Likewise.
41756         (run-program-prefix): Define in terms of new variables.
41757         (built-program-cmd-before-env): New variable.
41758         (built-program-cmd-after-env): Likewise.
41759         (built-program-cmd): Define in terms of new variables.
41760         (test-program-prefix-before-env): New variable.
41761         (test-program-prefix-after-env): Likewise.
41762         (test-program-prefix): Define in terms of new variables.
41763         (test-program-cmd-before-env): New variable.
41764         (test-program-cmd-after-env): Likewise.
41765         (test-program-cmd): Define in terms of new variables.
41766         * Rules (make-test-out): Use $(run-program-env).
41767         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
41768         (help): Do not mention environment variables.  Mention
41769         --timeoutfactor option.
41770         (timeoutfactor): New variable.
41771         (blacklist_exports): Remove function.
41772         (exports): Remove variable.
41773         (command): Do not include ${exports}.
41774         * manual/install.texi (Configuring and compiling): Do not mention
41775         test wrappers preserving environment variables.  Mention that last
41776         assignment to a variable must take precedence.
41777         * INSTALL: Regenerated.
41778         * benchtests/Makefile (run-bench): Use $(run-program-env).
41779         * catgets/Makefile ($(objpfx)test1.cat): Use
41780         $(built-program-cmd-before-env), $(run-program-env) and
41781         $(built-program-cmd-after-env).
41782         ($(objpfx)test2.cat): Do not specify environment variables
41783         explicitly.
41784         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
41785         $(run-program-env) and $(built-program-cmd-after-env).
41786         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
41787         $(run-program-env) and $(test-program-cmd-after-env).
41788         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
41789         explicitly.
41790         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
41791         run_program_env and test_program_cmd_after_env arguments.
41792         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
41793         * elf/tst-pathopt.sh: Use run_program_env argument.
41794         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
41795         $(test-wrapper-env) and $(run-program-env).
41796         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
41797         run_program_env arguments.
41798         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
41799         * intl/Makefile ($(objpfx)tst-gettext.out): Use
41800         $(test-program-prefix-before-env), $(run-program-env) and
41801         $(test-program-prefix-after-env).
41802         ($(objpfx)tst-gettext2.out): Likewise.
41803         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
41804         run_program_env and test_program_prefix_after_env arguments.
41805         * intl/tst-gettext2.sh: Likewise.
41806         * intl/tst-gettext4.sh: Do not set environment variables
41807         explicitly.
41808         * intl/tst-gettext6.sh: Likewise.
41809         * intl/tst-translit.sh: Likewise.
41810         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
41811         $(test-program-prefix-before-env), $(run-program-env) and
41812         $(test-program-prefix-after-env).
41813         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
41814         run_program_env and test_program_prefix_after_env arguments.
41815         * math/Makefile (run-regen-ulps): Use $(run-program-env).
41816         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
41817         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
41818         explicitly with each use of ${test_wrapper_env}.
41819         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
41820         $(test-program-prefix-before-env), $(run-program-env) and
41821         $(test-program-prefix-after-env).
41822         * posix/tst-getconf.sh: Do not set environment variables
41823         explicitly.
41824         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
41825         run_program_env and test_program_prefix_after_env arguments.
41826         * stdio-common/tst-printf.sh: Do not set environment variables
41827         explicitly.
41828         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
41829         $(test-program-prefix-before-env), $(run-program-env) and
41830         $(test-program-prefix-after-env).
41831         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
41832         run_program_env and test_program_prefix_after_env arguments.
41833         Split $test calls into $test_pre and $test.
41834         * timezone/Makefile (build-testdata): Use
41835         $(built-program-cmd-before-env), $(run-program-env) and
41836         $(built-program-cmd-after-env).
41838 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41840         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
41841         strlen for non SHARED builds.
41843 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41845         * nptl/allocatestack.c (check_list): Inlined function...
41846         (__reclaim_stacks): ... here.
41848 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
41850         [BZ #15698]
41851         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
41852         memory overrun.
41854 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
41856         * Rules (make-test-out): Include
41857         LOCPATH=$(common-objpfx)localedata in default environment.
41858         * debug/Makefile (tst-chk1-ENV): Remove variable.
41859         (tst-chk2-ENV): Likewise.
41860         (tst-chk3-ENV): Likewise.
41861         (tst-chk4-ENV): Likewise.
41862         (tst-chk5-ENV): Likewise.
41863         (tst-chk6-ENV): Likewise.
41864         (tst-lfschk1-ENV): Likewise.
41865         (tst-lfschk2-ENV): Likewise.
41866         (tst-lfschk3-ENV): Likewise.
41867         (tst-lfschk4-ENV): Likewise.
41868         (tst-lfschk5-ENV): Likewise.
41869         (tst-lfschk6-ENV): Likewise.
41870         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
41871         (tst-iconv7-ENV): Likewise.
41872         * intl/Makefile (LOCPATH-ENV): Likewise.
41873         (tst-codeset-ENV): Likewise.
41874         (tst-gettext3-ENV): Likewise.
41875         (tst-gettext5-ENV): Likewise.
41876         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
41877         (tst-fopenloc-ENV): Likewise.
41878         (tst-fgetws-ENV): Remove variable.
41879         (tst-ungetwc1-ENV): Likewise.
41880         (tst-ungetwc2-ENV): Likewise.
41881         (bug-ungetwc2-ENV): Likewise.
41882         (tst-swscanf-ENV): Likewise.
41883         (bug-ftell-ENV): Likewise.
41884         (tst-fgetwc-ENV): Likewise.
41885         (tst-fseek-ENV): Likewise.
41886         (tst-ftell-partial-wide-ENV): Likewise.
41887         (tst-ftell-active-handler-ENV): Likewise.
41888         (tst-ftell-append-ENV): Likewise.
41889         * posix/Makefile (tst-fnmatch-ENV): Likewise.
41890         (tst-regexloc-ENV): Likewise.
41891         (bug-regex1-ENV): Likewise.
41892         (tst-regex-ENV): Likewise.
41893         (tst-regex2-ENV): Likewise.
41894         (bug-regex5-ENV): Likewise.
41895         (bug-regex6-ENV): Likewise.
41896         (bug-regex17-ENV): Likewise.
41897         (bug-regex18-ENV): Likewise.
41898         (bug-regex19-ENV): Likewise.
41899         (bug-regex20-ENV): Likewise.
41900         (bug-regex22-ENV): Likewise.
41901         (bug-regex23-ENV): Likewise.
41902         (bug-regex25-ENV): Likewise.
41903         (bug-regex26-ENV): Likewise.
41904         (bug-regex30-ENV): Likewise.
41905         (bug-regex32-ENV): Likewise.
41906         (bug-regex33-ENV): Likewise.
41907         (bug-regex34-ENV): Likewise.
41908         (bug-regex35-ENV): Likewise.
41909         (tst-rxspencer-ENV): Likewise.
41910         (tst-rxspencer-no-utf8-ENV): Likewise.
41911         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
41912         (tst-sscanf-ENV): Likewise.
41913         (tst-swprintf-ENV): Likewise.
41914         (tst-swscanf-ENV): Likewise.
41915         (test-vfprintf-ENV): Likewise.
41916         (scanf13-ENV): Likewise.
41917         (bug14-ENV): Likewise.
41918         (tst-grouping-ENV): Likewise.
41919         * stdlib/Makefile (tst-strtod-ENV): Likewise.
41920         (tst-strtod3-ENV): Likewise.
41921         (tst-strtod4-ENV): Likewise.
41922         (tst-strtod5-ENV): Likewise.
41923         (testmb2-ENV): Likewise./
41924         * string/Makefile (tst-strxfrm-ENV): Likewise.
41925         (tst-strxfrm2-ENV): Likewise.
41926         (bug-strcoll1-ENV): Likewise.
41927         (test-strcasecmp-ENV): Likewise.
41928         (test-strncasecmp-ENV): Likewise.
41929         * time/Makefile (tst-strptime-ENV): Likewise.
41930         (tst-ftime_l-ENV): Likewise.
41931         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
41932         (tst-mbrtowc-ENV): Likewise.
41933         (tst-wcrtomb-ENV): Likewise.
41934         (tst-mbrtowc2-ENV): Likewise.
41935         (tst-c16c32-1-ENV): Likewise.
41936         (tst-mbsnrtowcs-ENV): Likewise.
41938 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
41940         * manual/resource.texi (How to get information about the memory
41941         subsystem?): Fix typo.
41942         Reported by Peon de la Parra Ivan <peon@keba.com>
41944 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
41946         [BZ #16882]
41947         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
41948         (pthread_spin_lock): Branch out of spin loop to proper location.
41949         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
41950         (pthread_spin_lock): Likewise.
41952         * nptl/tst-spin4.c: New test.
41953         * nptl/Makefile (tests): Add tst-spin4.
41955 2014-06-03  Andreas Schwab  <schwab@suse.de>
41957         [BZ #15946]
41958         * resolv/res_send.c (send_dg): Reload file descriptor after
41959         calling reopen.
41961 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
41963         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41965 2014-06-03  Richard Henderson  <rth@redhat.com>
41967         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
41968         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
41969         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
41970         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
41971         in the SAVE_PID block.
41972         (__libc_vfork): New alias.
41973         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
41975         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
41976         child in registers, not on the stack.  Remove RESET_PID conditionals.
41977         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
41979 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41981         * sysdeps/aarch64/libm-test-ulps: Regenerate.
41983 2014-06-03  Wilco  <wdijkstr@arm.com>
41985         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
41986         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
41987         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41988         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
41989         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
41990         Likewise.
41992 2014-06-03  Wilco  <wdijkstr@arm.com>
41994         * sysdeps/aarch64/fpu/math_private.h
41995         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
41996         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
41997         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
41998         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41999         Fix declarations.
42001 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42003         * crypt/crypt-private.h: Include ufc-crypt.h.
42004         (__b64_from_24bit): Declare extern.
42005         * crypt/crypt_util.c(__b64_from_24bit): New function.
42006         (b64t): New static const variable.
42007         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
42008         (b64t): Remove variable.
42009         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
42010         * crypt/sha256-crypt.c: Include crypt-private.h.
42011         (b64t): Remove variable.
42012         (__sha256_crypt_r): Remove b64_from_24bit and replace
42013         with __b64_from_24bit.
42014         * crypt/sha512-crypt.c: Likewise.
42016 2014-06-02  Roland McGrath  <roland@hack.frob.com>
42018         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
42019         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42020         Label the code __libc_vfork rather than __vfork.
42021         [!NOT_IN_libc] (vfork): Define as weak alias.
42022         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
42023         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
42024         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
42026 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42028         * malloc/malloc.c (malloc_info): Fix format specifier for
42029         n_mmaps.
42031 2014-06-02  Wilco  <wdijkstr@arm.com>
42033         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
42034         FPCR write.
42036 2014-06-02  Wilco  <wdijkstr@arm.com>
42038         [BZ #17009]
42039         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
42040         Rewrite to reduce FPCR/FPSR accesses.
42042 2014-06-01  David S. Miller  <davem@davemloft.net>
42044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42046 2014-05-31  David S. Miller  <davem@davemloft.net>
42048         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
42049         to occur in round to nearest mode when |x| >= 2.0
42051 2014-05-30  Richard Henderson  <rth@twiddle.net>
42053         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42054         (PSEUDO_RET_NOERRNO): Remove.
42055         (ret): Don't redefine.
42056         (ret_NOERRNO): Define in terms of ret.
42057         (ret_ERRVAL): Likewise.
42059         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42060         use of PSEUDO_RET; perform the error check directly.
42062 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
42064         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42065         with __int128_t.
42067 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42069         * malloc/malloc (malloc_info): Fix formatting.
42071 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42072             Roland McGrath  <roland@hack.frob.com>
42074         * malloc/malloc (malloc_info): Also print mmapped statistics.
42076 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42078         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42079         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42081 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42083         * malloc/malloc.c (malloc_info): Inline mi_arena.
42085 2014-05-29  Richard Henderson  <rth@twiddle.net>
42087         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42088         Remove comma before expanding ASM_ARGS_##nr.
42089         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42090         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42091         of ASM_ARGS_##nr.
42092         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42093         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42094         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42095         (ASM_ARGS_1): Add leading comma.
42097         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42098         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42099         to __errno_location.
42100         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42101         Remove the expected plt for __errno_location.
42103         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42104         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42105         call to __read_tp.
42107         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42108         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42109         it and break it down.
42110         (DOCARGS_0, DOCARGS_1): Do nothing.
42111         (DOCARGS_2): Update to store into the new stack frame.
42112         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42113         (UNDOCARGS_1): Update to restore from the new stack frame.
42114         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42115         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42118         (SINGLE_THREAD_P): New parameter for result regno.
42119         (PSEUDO): Update to match; use cbz instead of beq.
42121         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42122         Use ENTRY to define the _nocancel entry point.  Share the syscall
42123         and syscall error check paths with the cancel path.
42124         (PSEUDO_END): New.
42126         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42127         whitespace; tabs before and after asm mnemonics.
42129 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42131         [BZ #15132]
42132         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42133         Call fstat64 or stat64 internally, depending on arguments passed.
42134         Replace stat buffer argument with file descriptor argument.
42135         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42136         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42137         Pass fd to __internal_statvfs instead of calling fstat64.
42138         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42139         Pass fd to __internal_statvfs64 instead of calling fstat64.
42140         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42141         Pass -1 to __internal_statvfs instead of calling stat64.
42142         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42143         Pass -1 to __internal_statvfs64 instead of calling stat64.
42145 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42147         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42148         that was previously under [RESET_PID].
42149         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42151         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42152         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42154 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42156         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42158         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42159         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42161 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42163         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42165 2014-05-27  Andreas Schwab  <schwab@suse.de>
42167         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42168         TLS_INIT_TP macro.
42169         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42170         * elf/rtld.c (init_tls, dl_main): Likewise.
42171         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42172         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42173         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42174         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42175         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42176         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42177         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42178         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42179         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42180         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42181         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42182         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42183         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42184         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42185         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42186         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42187         * sysdeps/generic/tls.h: Update description.
42189 2014-05-27  Will Newton  <will.newton@linaro.org>
42191         [BZ #16990]
42192         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42193         and restore r2 rather than just restoring.
42195 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42197         [BZ #16724]
42198         * libio/tst-ftell-append.c: New test case.
42199         * libio/Makefile (tests): Add test case.
42200         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42201         append mode.
42202         * libio/wfileops.c (do_ftell_wide): Likewise.
42204 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42208         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42209         ...
42210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42212         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42213         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42214         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42215         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42216         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42217         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42218         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42219         Moved ...
42220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42222         Moved ...
42223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42224         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42225         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42226         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42227         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42228         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42229         ...
42230         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42231         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42232         Moved ...
42233         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42234         here.
42235         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42236         ...
42237         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42238         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42239         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42241         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42242         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42243         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42244         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42247         merge into ...
42248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42249         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42250         ...
42251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42253         ...
42254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42256         Moved ...
42257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42258         here.
42259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42260         Moved ...
42261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42263         Moved ...
42264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42267         conditional [RESET_PID].
42268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42270         removed.
42271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42272         removed.
42274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42275         <tcb-offsets.h>.
42276         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42277         (__libc_vfork): New strong alias.
42278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42279         removed.
42280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42281         Removed.
42283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42284         <tcb-offsets.h>.
42285         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42286         (__libc_vfork): New strong alias.
42287         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42288         removed.
42289         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42290         removed.
42292 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42294         * malloc/malloc.c (mi_arena): New function.
42295         (malloc_info): Remove nested function mi_arena. Call non-nosted
42296         function mi_arena.
42298 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42300         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42301         by insrwi.
42302         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42303         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42304         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42305         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42306         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42307         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42308         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42310 2014-05-26  Andreas Schwab  <schwab@suse.de>
42312         [BZ #16984]
42313         * locale/programs/repertoire.c (repertoire_read): Add slash
42314         between I18NPATH element and file name.
42315         * locale/programs/locfile.c (locfile_read): Likewise.
42317 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42319         * nptl/pthread_mutexattr_settype.c
42320         (__pthread_mutexattr_settype):
42321         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42323 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42325         * nptl/tst-mutex5 (do_test):
42326         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42328 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42330         * benchtests/README: Document 'init' directive.
42331         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42332         BENCH_INIT.
42333         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42334         (parse_file): Recognize 'init' directive.
42336 2014-05-26  Kyle McMartin  <kyle@redhat.com>
42338         [BZ #16796]
42339         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42340         alignment of struct pthread.
42342 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42344         [BZ #16878]
42345         * nscd/netgroupcache.c (addgetnetgrentX): Look for
42346         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42347         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42348         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42350 2014-05-25  Richard Henderson  <rth@twiddle.net>
42352         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42353         (SINGLE_THREAD_P_PIC): Remove.
42354         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42355         (SINGLE_THREAD_P_PIC): Remove.
42357         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42358         branch to syscall error ...
42359         (PSEUDO): ... here.
42360         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42361         from __local_syscall_error to .Lsyscall_error.
42362         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42363         (SYSCALL_ERROR): Update label name.
42365         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42366         Do not use DOARGS/UNDOARGS.
42367         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
42368         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
42369         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
42370         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
42371         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
42373         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
42374         block comment.
42376         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
42377         define if !NOT_IN_libc.
42378         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
42379         define with non-default symbol versions.
42381 2014-05-23  Richard Henderson  <rth@twiddle.net>
42383         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
42384         (vfork, __vfork): Define via compat_symbol.
42386         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
42387         [!HAVE_IFUNC] (vfork_compat): Remove.
42388         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
42390 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42392         [BZ #16978]
42393         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
42394         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
42395         variable.
42397 2014-05-23  Richard Henderson  <rth@twiddle.net>
42399         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
42400         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
42401         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
42402         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
42404         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
42405         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
42406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
42407         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
42408         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
42409         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
42410         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
42411         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
42412         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
42413         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
42414         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
42415         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
42416         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
42417         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
42418         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
42419         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
42420         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
42421         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
42422         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
42423         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
42424         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
42425         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
42426         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
42427         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
42428         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
42429         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
42430         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
42431         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
42432         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
42433         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
42434         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
42435         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
42436         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
42437         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
42438         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
42439         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
42440         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
42441         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
42442         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
42443         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
42444         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
42445         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
42446         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
42447         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
42448         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
42449         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
42450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
42451         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
42452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
42453         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
42454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
42455         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
42456         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
42457         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
42458         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
42459         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
42461         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
42462         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
42463         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
42464         before exiting on error.
42465         (__libc_vfork): New strong alias.
42466         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
42467         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
42469         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
42470         that was previously under [RESET_PID].
42471         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
42473         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
42475 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42477         [BZ #16977]
42478         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
42479         value when x - 1 is zero.
42480         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
42481         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
42482         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
42483         0.0L for an argument of 1.0L.
42484         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
42485         Likewise.
42486         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
42487         value when x - 1 is zero.
42488         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
42489         * sysdeps/i386/fpu/libm-test-ulps: Update.
42490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42492 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42494         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
42495         alphasort and versionsort.
42497 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42499         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
42500         macro.
42501         [copysignf]: Likewise.
42503 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42505         * crypt/md5-crypt.c: Fix formatting.
42507 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42509         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
42510         (b64_from_24bit): New function.
42512 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42514         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
42515         libc_hidden_builtin_def to ifunc.
42516         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42517         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
42519 2014-05-21  Roland McGrath  <roland@hack.frob.com>
42521         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
42522         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
42524 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
42526         * nscd/Depend (linuxthreads): Remove.
42527         (nptl): Add.
42528         * resolv/Depend (linuxthreads): Remove.
42529         * rt/Depend (linuxthreads): Remove.
42531         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
42532         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
42533         $(common-objpfx)elf/.
42534         (link-libc-before-gnulib): Likewise.
42535         (elfobjdir): Remove variable.
42536         * Makefile (install): Use $(elf-objpfx) instead of
42537         $(common-objpfx)elf/.
42538         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
42539         $(elfobjdir)/.
42540         (link-libc-deps): Likewise.
42541         ($(common-objpfx)libc.so): Likewise.
42542         ($(common-objpfx)linkobj/libc.so): Likewise.
42543         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
42544         instead of $(common-objpfx)elf/.
42545         (symbolic-link-list): Likewise.
42546         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42547         [$(cross-compiling) = no]: Likewise.
42548         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
42549         $(elfobjdir)/.
42550         (static-gnulib-arch): Likewise.
42551         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42552         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
42553         $(common-objpfx)elf/.
42555 2014-05-21  Richard Henderson  <rth@redhat.com>
42557         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42558         (SINGLE_THREAD_P): Use the correct width load.  Fold
42559         into the ldr offset.
42561         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
42562         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
42564 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
42566         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
42567         (libgcc_s_resume): Use __attribute_used__.
42568         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
42569         Likewise.
42571 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42573         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
42574         optimization when used with float constants.
42576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42578 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
42580         [BZ #16915]
42581         * locale/nl_langinfo_l.c: Make direct reference to every
42582         _nl_current_CATEGORY symbol.
42583         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
42584         (tests-static): Add tst-langinfo-static.
42585         (tests-special): Add tst-langinfo-static.out.
42586         ($(objpfx)tst-langinfo.out): Redirect output.
42587         ($(objpfx)tst-langinfo-static.out): New.
42588         * localedata/tst-langinfo.sh: Send output to stdout.
42589         * localedata/tst-langinfo-static.c: New file.
42591         [BZ #16965]
42592         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
42593         when the shift amount is modulo the limb size.
42595 2014-05-20  Richard Henderson  <rth@redhat.com>
42597         [BZ #16967]
42598         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
42599         Change type of sa_flags from unsigned int to int.
42601         [BZ #16966]
42602         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
42604         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
42606 2014-05-20  Will Newton  <will.newton@linaro.org>
42608         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42609         Test the return value of the system call in the nocancel case.
42611 2014-05-20  Will Newton  <will.newton@linaro.org>
42612             Yvan Roux  <yvan.roux@linaro.org>
42614         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
42615         #include of asm/ptrace.h.
42616         (PTRACE_GET_THREAD_AREA): Remove #undef.
42617         (PTRACE_GETHBPREGS): Likewise.
42618         (PTRACE_SETHBPREGS): Likewise.
42619         (struct user_regs_struct): New structure.
42620         (struct user_fpsimd_struct): New structure.
42621         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
42622         #include of asm/ptrace.h and second #include of sys/user.h.
42623         (PTRACE_GET_THREAD_AREA): Remove #undef.
42624         (PTRACE_GETHBPREGS): Likewise.
42625         (PTRACE_SETHBPREGS): Likewise.
42626         (ELF_NGREG): Use new struct user_regs_struct.
42627         (elf_fpregset_t): Use new struct user_fpsimd_struct.
42629 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42631         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
42632         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
42634 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
42636         [BZ #16958]
42637         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
42638         membar to avoid block loads/stores to overlap previous stores.
42640 2014-05-17  Richard Henderson  <rth@redhat.com>
42642         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
42643         Create the __##syscall_name##_nocancel entry point.
42644         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
42645         Remove; let the sysdep-cancel.h code create it.
42647 2014-05-17  David S. Miller  <davem@davemloft.net>
42649         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
42650         Protect with __USE_GNU.
42651         (TIOCSET_TEMPT): Likewise.
42652         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42653         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
42654         these are already provided in bits/ioctl-types.h
42656 2014-05-16  Roland McGrath  <roland@hack.frob.com>
42658         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
42659         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
42661         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
42662         Use wait4 regardless of [__NR_waitpid].
42664 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42666         PR libgcc/60166
42667         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42668         (_FP_NANSIGN_Q): Set the quiet bit.
42670 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
42672         * benchtests/Makefile
42673         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
42674         not $(common-objpfx)math/libm.so.
42675         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
42676         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
42677         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
42678         $(common-objpfx)dlfcn/libdl.so.
42679         ($(objpfx)tst-audit8): Depend on $(libm), not
42680         $(common-objpfx)math/libm.so.
42681         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
42682         not $(common-objpfx)dlfcn/libdl.so.
42683         * math/Makefile
42684         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42685         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
42686         [$(build-shared) = yes].
42687         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
42688         $(common-objpfx)nptl/libpthread.so.
42689         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
42690         $(common-objpfx)math/libm.so$(libm.so-version) or
42691         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
42692         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
42693         $(common-objpfx)dlfcn/libdl.so.
42694         * setjmp/Makefile (link-libm): Remove variable.
42695         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
42696         * stdio-common/Makefile (link-libm): Remove variable.
42697         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
42698         * stdlib/Makefile (link-libm): Remove variable.
42699         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
42700         ($(objpfx)tst-strtod-round): Likewise.
42701         ($(objpfx)tst-tininess): Likewise.
42702         ($(objpfx)tst-strtod-underflow): Likewise.
42703         ($(objpfx)tst-strtod6): Likewise.
42704         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
42705         $(libdl), not $(common-objpfx)nptl/libpthread.so and
42706         $(common-objpfx)dlfcn/libdl.so.
42708 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42710         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
42711         BSD terminal modes definitions.
42713 2014-05-16  Roland McGrath  <roland@hack.frob.com>
42715         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
42716         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
42718         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
42719         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
42720         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
42721         Don't do #include_next.
42722         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
42723         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
42724         Don't do #include_next.
42725         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
42726         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
42727         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
42728         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
42730 2014-05-16  Allan McRae  <allan@archlinux.org>
42732         * po/sv.po: Update Swedish translation from translation project.
42734         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
42735         in sed expression.
42737 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
42739         [BZ #16917]
42740         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
42741         errno if the TIOCGPTN ioctl fails with an error different than
42742         EINVAL.
42743         * login/tst-ptsname.c: New file.
42744         * login/Makefile (tests): Add tst-ptsname.
42746         [BZ #16943]
42747         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
42748         and prlimit64.
42750 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42752         [BZ #16849]
42753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
42754         herrno to return EAI_AGAIN.
42756 2014-05-14  Roland McGrath  <roland@hack.frob.com>
42758         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
42759         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
42760         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
42761         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
42762         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
42763         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
42764         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
42765         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
42766         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
42767         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
42768         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
42769         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
42770         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
42771         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
42772         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
42773         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
42774         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
42775         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
42776         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
42777         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
42778         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
42779         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
42780         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
42781         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
42782         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
42783         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
42784         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
42785         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
42786         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
42787         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
42788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
42789         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
42790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
42791         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
42792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42793         Moved ...
42794         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
42795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
42796         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
42797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
42798         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
42799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
42800         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
42801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
42802         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
42803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
42804         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
42805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
42806         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
42807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
42808         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
42809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
42810         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
42811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
42812         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
42813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
42814         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
42815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
42816         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
42817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
42818         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
42819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
42820         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
42821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42822         Moved ...
42823         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
42824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
42825         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
42826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
42827         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
42828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
42829         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
42830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
42831         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
42832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
42833         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
42834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
42835         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
42836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
42837         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
42838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
42839         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
42840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
42841         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
42842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42843         Moved ...
42844         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
42845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
42846         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
42848         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
42849         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
42850         (libpthread-sysdep_routines): Add elision-related stuff here instead.
42851         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
42852         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
42853         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
42854         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
42855         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
42856         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
42857         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
42858         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
42859         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
42860         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
42861         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
42862         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
42863         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
42864         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
42865         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
42866         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
42867         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
42868         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
42869         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
42870         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
42871         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
42872         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
42873         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
42874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
42875         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
42876         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
42877         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
42878         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
42880         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
42881         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
42883         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
42884         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
42885         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
42886         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
42887         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
42888         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
42889         Moved ...
42890         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
42891         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
42892         Moved ...
42893         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
42894         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
42895         Moved ...
42896         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
42897         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
42898         Moved ...
42899         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
42900         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
42901         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
42902         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
42903         Moved ...
42904         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
42905         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
42906         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
42907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
42908         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
42909         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
42910         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
42911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
42912         Moved ...
42913         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
42914         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
42915         Moved ...
42916         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
42917         ... here.
42918         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
42919         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
42920         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
42921         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
42922         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
42923         Moved ...
42924         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
42925         ... here.
42926         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
42927         Moved ...
42928         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
42929         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
42930         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
42931         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
42932         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
42933         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
42934         Moved ...
42935         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
42936         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
42937         Moved ...
42938         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
42939         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
42940         Moved ...
42941         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
42942         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
42943         Moved ...
42944         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
42945         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
42946         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
42947         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
42948         Moved ...
42949         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
42950         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
42951         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
42952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
42953         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
42954         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
42955         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
42956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
42957         Moved ...
42958         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
42959         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42960         Moved ...
42961         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42962         ... here.
42963         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
42964         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
42965         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
42966         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
42967         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42968         Moved ...
42969         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42970         ... here.
42971         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
42972         Moved ...
42973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
42974         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
42975         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
42976         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
42977         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
42978         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
42979         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
42980         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
42981         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
42982         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
42983         Moved ...
42984         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
42985         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
42986         Moved ...
42987         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
42988         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
42989         Moved ...
42990         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
42991         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
42992         Moved ...
42993         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
42994         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
42995         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
42996         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
42997         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
42998         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
42999         Moved ...
43000         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
43001         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
43002         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
43003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
43004         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
43005         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
43006         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
43007         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
43008         Moved ...
43009         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
43010         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43011         Moved ...
43012         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43013         ... here.
43014         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
43015         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
43016         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
43017         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
43018         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43019         Moved ...
43020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43021         ... here.
43022         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
43023         Moved ...
43024         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
43025         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
43026         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
43027         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
43028         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
43029         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
43030         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
43031         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
43032         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
43033         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
43034         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
43036         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
43037         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
43039         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
43040         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
43042         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
43043         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
43044         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
43045         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
43046         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
43047         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
43048         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
43049         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43050         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43051         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43052         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43053         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43054         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43055         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43056         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43058         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43060         Moved ...
43061         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43063         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43065         Moved ...
43066         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43068         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43070         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43072         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43073         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43074         Moved ...
43075         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43077         Moved ...
43078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43080         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43084         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43085         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43086         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43087         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43088         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43089         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43090         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43091         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43092         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43093         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43094         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43096         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43097         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43098         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43099         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43100         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43102         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43103         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43104         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43105         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43106         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43107         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43108         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43109         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43110         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43111         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43113         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43116         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43117         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43118         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43119         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43120         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43121         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43122         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43123         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43125         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43126         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43127         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43128         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43129         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43131         Update #include.
43132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43133         Likewise.
43134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43135         Likewise.
43136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43137         Likewise.
43138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43139         Likewise.
43140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43141         Likewise.
43142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43143         Likewise.
43144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43145         Likewise.
43146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43147         Likewise.
43148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43149         Likewise.
43150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43152         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43153         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43156         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43157         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43158         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43159         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43161         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43162         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43163         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43164         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43166         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43167         that was previously under [RESET_PID].
43168         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43169         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43170         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43172         * sysdeps/i386/nptl/Implies: New file.
43173         * sysdeps/x86_64/nptl/Implies: New file.
43174         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43175         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43176         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43177         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43179         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43180         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43181         (__libc_vfork): New strong alias.
43182         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43183         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43185         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43186         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43187         (__libc_vfork): New strong alias.
43188         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43189         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43191         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43192         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43193         (__libc_vfork): New strong alias.
43194         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43195         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43196         * nptl/pt-vfork.c: New file.
43197         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43198         (libpthread: GLIBC_2.20): New version set (empty).
43200 2014-05-14  Will Newton  <will.newton@linaro.org>
43202         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43203         rather than #if.
43205 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43207         [BZ #16564]
43208         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43209         arguments with exponent 65 or above.
43210         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43211         arguments 0x1p113L or above.
43212         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43213         to arguments 0x1p107L or above.
43214         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43215         positive arguments with exponent 65 or above.
43216         * math/auto-libm-test-in: Add more tests of log1p.
43217         * math/auto-libm-test-out: Regenerated.
43219         [BZ #16928]
43220         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43221         non-finite arguments is +0.
43222         * math/s_cacosf.c (__cacosf): Likewise.
43223         * math/s_cacosl.c (__cacosl): Likewise.
43224         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43225         * sysdeps/i386/fpu/libm-test-ulps: Update.
43226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43228         [BZ #16927]
43229         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43230         value.
43231         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43232         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43233         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43234         for explicit high bit of mantissa when testing for argument equal
43235         to 1.
43236         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43237         * sysdeps/i386/fpu/libm-test-ulps: Update.
43238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43240         [BZ #16516]
43241         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43242         (__erf): Scale by 16 instead of 8 in potentially underflowing
43243         case.  Ensure exception if result actually underflows.
43244         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43245         (__erff): Scale by 16 instead of 8 in potentially underflowing
43246         case.  Ensure exception if result actually underflows.
43247         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43248         (efx8): Remove variable.
43249         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43250         case.  Ensure exception if result actually underflows.
43251         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43252         (efx8): Remove variable.
43253         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43254         case.  Ensure exception if result actually underflows.
43255         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43256         (efx8): Remove variable.
43257         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43258         case.  Ensure exception if result actually underflows.
43259         * math/auto-libm-test-in: Add more tests of erf.
43260         * math/auto-libm-test-out: Regenerated.
43262 2014-05-14  Andreas Schwab  <schwab@suse.de>
43264         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43265         Remove code conditionalized on USE___THREAD.
43267         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43268         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43269         not definedness.
43271 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43273         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43274         Define unconditionally.
43275         (__ASSUME_O_CLOEXEC): Likewise.
43276         (__ASSUME_SOCK_CLOEXEC): Likewise.
43277         (__ASSUME_IN_NONBLOCK): Likewise.
43278         (__ASSUME_PIPE2): Likewise.
43279         (__ASSUME_EVENTFD2): Likewise.
43280         (__ASSUME_SIGNALFD4): Likewise.
43281         (__ASSUME_DUP3): Likewise.
43282         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43283         (__ASSUME_DUP3): Do not define.
43284         (__ASSUME_EVENTFD2): Likewise.
43285         (__ASSUME_IN_NONBLOCK): Likewise.
43286         (__ASSUME_O_CLOEXEC): Likewise.
43287         (__ASSUME_PIPE2): Likewise.
43288         (__ASSUME_SIGNALFD4): Likewise.
43289         (__ASSUME_SOCK_CLOEXEC): Likewise.
43290         (__ASSUME_UTIMES): Undefine.
43291         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43292         (__ASSUME_UTIMES): Do not define.
43293         (__ASSUME_O_CLOEXEC): Likewise.
43294         (__ASSUME_SOCK_CLOEXEC): Likewise.
43295         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43296         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43297         0x020621].
43298         (__ASSUME_PIPE2): Likewise.
43299         (__ASSUME_EVENTFD2): Likewise.
43300         (__ASSUME_SIGNALFD4): Likewise.
43301         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43302         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43303         Do not define.
43304         (__ASSUME_EVENTFD2): Likewise.
43305         (__ASSUME_SIGNALFD4): Likewise.
43306         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43307         (__ASSUME_32BITUIDS): Likewise.
43308         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43309         (__ASSUME_IPC64): Likewise.
43310         (__ASSUME_ST_INO_64_BIT): Likewise.
43311         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43312         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43313         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43314         (__ASSUME_UTIMES): Do not define.
43315         (__ASSUME_PSELECT): Likewise.
43316         (__ASSUME_PPOLL): Likewise.
43317         (__ASSUME_O_CLOEXEC): Likewise.
43318         (__ASSUME_SOCK_CLOEXEC): Likewise.
43319         (__ASSUME_IN_NONBLOCK): Likewise.
43320         (__ASSUME_PIPE2): Likewise.
43321         (__ASSUME_EVENTFD2): Likewise.
43322         (__ASSUME_SIGNALFD4): Likewise.
43323         (__ASSUME_DUP3): Likewise.
43324         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43325         (__ASSUME_UTIMES): Likewise.
43326         (__ASSUME_O_CLOEXEC): Likewise.
43327         (__ASSUME_SOCK_CLOEXEC): Likewise.
43328         (__ASSUME_IN_NONBLOCK): Likewise.
43329         (__ASSUME_PIPE2): Likewise.
43330         (__ASSUME_EVENTFD2): Likewise.
43331         (__ASSUME_SIGNALFD4): Likewise.
43332         (__ASSUME_DUP3): Likewise.
43333         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43334         (__ASSUME_UTIMES): Likewise.
43335         (__ASSUME_O_CLOEXEC): Likewise.
43336         (__ASSUME_SOCK_CLOEXEC): Likewise.
43337         (__ASSUME_IN_NONBLOCK): Likewise.
43338         (__ASSUME_PIPE2): Likewise.
43339         (__ASSUME_EVENTFD2): Likewise.
43340         (__ASSUME_SIGNALFD4): Likewise.
43341         (__ASSUME_DUP3): Likewise.
43342         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
43343         Likewise.
43344         (__ASSUME_UTIMES): Likewise.
43345         (__ASSUME_EVENTFD2): Likewise.
43346         (__ASSUME_SIGNALFD4): Likewise.
43347         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43348         (__ASSUME_O_CLOEXEC): Likewise.
43349         (__ASSUME_SOCK_CLOEXEC): Likewise.
43350         (__ASSUME_IN_NONBLOCK): Likewise.
43351         (__ASSUME_PIPE2): Likewise.
43352         (__ASSUME_EVENTFD2): Likewise.
43353         (__ASSUME_SIGNALFD4): Likewise.
43354         (__ASSUME_DUP3): Likewise.
43355         (__ASSUME_UTIMES): Undefine.
43357         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43358         feclearexcept.  Remove symbol versioning code.
43359         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
43360         symbol versioning code.
43361         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
43362         symbol versioning code.
43363         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43364         feupdateenv.  Remove symbol versioning code.
43365         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
43366         fegetexceptflag.  Remove symbol versioning code.
43367         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
43368         fesetexceptflag.  Remove symbol versioning code.
43369         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
43370         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
43371         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
43372         (__posix_fadvise64_l32): Remove prototype.
43373         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
43374         code.
43376 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43378         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
43379         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
43380         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
43381         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
43383 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
43385         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
43386         current working directory
43388 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43390         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
43391         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
43392         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
43393         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
43394         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
43395         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
43396         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
43397         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
43398         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
43399         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
43400         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
43401         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
43402         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
43403         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
43404         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
43405         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
43406         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
43407         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
43408         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
43409         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
43410         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
43411         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
43412         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
43413         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
43414         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
43415         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
43416         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
43417         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
43418         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
43419         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
43420         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
43421         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
43422         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
43423         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
43424         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
43425         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
43426         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
43427         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
43428         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
43429         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
43430         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
43431         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
43433         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
43434         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
43436         * sysdeps/unix/sysv/linux/arm/Makefile
43437         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
43438         Add rt-aeabi_unwind_cpp_pr1.
43439         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
43440         Add nptl-aeabi_unwind_cpp_pr1.
43441         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
43442         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
43443         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
43444         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43445         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
43446         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43448         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
43449         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
43450         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
43451         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
43453         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
43454         Deconditionalize the code that was previously under [RESET_PID].
43455         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
43457         * sysdeps/generic/exit-thread.h: New file.
43458         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
43459         * include/unistd.h (__exit_thread): Remove declaration.
43460         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
43461         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
43462         * csu/libc-start.c: Include <exit-thread.h>.
43463         (LIBC_START_MAIN): Pass no argument to __exit_thread.
43464         * nptl/pthread_create.c: Include <exit-thread.h>.
43465         (start_thread): Call __exit_thread in place of __exit_thread_inline.
43466         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
43467         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
43468         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
43469         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
43470         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
43471         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
43472         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
43473         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
43474         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
43475         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
43476         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
43477         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
43478         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
43479         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
43480         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
43481         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
43483 2014-05-13  Andreas Schwab  <schwab@suse.de>
43485         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
43487 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
43489         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43490         (__ASSUME_UTIMES): Do not condition on kernel version.
43491         (__ASSUME_PSELECT): Define unconditionally.
43492         (__ASSUME_PPOLL): Likewise.
43493         (__ASSUME_ATFCTS): Likewise.
43494         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
43495         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
43496         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
43497         (__ASSUME_UTIMENSAT): Define unconditionally.
43498         (__ASSUME_PRIVATE_FUTEX): Likewise.
43499         (__ASSUME_FALLOCATE): Likewise.
43500         (__ASSUME_O_CLOEXEC): Likewise.
43501         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
43502         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
43503         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
43504         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
43505         (__ASSUME_IN_NONBLOCK): Likewise.
43506         (__ASSUME_PIPE2): Likewise.
43507         (__ASSUME_EVENTFD2): Likewise.
43508         (__ASSUME_SIGNALFD4): Likewise.
43509         (__ASSUME_DUP3): Likewise.
43510         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43511         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
43512         (__ASSUME_AT_RANDOM): Likewise.
43513         (__ASSUME_PREADV): Likewise.
43514         (__ASSUME_PWRITEV): Likewise.
43515         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
43516         (__ASSUME_F_GETOWN_EX): Define unconditionally.
43517         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
43518         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43519         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
43520         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43521         (__ASSUME_O_CLOEXEC): Define unconditionally.
43522         (__ASSUME_PSELECT): Do not undefine conditionally.
43523         (__ASSUME_PPOLL): Likewise.
43524         (__ASSUME_ATFCTS): Likewise.
43525         (__ASSUME_SET_ROBUST_LIST): Likewise.
43526         (__ASSUME_UTIMENSAT): Likewise.
43527         (__ASSUME_FDATASYNC): Define unconditionally.
43528         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43529         (__ASSUME_SIGFRAME_V2): Likewise.
43530         )__ASSUME_EVENTFD2): Likewise.
43531         (__ASSUME_SIGNALFD4): Likewise.
43532         (__ASSUME_PSELECT): Do not undefine conditionally.
43533         (__ASSUME_PPOLL): Likewise.
43534         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43535         (__ASSUME_PSELECT): Define unconditionally.
43536         (__ASSUME_PPOLL): Likewise.
43537         (__ASSUME_O_CLOEXEC): Likewise.
43538         (__ASSUME_SOCK_CLOEXEC): Likewise.
43539         (__ASSUME_IN_NONBLOCK): Likewise.
43540         (__ASSUME_PIPE2): Likewise.
43541         (__ASSUME_EVENTFD2): Likewise.
43542         (__ASSUME_SIGNALFD4): Likewise.
43543         (__ASSUME_DUP3): Likewise.
43544         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43545         (__ASSUME_O_CLOEXEC): Likewise.
43546         (__ASSUME_SOCK_CLOEXEC): Likewise.
43547         (__ASSUME_IN_NONBLOCK): Likewise.
43548         (__ASSUME_PIPE2): Likewise.
43549         (__ASSUME_EVENTFD2): Likewise.
43550         (__ASSUME_SIGNALFD4): Likewise.
43551         (__ASSUME_DUP3): Likewise.
43552         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43553         (__ASSUME_EVENTFD2): Likewise.
43554         (__ASSUME_SIGNALFD4): Likewise.
43555         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43557 2014-05-12  Andreas Schwab  <schwab@suse.de>
43559         [BZ #16932]
43560         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
43561         (_nss_nis_gethostbyname4_r): Return error if item length is larger
43562         than maximum RPC packet size.
43563         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
43564         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
43565         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
43566         (_nss_nis_getservbyport_r): Likewise.
43568 2014-05-12  Will Newton  <will.newton@linaro.org>
43570         * malloc/Makefile (tests): Add tst-mallopt.
43571         * malloc/tst-mallopt.c: New file.
43573 2014-05-09  Roland McGrath  <roland@hack.frob.com>
43575         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
43576         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
43578 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43580         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
43581         (tst-tlsmod6.so): Likewise.
43583 2014-05-09  Roland McGrath  <roland@hack.frob.com>
43585         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
43587 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
43589         [BZ #16064]
43590         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
43591         and <dl-procinfo.h>.
43592         (__fegetenv): Save SSE state in envp->__eip if supported.
43593         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
43594         envp->__eip if supported.
43595         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
43596         and <dl-procinfo.h>.
43597         (__fesetenv): Always set __eip, __cs_selector, __opcode,
43598         __data_offset and __data_selector in environment to 0.  Set SSE
43599         state if supported.
43600         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
43601         test-fenv-sse.
43602         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
43603         -mfpmath=sse.
43604         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
43606 2014-05-09  Will Newton  <will.newton@linaro.org>
43608         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
43609         and libc_relro_required for ARM.
43610         * sysdeps/arm/preconfigure: Regenerate.
43612 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
43613             Stefan Liebler  <stli@linux.vnet.ibm.com>
43615         * config.make.in (enable-lock-elision): New Makefile variable.
43616         * configure.ac: Likewise.
43617         * configure: Regenerate.
43618         * sysdeps/s390/configure.ac:
43619         Add check for gcc transactions support.
43620         * sysdeps/s390/configure: Regenerate.
43621         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
43622         Build elision files if enabled.
43623         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
43624         Add lock elision support for s390.
43625         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
43626         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
43627         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
43628         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
43629         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
43630         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
43631         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43632         Likewise.
43633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
43634         Likewise.
43635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
43636         Likewise.
43637         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
43638         Likewise.
43639         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
43640         (__lll_timedlock_elision, __lll_lock_elision)
43641         (__lll_unlock_elision, __lll_trylock_elision)
43642         (lll_timedlock_elision, lll_lock_elision)
43643         (lll_unlock_elision, lll_trylock_elision): Add.
43644         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43645         (pthread_mutex_t): Add lock elision support for s390.
43647 2014-05-14  Wilco  <wdijkstr@arm.com>
43649         * sysdeps/arm/fclrexcpt.c: Cleanup.
43650         * sysdeps/arm/fedisblxcpt.c: Cleanup.
43651         * sysdeps/arm/feenablxcpt.c: Cleanup.
43652         * sysdeps/arm/fegetenv.c: Cleanup.
43653         * sysdeps/arm/fegetexcept.c: Cleanup.
43654         * sysdeps/arm/fegetround.c: Cleanup.
43655         * sysdeps/arm/feholdexcpt.c: Cleanup.
43656         * sysdeps/arm/fesetenv.c: Cleanup.
43657         * sysdeps/arm/fesetround.c: Cleanup.
43658         * sysdeps/arm/feupdateenv.c: Cleanup.
43659         * sysdeps/arm/fgetexcptflg.c: Cleanup.
43660         * sysdeps/arm/fraiseexcpt.c: Cleanup.
43661         * sysdeps/arm/fsetexcptflg.c: Cleanup.
43662         * sysdeps/arm/ftestexcept.c: Cleanup.
43663         * sysdeps/arm/get-rounding-mode.h: Cleanup.
43664         * sysdeps/arm/setfpucw.c: Cleanup.
43666 2014-05-09  Will Newton  <will.newton@linaro.org>
43668         * sysdeps/arm/armv7/strcmp.S: New file.
43669         * NEWS: Mention addition of ARMv7 optimized strcmp.
43671 2014-05-08  Roland McGrath  <roland@hack.frob.com>
43673         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
43674         look for %.ac rather than %.in.
43676         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
43677         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
43678         * sysdeps/mach/hurd/configure: Regenerated.
43679         * sysdeps/unix/sysv/linux/configure: Regenerated.
43681         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
43683 2014-05-07  Steve Ellcey  <sellcey@mips.com>
43685         [BZ# 16922]
43686         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
43687         (LONG_SUB): Ditto.
43688         (PTR_SUB): Ditto.
43690 2014-05-07  Andreas Schwab  <schwab@suse.de>
43692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
43693         when skipping over non-matching result from nscd.
43695 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
43697         [BZ #16876]
43698         * nptl/sockperf.c (client): Check socket return value.
43700         [BZ #16877]
43701         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
43702         nscd security class.
43704 2014-05-06  Roland McGrath  <roland@hack.frob.com>
43706         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
43707         * sysdeps/arm/unwind.h: ... here.
43709 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
43711         [BZ# 16916]
43712         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
43713         Define.
43715 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43717         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
43718         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
43719         multiarch strncpy for PPC64.
43720         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
43721         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
43722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
43723         multiarch optimizations.
43724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43725         (__libc_ifunc_impl_list): Likewise.
43726         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
43727         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
43728         multiarch stpncpy for PPC64.
43729         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
43730         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
43732 2014-05-06  Andreas Schwab  <schwab@suse.de>
43734         [BZ #16912]
43735         * gmon/mcount.c (_MCOUNT_DECL): Use
43736         atomic_compare_and_exchange_bool_acq instead of
43737         catomic_compare_and_exchange_bool_acq.
43739 2014-05-05  Roland McGrath  <roland@hack.frob.com>
43741         * elf/Makefile (others, install-bin): Remove pldd.
43742         (pldd-modules): Variable removed.
43743         ($(objpfx)pldd): Target removed.
43744         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
43745         (others, install-bin): Append pldd here.
43746         ($(objpfx)pldd): New target.
43748         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
43749         to 0, so the first #if test emitted later doesn't see it undefined.
43750         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
43751         * sysdeps/gnu/errlist.c: Regenerated.
43753 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43755         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43756         [libc_hidden_builtin_def]: Define to empty value.
43757         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
43758         [libc_hidden_builtin_def]: Likewise.
43759         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
43760         [libc_hidden_builtin_def]: Likewise.
43761         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
43762         [libc_hidden_builtin_def]: Likewise.
43763         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
43764         __redirect_memcpy and define ifunc as default hidden symbol.
43765         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
43766         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
43768 2014-05-04  Adam Conrad  <adconrad@0c3.net>
43770         * locale/iso-4217.def: Reintroduce XDR currency.
43772 2014-05-04  Allan McRae  <allan@archlinux.org>
43774         * po/eo.po: Update Esperanto translation from translation project.
43776 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
43778         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
43779         and FEATURE_INDEX_MAX to 1.
43780         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
43782 2014-05-01  Steve Ellcey  <sellcey@mips.com>
43784         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
43785         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
43786         * iconvdata/big5.c (ONE_DIRECTION): Define.
43787         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
43788         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
43789         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
43790         * iconvdata/cp932.c (ONE_DIRECTION): Define.
43791         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
43792         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
43793         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
43794         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
43795         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
43796         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
43797         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
43798         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
43799         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
43800         * iconvdata/gbk.c (ONE_DIRECTION): Define.
43801         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
43802         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
43803         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
43804         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
43805         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
43806         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
43807         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
43808         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
43809         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
43810         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
43811         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
43812         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
43813         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
43814         * iconvdata/iso646.c (ONE_DIRECTION): Define.
43815         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
43816         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
43817         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
43818         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
43819         * iconvdata/johab.c (ONE_DIRECTION): Define.
43820         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
43821         * iconvdata/sjis.c (ONE_DIRECTION): Define.
43822         * iconvdata/t.61.c (ONE_DIRECTION): Define.
43823         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
43824         * iconvdata/tscii.c (ONE_DIRECTION): Define.
43825         * iconvdata/uhc.c (ONE_DIRECTION): Define.
43826         * iconvdata/unicode.c (ONE_DIRECTION): Define.
43827         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
43828         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
43829         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
43831 2014-05-01  Roland McGrath  <roland@hack.frob.com>
43833         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
43834         (_IO_JUMPS_OFFSET): Define to 0.
43836         * nptl/sysdeps/pthread/bits/libc-lock.h
43837         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43838         (__libc_lock_define_initialized_recursive): Always define using
43839         initializer.  Modern compilers treat uninitialized (implicit zero) and
43840         explicit zero initializers the same (i.e. put the datum in bss).
43842 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43844         * nscd/nscd-client.h: Include <string.h>.
43846 2014-05-01  David S. Miller  <davem@davemloft.net>
43848         [BZ #16885]
43849         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
43850         multiple zero bytes exist at the end of a string.
43851         Reported by Aurelien Jarno <aurelien@aurel32.net>
43853         * string/test-strcmp.c (check): Add explicit test for situations where
43854         there are multiple zero bytes after the first.
43856 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43858         [BZ #16890]
43859         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
43860         when compiling wprintf.
43861         * stdio-common/tstdiomisc.c (t3): New function.
43862         (main): Call it.
43864 2014-05-01  Steve Ellcey  <sellcey@mips.com>
43866         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
43867         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
43868         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
43869         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
43871 2014-05-01  Steve Ellcey  <sellcey@mips.com>
43873         * stdlib/longlong.h: Updated from GCC.
43875 2014-05-01  Will Newton  <will.newton@linaro.org>
43876             Bernard Ogden  <bernie.ogden@linaro.org>
43878         * NEWS: Update fixed bug list.
43880         [BZ #15119]
43881         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
43883 2014-04-30  David S. Miller  <davem@davemloft.net>
43885         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
43886         (libc_feholdexcept_setround_sparc_ctx): New function.
43887         (libc_fesetenv_sparc_ctx): Likewise.
43888         (libc_feupdateenv_sparc_ctx): Likewise.
43889         (libc_feholdsetround_sparc_ctx): Likewise.
43890         (libc_feholdexcept_setround_ctx): Define.
43891         (libc_feholdexcept_setroundf_ctx): Likewise.
43892         (libc_feholdexcept_setroundl_ctx): Likewise.
43893         (libc_fesetenv_ctx): Likewise.
43894         (libc_fesetenvf_ctx): Likewise.
43895         (libc_fesetenvl_ctx): Likewise.
43896         (libc_feupdateenv_ctx): Likewise.
43897         (libc_feupdateenvf_ctx): Likewise.
43898         (libc_feupdateenvl_ctx): Likewise.
43899         (libc_feresetround_ctx): Likewise.
43900         (libc_feresetroundf_ctx): Likewise.
43901         (libc_feresetroundl_ctx): Likewise.
43902         (libc_feholdsetround_ctx): Likewise.
43903         (libc_feholdsetroundf_ctx): Likewise.
43904         (libc_feholdsetroundl_ctx): Likewise.
43906         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
43907         with __USE_GNU instead of XOPEN cpp guards.
43909         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
43910         0.
43912         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
43913         with XOPEN cpp guards.
43915 2014-04-30  Julian Brown  <julian@codesourcery.com>
43917         [BZ #16888]
43918         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
43919         handling.
43921 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
43923         [BZ #9894]
43924         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
43925         Change to 2.6.32.
43926         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
43927         * sysdeps/unix/sysv/linux/configure: Regenerated.
43928         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
43929         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
43930         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
43931         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
43932         * README: Update reference to required Linux kernel version.
43933         * manual/install.texi (Linux): Update reference to required Linux
43934         kernel headers version.
43935         * INSTALL: Regenerated.
43937         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
43938         header inclusion.
43939         [POSIX] (limits.h): Likewise.
43940         [POSIX] (math.h): Likewise.
43941         [POSIX] (sys/wait.h): Likewise.
43942         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
43943         function.
43944         [POSIX] (stddef.h): Do not allow header inclusion.
43946 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43948         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
43950 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
43952         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
43953         Return immediately after lll_futex_wake.
43955 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43957         [BZ #16791]
43958         * nscd/nscd-client.h (datahead_init_common): Initialize entire
43959         structure.
43960         (datahead_init_pos): Call datahead_init_common early.
43961         (datahead_init_neg): Likewise.
43963         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
43964         datahead_init_neg): New functions.
43965         * nscd/aicache.c (addhstaiX): Use them.
43966         * nscd/grpcache.c (cache_addgr): Likewise.
43967         * nscd/hstcache.c (cache_addhst): Likewise.
43968         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43969         * nscd/netgroupcache.c (do_notfound): Likewise.
43970         (addgetnetgrentX): Likewise.
43971         (addinnetgrX): Likewise.
43972         * nscd/pwdcache.c (cache_addpw): Likewise.
43973         * nscd/servicescache.c (cache_addserv): Likewise.
43975 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43976             Atsushi Onoe  <atsushi@onoe.org>
43978         [BZ #14308]
43979         [BZ #12994]
43980         [BZ #13651]
43981         * resolv/res_query.c (__libc_res_nsearch): Return if at least
43982         one response is valid.
43983         * resolv/res_send.c (send_dg): Check for validity of other
43984         response if the current response is a referral.
43986 2014-04-29  Steve Ellcey  <sellcey@mips.com>
43988         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
43990 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
43992         [BZ #16823]
43993         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
43994         Always divide by positive zero when computing -Inf result.
43995         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43996         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
43998 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44000         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
44001         FPSCR if value do not change.
44002         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44003         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
44004         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
44005         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44006         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
44007         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
44008         function.
44010 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
44012         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
44013         * sysdeps/unix/sysv/linux/hppa: Move directory from
44014         ports/systeps/unix/sysv/linux/hppa.
44015         * README: Update listing for hppa-*-linux-gnu.
44017 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
44019         [BZ #16754]
44020         * manual/stdio.texi (Hook functions): Fix types of stream hook
44021         functions.
44022         [BZ #16854]
44023         * socket/sys/socket.h: Fix typo in comment.
44025 2014-04-28  Wilco  <wdijkstr@arm.com>
44027         * sysdeps/arm/fenv_private.h: New file.
44028         * sysdeps/arm/math_private.h: New file.
44029         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
44031 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
44033         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
44034         with __int128_t.
44035         (La_x86_64_retval): Likewise.
44037 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
44039         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
44040         fpsr if value didn't change.
44041         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
44042         to fpcr if value didn't change.
44043         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
44044         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
44045         fpsr or fpcr if value didn't change.
44046         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44047         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
44048         fpcr if value didn't change.
44049         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44050         to fpsr if value didn't change.
44052 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44054         * nptl/tst-sem3.c: Use test-skeleton.c
44055         (main): Rename to do_test.  Use return instead of
44056         exit.
44057         * nptl/tst-sem4.c: Use test-skeleton.c
44058         (main): Rename to do_test.
44060 2014-04-22  David S. Miller  <davem@davemloft.net>
44062         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44063         (struct sigaction): New struct member __glibc_reserved0, change
44064         type of sa_flags to int.
44066 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44068         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44069         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44071 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44073         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44074         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44076 2014-04-22  Will Newton  <will.newton@linaro.org>
44077             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44079         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44080         (__longjmp): Add longjmp and longjmp_target SystemTap
44081         probes.
44082         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44083         (__sigsetjmp): Add setjmp SystemTap probe.
44085 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44087         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44088         match manual order.
44090 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44092         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44094         * sysdeps/powerpc/fpu/fenv_private.h
44095         (libc_feholdexcept_setroundl_ctx): Define to
44096         libc_feholdexcept_setround_ppc_ctx.
44097         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44098         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44099         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44100         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44102 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44104         * sysdeps/aarch64/math-tests.h: New file.
44106 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44108         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44109         New.
44110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44111         Check and set bit_AVX2_Usable.
44112         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44113         macro.
44114         (bit_AVX2): Likewise.
44115         (index_AVX2_Usable): Likewise.
44116         (CPUID_AVX2): Likewise.
44117         (HAS_AVX2): Likewise.
44119 2014-04-17  Will Newton  <will.newton@linaro.org>
44121         * manual/setjmp.texi (System V contexts): Add note that
44122         calling setcontext on a context created by a call to a
44123         signal handler is undefined.  Update text to note that
44124         setcontext from a signal handler is possible but not
44125         recommended.
44127         [BZ #16629]
44128         * stdlib/tst-setcontext.c: Include signal.h.
44129         (main): Check that the signal stack before and
44130         after swapcontext is the same.
44132         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44133         Re-implement to restore registers in user code and avoid
44134         rt_sigreturn system call.
44136 2014-04-17  Wilco  <wdijkstr@arm.com>
44138         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44139         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44140         * math/test-fenv.c: Skip exception trap tests on targets which only
44141         support non-stop mode.
44143 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44144             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44146         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44147         (libc_feholdsetround_aarch64_ctx)
44148         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44149         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44150         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44151         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44152         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44153         (libc_feresetround_noexl_ctx): Define.
44155 2014-04-16  Richard Henderson  <rth@redhat.com>
44157         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44159         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44160         unwind tables.
44162         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44163         const from the non-libc, non-ldso copy.
44165         * sysdeps/alpha/libm-test-ulps: Regenerate.
44167 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44168             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44170         * sysdeps/aarch64/fpu/math_private.h: New file.
44172 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44174         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44176 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44178         [BZ #16275]
44179         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44180         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44181         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44182         Intel MPX bound registers before _dl_profile_fixup.
44183         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44184         registers after _dl_profile_fixup.  Save and restore bound
44185         registers bnd0/bnd1 when calling _dl_call_pltexit.
44186         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44187         (LR_BND_OFFSET): Likewise.
44188         (LRV_BND0_OFFSET): Likewise.
44189         (LRV_BND1_OFFSET): Likewise.
44191 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44193         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44194         to...
44195         * sysdeps/mach/hurd/i386/tls.h: ... here.
44196         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44197         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44198         fields.
44200 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44202         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44204 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44206         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44208 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44210         [BZ #14770]
44211         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44212         * sysdeps/s390/configure: Regenerate.
44214         [BZ #16824]
44215         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44216         Set round-to-nearest internally to reduce error accumulation.
44218 2014-04-16  Alan Modra  <amodra@gmail.com>
44220         [BZ #16740]
44221         [BZ #16619]
44222         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44223         * math/libm-test.inc (frexp_test_data): Add tests.
44224         * NEWS: Update fixed bug list.
44226 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44228         * benchtests/Makefile: Depend on libraries in build directory.
44229         (bench-math): Separate out math tests.
44230         (bench-pthread): Separate out pthread tests.
44231         (bench): Include math and pthread tests.
44233 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44235         [BZ #16831]
44236         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44237         _dl_debug_initialize.
44239         * configure.ac: Remove SELinux header check.
44240         * configure: Regenerate.
44241         * nscd/selinux.c (perms): Array of const char* to permission names.
44242         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44243         default policy. Call string_to_security_class and string_to_av_perm to
44244         translate strings. Enforce default policy and call avs_has_perm with
44245         results of translated strings.
44247 2014-04-13  David S. Miller  <davem@davemloft.net>
44249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44251 2014-04-12  Allan McRae  <allan@archlinux.org>
44253         [BZ #16838]
44254         * manual/string.texi (Collation Functions): Fix qsort argument
44255         order in example.
44256         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44258 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44260         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44261         Make the test a no-op if there are no exceptions defined.
44263 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44265         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44266         enable-hardcoded-path-in-tests
44268 2014-04-11  Will Newton  <will.newton@linaro.org>
44270         * benchtests/Makefile (extra-objs): Add json-lib.o.
44271         (bench-func): Tidy up JSON output.
44272         * benchtests/bench-skeleton.c: Include json-lib.h.
44273         (main): Use JSON library functions to do output of
44274         benchmark results.
44275         * benchtests/bench-timing-type.c (main): Output the
44276         timing type simply, leaving formatting to the user.
44277         * benchtests/json-lib.c: New file.
44278         * benchtests/json-lib.h: Likewise.
44280 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44282         [BZ #15215]
44283         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44284         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44285         memory barriers.  Add comments.
44286         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44287         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44288         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44289         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44290         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44291         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44293 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44295         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44296         * sysdeps/s390/s390-64/configure.ac: ... this ...
44297         * sysdeps/s390/configure.ac: ... to here.
44298         * sysdeps/s390/s390-32/configure: Delete file.
44299         * sysdeps/s390/s390-64/configure: Delete file.
44300         * sysdeps/s390/configure: Regenerate.
44302 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44304         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44306 2014-04-11  Will Newton  <will.newton@linaro.org>
44308         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44309         to zero if it is not defined elsewhere.  (mtrim): Test
44310         the value of MALLOC_DEBUG with #if rather than #ifdef.
44312 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44314         * benchtests/pthread_once-inputs: New file.
44315         * benchtests/pthread_once-source.c: New file.
44316         * benchtests/README: Update documentation.
44318 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44319             H.J. Lu  <hongjiu.lu@intel.com>
44321         [BZ #16275]
44322         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44323         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44324         * sysdeps/x86_64/configure: Regenerated.
44325         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44326         macro.
44327         (REGISTER_SAVE_RAX): Likewise.
44328         (REGISTER_SAVE_RCX): Likewise.
44329         (REGISTER_SAVE_RDX): Likewise.
44330         (REGISTER_SAVE_RSI): Likewise.
44331         (REGISTER_SAVE_RDI): Likewise.
44332         (REGISTER_SAVE_R8): Likewise.
44333         (REGISTER_SAVE_R9): Likewise.
44334         (REGISTER_SAVE_BND0): Likewise.
44335         (REGISTER_SAVE_BND1): Likewise.
44336         (REGISTER_SAVE_BND2): Likewise.
44337         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
44338         bound registers when calling _dl_fixup.
44340 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44342         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44343         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44344         of its definition.
44345         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44346         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44347         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44348         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44349         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44350         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44351         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44353 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
44355         [BZ #15514]
44356         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44357         pathconf(_PC_NAME_MAX).
44359 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44361         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44362         Remove macro usage.
44363         (__PTHREAD_SPINS): Move definition to ...
44364         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44365         (__PTHREAD_SPINS): ... here.
44366         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44367         (__PTHREAD_SPIN): Likewise.
44368         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
44369         (__PTHREAD_SPIN): Likewise.
44370         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
44371         (__PTHREAD_SPIN): Likewise.
44372         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
44373         (__PTHREAD_SPIN): Likewise.
44374         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44375         (__PTHREAD_SPIN): Likewise.
44376         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44377         (__PTHREAD_SPIN): Likewise.
44378         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
44379         (__PTHREAD_SPIN): Likewise.
44380         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44381         (__PTHREAD_SPIN): Likewise.
44382         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44383         (__PTHREAD_SPIN): Likewise.
44384         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44385         (__PTHREAD_SPIN): Likewise.
44386         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44387         (__PTHREAD_SPIN): Likewise.
44388         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
44389         (__PTHREAD_SPIN): Likewise.
44391         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
44392         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
44393         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
44394         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
44395         imply folder.
44396         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
44397         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
44398         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
44399         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
44400         correct imply path.
44401         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
44402         strlen symbol for non multi-arch builds.
44403         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
44404         missing hidden_def and weak_alias.
44406 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
44408         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
44410 2014-04-07  Will Newton  <will.newton@linaro.org>
44412         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
44413         and contents.  [!_LIBC] Remove #ifndef and contents.
44414         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
44415         * string/memccpy.c (__memccpy): Use ANSI prototype.
44416         * string/memfrob.c (memfrob): Likewise.
44417         * string/strcoll.c (STRCOLL): Likewise.
44418         * string/strlen.c (strlen): Likewise.
44419         * string/strtok.c (STRTOK): Likewise.
44420         * string/strcat.c: Remove unused #include of memcopy.h.
44421         (strcat): Use ANSI prototype.
44422         * string/strchr.c: Remove unused #include of memcopy.h.
44423         (strchr): Use ANSI prototype.
44424         * string/strcmp.c: Remove unused #include of memcopy.h.
44425         (strcmp): Use ANSI prototype.
44426         * string/strcpy.c: Remove unused #include of memcopy.h.
44427         (strcpy): Use ANSI prototype.
44429 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44431         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
44432         * config.make.in (config-extra-cppflags): Set it from
44433         libc_extra_cppflags.
44434         * configure.ac (libc_extra_cflags): Make it accumulate over
44435         configure fragments.
44436         (libc_extra_cppflags): New flag.
44437         * configure. Regenerate.
44438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44439         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
44440         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
44441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
44443         [BZ #16815]
44444         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
44445         result for FE_DOWNWARD rounding mode.
44446         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
44447         Likewise.
44448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44450 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
44452         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
44453         in function argument name.
44455 2014-04-03  David Svoboda  <svoboda@cert.org>
44457         [BZ #5666]
44458         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
44459         explicitly.
44461 2014-04-03  Roland McGrath  <roland@hack.frob.com>
44463         * elf/dl-unmap-segments.h: New file.
44464         * sysdeps/generic/ldsodefs.h
44465         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
44466         * elf/dl-close.c: Include <dl-unmap-segments.h>.
44467         * elf/dl-fptr.c: Likewise.
44468         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
44469         * sysdeps/aarch64/tlsdesc.c: Likewise.
44470         * sysdeps/arm/tlsdesc.c: Likewise.
44471         * sysdeps/i386/tlsdesc.c: Likewise.
44472         * sysdeps/tile/dl-runtime.c: Likewise.
44473         * sysdeps/x86_64/tlsdesc.c: Likewise.
44474         * elf/dl-load.h: New file.
44475         * elf/dl-load.c: Include it.
44476         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
44477         Macros moved to dl-load.h.
44478         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
44479         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
44480         Use _dl_unmap_segments in place of __munmap.
44481         Break out segment-mapping loop into ...
44482         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
44484 2014-04-03  Will Newton  <will.newton@linaro.org>
44486         * elf/dl-lookup.c (do_lookup_x): Remove comment
44487         referring to nested function and move variable
44488         declarations down to before first use.
44490 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
44492         [BZ #16799]
44493         [BZ #16800]
44494         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
44495         with 0 numerator.
44496         * math/s_catanf.c (__catanf): Likewise.
44497         * math/s_catanh.c (__catanh): Likewise.
44498         * math/s_catanhf.c (__catanhf): Likewise.
44499         * math/s_catanhl.c (__catanhl): Likewise.
44500         * math/s_catanl.c (__catanl): Likewise.
44501         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
44502         by positive zero when computing -Inf result.
44503         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
44504         (catanh_test): Likewise.
44505         * sysdeps/i386/fpu/libm-test-ulps: Update.
44506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44508         [BZ #16789]
44509         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
44510         instead of using underflowing value in computing result.
44511         * math/s_clog10.c (__clog10): Likewise.
44512         * math/s_clog10f.c (__clog10f): Likewise.
44513         * math/s_clog10l.c (__clog10l): Likewise.
44514         * math/s_clogf.c (__clogf): Likewise.
44515         * math/s_clogl.c (__clogl): Likewise.
44516         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
44517         (clog10_test): Likewise.
44518         * sysdeps/i386/fpu/libm-test-ulps: Update.
44519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44521 2014-04-02  Alan Modra  <amodra@gmail.com>
44523         [BZ #16739]
44524         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
44525         output when value is near a power of two.  Use int64_t for lx and
44526         remove casts.  Use decimal rather than hex exponent constants.
44527         Don't use long double multiplication when double will suffice.
44528         * math/libm-test.inc (nextafter_test_data): Add tests.
44529         * NEWS: Add 16739 and 16786 to bug list.
44531         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
44533         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
44535 2014-04-01  Will Newton  <will.newton@linaro.org>
44537         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
44538         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
44540 2014-04-01  Florian Weimer  <fweimer@redhat.com>
44542         [BZ #13347]
44543         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
44544         * nptl/tst-setuid2.c: New file.
44545         * nptl/Makefile (xtests): Add tst-setuid2.
44547 2014-04-01  Alan Modra  <amodra@gmail.com>
44549         [BZ #16786]
44550         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
44552 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
44554         [BZ #6803]
44555         [BZ #6804]
44556         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
44557         set errno as appropriate.
44558         * math/w_scalbf.c (__scalbf): Likewise.
44559         * math/w_scalbl.c (__scalbl): Likewise.
44560         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
44561         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
44562         * math/libm-test.inc (scalb_test_data): Add errno expectations.
44563         Add more NaN tests.
44565         [BZ #16349]
44566         * math/w_atan2.c: Include <errno.h>.
44567         (__atan2): Set errno for result underflowing to zero.
44568         * math/w_atan2f.c: Include <errno.h>.
44569         (__atan2f): Set errno for result underflowing to zero.
44570         * math/w_atan2l.c: Include <errno.h>.
44571         (__atan2l): Set errno for result underflowing to zero.
44572         * math/auto-libm-test-in: Don't allow missing errno for some atan2
44573         tests.
44574         * math/auto-libm-test-out: Regenerated.
44576 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44578         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44579         Encode instruction correctly in little endian.
44580         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44581         Likewise.
44582         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44583         Likewise.
44584         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44585         Likewise.
44586         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44587         Likewise.
44589 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
44591         [BZ #9894]
44592         * sysdeps/unix/sysv/linux/kernel-features.h
44593         [__sparc__ && !__arch64__ && !__sparc_v9__]
44594         (__ASSUME_SET_ROBUST_LIST): Do not define.
44595         [__sparc__ && !__arch64__ && !__sparc_v9__]
44596         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44597         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
44598         Likewise.
44599         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44600         (__ASSUME_FUTEX_LOCK_PI): Undefine.
44601         (__ASSUME_REQUEUE_PI): Likewise.
44602         (__ASSUME_SET_ROBUST_LIST): Likewise.
44603         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44604         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
44605         Undefine.
44606         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44607         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
44608         Likewise.
44609         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
44610         Likewise.
44611         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
44612         Likewise.
44613         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44614         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
44615         Undefine.
44616         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
44617         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
44618         Likewise.
44620         [BZ #16648]
44621         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44622         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
44623         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
44625 2014-03-31  Will Newton  <will.newton@linaro.org>
44627         * benchtests/Makefile (bench): Add ffs and ffsll to list
44628         of tests.
44629         * benchtests/ffs-inputs: New file.
44630         * benchtests/ffsll-inputs: Likewise.
44632 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
44634         [BZ #16770]
44635         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
44636         too large before casting to int.
44637         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
44638         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
44639         * math/libm-test.inc (scalb_test_data): Add more tests.
44641 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44643         * benchtests/Makefile (DETAILED_OPT): New make option.
44644         (bench-func): Run benchmark program with -d if DETAILED_OPT is
44645         set.
44646         * benchtests/bench-skeleton.c: Include stdbool.h.
44647         (main): Store and print timings per input.
44648         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
44649         member to each argument value.
44650         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
44651         (_print_arg_data): Initialize per-input timing to 0.
44653         * benchtests/Makefile (timing-type): New binary.
44654         (bench-clean): Also remove bench-timing-type.
44655         (bench): New target for timing-type.
44656         (bench-func): Print output in JSON format.
44657         * benchtests/bench-skeleton.c (main): Print output in JSON
44658         format.
44659         * benchtests/bench-timing-type.c: New file.
44660         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
44661         (TIMING_PRINT_STATS): Remove.
44662         * benchtests/scripts/bench.py (_print_arg_data): Store variant
44663         name separately.
44665         * benchtests/bench-modf.c: Remove.
44666         * benchtests/modf-inputs: New inputs file.
44668 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
44670         [BZ #16362]
44671         * math/s_clog10.c (M_PI_LOG10E): New macro.
44672         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
44673         imaginary parts are 0.
44674         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
44675         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
44676         imaginary parts are 0.
44677         * math/s_clog10l.c (M_PI_LOG10El): New macro.
44678         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
44679         imaginary parts are 0.
44680         * math/libm-test.inc (clog10_test_data): Update expected results
44681         for when real and imaginary parts are 0.
44683 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
44685         * elf/dl-load.c: Finish conversion of __builtin_expect into
44686         __glibc_{un}likely.
44688 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
44690         [BZ #16348]
44691         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
44692         1+x for argument with exponent below -67.
44693         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
44694         Likewise.
44695         * math/auto-libm-test-in: Add more tests of exp.
44696         * math/auto-libm-test-out: Regenerated.
44698 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44700         [BZ #16759]
44701         * inet/getnetgrent_r.c (get_nonempty_val): New function.
44702         (nscd_getnetgrent): Use it.
44704         [BZ #16760]
44705         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
44706         of stpcpy.
44708 2014-03-27  Andi Kleen  <ak@linux.intel.com>
44710         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
44711         (lll_robust_lock, lll_cond_lock, lll_timedlock)
44712         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
44713         (lll_robust_unlock): Remove out of line section. Use cfi
44714         intrinsics.
44715         (LLL_STUB_UNWIND_INFO*): Remove.
44716         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
44717         (lll_robust_lock, lll_cond_lock, lll_timedlock)
44718         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
44719         (lll_robust_unlock): Remove out of line section. Use cfi
44720         intrinsics.
44721         (LLL_STUB_UNWIND_INFO*): Remove.
44723 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44725         [BZ #16758]
44726         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
44727         blank values.
44729 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
44731         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
44733 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
44735         [BZ #16198]
44736         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
44737         fnstenv.
44738         * math/test-fenv-preserve.c: New file.
44739         * math/Makefile (tests): Add test-fenv-preserve.
44741 2014-03-26  Will Newton <will.newton@linaro.org>
44743         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
44745 2014-03-25  Roland McGrath  <roland@hack.frob.com>
44747         * scripts/versionlist.awk: Partition the version sets and emit all
44748         GLIBC_* (sorted) before all others (sorted).
44750 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
44752         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
44753         GLIBC_2.2.5 version.
44755 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44757         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
44758         calls.
44760         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
44761         previous change.
44763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44765 2014-03-25  Andreas Schwab  <schwab@suse.de>
44767         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
44768         label to be used after in6ailist is initialized.
44770 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44772         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44773         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
44775 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
44777         [BZ #16357]
44778         [BZ #16599]
44779         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
44780         min_plus_half.
44781         (fp_formats): Update initializers.
44782         (init_fp_formats): Initialize new field.
44783         (output_for_one_input_case): Allow underflow for results up to
44784         min_plus_half.
44785         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
44786         * math/auto-libm-test-in: Don't mark some underflows from asin and
44787         atanh as spurious.
44788         * math/auto-libm-test-out: Regenerated.
44789         * sysdeps/i386/fpu/libm-test-ulps: Update.
44790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44792 2014-03-25  Andreas Schwab  <schwab@suse.de>
44794         * libio/Makefile (tst-ftell-partial-wide-ENV)
44795         (tst-ftell-active-handler-ENV): Define.
44797 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
44799         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
44801 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
44803         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
44805 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
44807         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
44808         * sysdeps/x86_64/fpu/multiarch/e_exp.c
44809         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
44811 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
44813         [BZ #16634]
44814         * elf/dl-load.c (open_verify): Add mode parameter.
44815         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
44816         (open_path): Change from boolean 'secure' to complete flag 'mode'
44817         (_dl_map_object): Adjust.
44818         * elf/Makefile (tests): Add tst-dlopen-aout.
44819         * elf/tst-dlopen-aout.c: New test.
44821 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
44823         [BZ #16714]
44824         * sysdeps/unix/sysv/linux/s390/bits/stat.h
44825         (struct stat): Rename member pad0 to __glibc_reserved0.
44827         [BZ #16712]
44828         * sysdeps/s390/s390-32/bits/wordsize.h
44829         (__WORDSIZE32_SIZE_ULONG): New define.
44830         * sysdeps/s390/s390-64/bits/wordsize.h
44831         (__WORDSIZE32_SIZE_ULONG): Likewise.
44832         * sysdeps/generic/stdint.h (SIZE_MAX):
44833         Define as UL if __WORDSIZE32_SIZE_ULONG.
44835         [BZ #16713]
44836         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
44837         (__glibc_reserved0): New variable.
44838         (sa_flags): Change type to int.
44840         * posix/Makefile (before-compile): Use += before-compile instead
44841         of a :=.
44843         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44844         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
44846 2014-03-20  Andreas Schwab  <schwab@suse.de>
44848         [BZ #16743]
44849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
44850         non-matching result from nscd.
44852 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44854         * scripts/bench.py: Moved to ...
44855         * benchtests/scripts/bench.py: ... here.
44856         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
44858 2014-03-24  Andreas Schwab  <schwab@suse.de>
44860         [BZ #16002]
44861         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
44862         alloca_account and account alloca use for struct in6ailist.
44864 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
44866         [BZ #16284]
44867         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
44868         rounding mode to recompute results that overflow to infinity or
44869         underflow to zero.
44870         * math/auto-libm-test-in: Don't mark tests as expected to fail for
44871         bug 16284.
44872         * math/auto-libm-test-out: Regenerated.
44873         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
44874         (ccosh_test): Likewise.
44875         (csin_test_data): Use plus_oflow.
44876         (csin_test): Use ALL_RM_TEST.
44877         (csinh_test_data): Use plus_oflow.
44878         (csinh_test): Use ALL_RM_TEST.
44879         * sysdeps/i386/fpu/libm-test-ulps: Update.
44880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44882 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
44884         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
44885         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
44886         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
44888         [BZ #16731]
44889         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
44890         when x - 1 is zero.
44891         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
44892         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
44893         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44894         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
44895         argument is 1.
44896         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
44897         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
44898         zero.
44899         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
44900         * sysdeps/i386/fpu/libm-test-ulps: Update.
44901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44903 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44905         * scripts/bench.pl: Remove file.
44906         * scripts/bench.py: New benchmark script.
44907         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
44908         * benchtests/README: Mention python dependency.
44909         * scripts/pylintrc: New file.
44910         * scripts/pylint: New file.
44912         * bits/mathdef.h: Use #ifdef instead of #if.
44913         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
44914         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44915         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
44916         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44917         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
44918         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44920 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44921             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44923         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
44924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
44925         and strpbrk-ppc64 objects.
44926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44927         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
44928         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
44929         multiarch strpbrk for POWER7.
44930         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
44931         multiarch strpbrk for PPC64.
44932         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
44933         ifunc selector.
44934         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
44935         strpbrk for POWER7.
44937 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
44939         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
44940         (atan_test): Likewise.
44941         (atanh_test_data): Use NO_TEST_INLINE for two tests.
44942         (atanh_test): Use ALL_RM_TEST.
44943         (atan2_test_data): Likewise.
44944         (cabs_test): Likewise.
44945         (cacosh_test): Likewise.
44946         (carg_test): Likewise.
44947         (casin_test): Likewise.
44948         (casinh_test): Likewise.
44949         (cbrt_test): Likewise.
44950         (csqrt_test): Likewise.
44951         (erf_test): Likewise.
44952         (erfc_test): Likewise.
44953         (pow10_test): Likewise.
44954         (exp2_test): Likewise.
44955         (hypot_test): Likewise.
44956         (j0_test): Likewise.
44957         (j1_test): Likewise.
44958         (lgamma_test): Likewise.
44959         (gamma_test): Likewise.
44960         (sincos_test): Likewise.
44961         (tanh_test): Likewise.
44962         (y0_test): Likewise.
44963         (y1_test): Likewise.
44964         * sysdeps/i386/fpu/libm-test-ulps: Update.
44965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44967 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44969         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
44970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
44971         and strcspn-ppc64 objects.
44972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44973         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
44974         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
44975         multiarch strcspn for POWER7.
44976         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
44977         multiarch strcspn for PPC64.
44978         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
44979         ifunc selector.
44980         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
44981         strcspn for POWER7.
44983 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
44985         * math/gen-libm-test.pl (generate_testfile): Expect only function
44986         name as argument to AUTO_TESTS_* and pass results for all rounding
44987         modes to parse_args.
44988         (parse_auto_input): Separate inputs of automatic tests from
44989         outputs before storing in %auto_tests.
44990         * math/libm-test.inc (acos_test_data): Update call to
44991         AUTO_TESTS_f_f.
44992         (acos_test): Use ALL_RM_TEST.
44993         (acos_tonearest_test_data): Remove.
44994         (acos_test_tonearest): Likewise.
44995         (acos_towardzero_test_data): Likewise.
44996         (acos_test_towardzero): Likewise.
44997         (acos_downward_test_data): Likewise.
44998         (acos_test_downward): Likewise.
44999         (acos_upward_test_data): Likewise.
45000         (acos_test_upward): Likewise.
45001         (acosh_test_data): Update call to AUTO_TESTS_f_f.
45002         (asin_test_data): Likewise.
45003         (asin_test): Use ALL_RM_TEST.
45004         (asin_tonearest_test_data): Remove.
45005         (asin_test_tonearest): Likewise.
45006         (asin_towardzero_test_data): Likewise.
45007         (asin_test_towardzero): Likewise.
45008         (asin_downward_test_data): Likewise.
45009         (asin_test_downward): Likewise.
45010         (asin_upward_test_data): Likewise.
45011         (asin_test_upward): Likewise.
45012         (asinh_test_data): Update call to AUTO_TESTS_f_f.
45013         (atan_test_data): Likewise.
45014         (atanh_test_data): Likewise.
45015         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
45016         (cabs_test_data): Update call to AUTO_TESTS_c_f.
45017         (carg_test_data): Likewise.
45018         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
45019         (ccos_test_data): Update call to AUTO_TESTS_c_c.
45020         (ccosh_test_data): Likewise.
45021         (cexp_test_data): Likewise.
45022         (clog_test_data): Likewise.
45023         (clog10_test_data): Likewise.
45024         (cos_test_data): Update call to AUTO_TESTS_f_f.
45025         (cos_test): Use ALL_RM_TEST.
45026         (cos_tonearest_test_data): Remove.
45027         (cos_test_tonearest): Likewise.
45028         (cos_towardzero_test_data): Likewise.
45029         (cos_test_towardzero): Likewise.
45030         (cos_downward_test_data): Likewise.
45031         (cos_test_downward): Likewise.
45032         (cos_upward_test_data): Likewise.
45033         (cos_test_upward): Likewise.
45034         (cosh_test_data): Update call to AUTO_TESTS_f_f.
45035         (cosh_test): Use ALL_RM_TEST.
45036         (cosh_tonearest_test_data): Remove.
45037         (cosh_test_tonearest): Likewise.
45038         (cosh_towardzero_test_data): Likewise.
45039         (cosh_test_towardzero): Likewise.
45040         (cosh_downward_test_data): Likewise.
45041         (cosh_test_downward): Likewise.
45042         (cosh_upward_test_data): Likewise.
45043         (cosh_test_upward): Likewise.
45044         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
45045         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
45046         (ctan_test_data): Likewise.
45047         (ctan_test): Use ALL_RM_TEST.
45048         (ctan_tonearest_test_data): Remove.
45049         (ctan_test_tonearest): Likewise.
45050         (ctan_towardzero_test_data): Likewise.
45051         (ctan_test_towardzero): Likewise.
45052         (ctan_downward_test_data): Likewise.
45053         (ctan_test_downward): Likewise.
45054         (ctan_upward_test_data): Likewise.
45055         (ctan_test_upward): Likewise.
45056         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45057         (ctanh_test): Use ALL_RM_TEST.
45058         (ctanh_tonearest_test_data): Remove.
45059         (ctanh_test_tonearest): Likewise.
45060         (ctanh_towardzero_test_data): Likewise.
45061         (ctanh_test_towardzero): Likewise.
45062         (ctanh_downward_test_data): Likewise.
45063         (ctanh_test_downward): Likewise.
45064         (ctanh_upward_test_data): Likewise.
45065         (ctanh_test_upward): Likewise.
45066         (erf_test_data): Update call to AUTO_TESTS_f_f.
45067         (erfc_test_data): Likewise.
45068         (exp_test_data): Likewise.
45069         (exp_test): Use ALL_RM_TEST.
45070         (exp_tonearest_test_data): Remove.
45071         (exp_test_tonearest): Likewise.
45072         (exp_towardzero_test_data): Likewise.
45073         (exp_test_towardzero): Likewise.
45074         (exp_downward_test_data): Likewise.
45075         (exp_test_downward): Likewise.
45076         (exp_upward_test_data): Likewise.
45077         (exp_test_upward): Likewise.
45078         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45079         (exp10_test): Use ALL_RM_TEST.
45080         (exp10_tonearest_test_data): Remove.
45081         (exp10_test_tonearest): Likewise.
45082         (exp10_towardzero_test_data): Likewise.
45083         (exp10_test_towardzero): Likewise.
45084         (exp10_downward_test_data): Likewise.
45085         (exp10_test_downward): Likewise.
45086         (exp10_upward_test_data): Likewise.
45087         (exp10_test_upward): Likewise.
45088         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45089         (expm1_test_data): Likewise.
45090         (expm1_test): Use ALL_RM_TEST.
45091         (expm1_tonearest_test_data): Remove.
45092         (expm1_test_tonearest): Likewise.
45093         (expm1_towardzero_test_data): Likewise.
45094         (expm1_test_towardzero): Likewise.
45095         (expm1_downward_test_data): Likewise.
45096         (expm1_test_downward): Likewise.
45097         (expm1_upward_test_data): Likewise.
45098         (expm1_test_upward): Likewise.
45099         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45100         (fma_test): Use ALL_RM_TEST.
45101         (fma_towardzero_test_data): Remove.
45102         (fma_test_towardzero): Likewise.
45103         (fma_downward_test_data): Likewise.
45104         (fma_test_downward): Likewise.
45105         (fma_upward_test_data): Likewise.
45106         (fma_test_upward): Likewise.
45107         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45108         (j0_test_data): Update call to AUTO_TESTS_f_f.
45109         (j1_test_data): Likewise.
45110         (jn_test_data): Update call to AUTO_TESTS_if_f.
45111         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45112         (log_test_data): Update call to AUTO_TESTS_f_f.
45113         (log10_test_data): Likewise.
45114         (log1p_test_data): Likewise.
45115         (log2_test_data): Likewise.
45116         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45117         (pow_tonearest_test_data): Likewise.
45118         (sin_test_data): Update call to AUTO_TESTS_f_f.
45119         (sin_test): Use ALL_RM_TEST.
45120         (sin_tonearest_test_data): Remove.
45121         (sin_test_tonearest): Likewise.
45122         (sin_towardzero_test_data): Likewise.
45123         (sin_test_towardzero): Likewise.
45124         (sin_downward_test_data): Likewise.
45125         (sin_test_downward): Likewise.
45126         (sin_upward_test_data): Likewise.
45127         (sin_test_upward): Likewise.
45128         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45129         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45130         (sinh_test): Use ALL_RM_TEST.
45131         (sinh_tonearest_test_data): Remove.
45132         (sinh_test_tonearest): Likewise.
45133         (sinh_towardzero_test_data): Likewise.
45134         (sinh_test_towardzero): Likewise.
45135         (sinh_downward_test_data): Likewise.
45136         (sinh_test_downward): Likewise.
45137         (sinh_upward_test_data): Likewise.
45138         (sinh_test_upward): Likewise.
45139         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45140         (sqrt_test): Use ALL_RM_TEST.
45141         (sqrt_tonearest_test_data): Remove.
45142         (sqrt_test_tonearest): Likewise.
45143         (sqrt_towardzero_test_data): Likewise.
45144         (sqrt_test_towardzero): Likewise.
45145         (sqrt_downward_test_data): Likewise.
45146         (sqrt_test_downward): Likewise.
45147         (sqrt_upward_test_data): Likewise.
45148         (sqrt_test_upward): Likewise.
45149         (tan_test_data): Update call to AUTO_TESTS_f_f.
45150         (tan_test): Use ALL_RM_TEST.
45151         (tan_tonearest_test_data): Remove.
45152         (tan_test_tonearest): Likewise.
45153         (tan_towardzero_test_data): Likewise.
45154         (tan_test_towardzero): Likewise.
45155         (tan_downward_test_data): Likewise.
45156         (tan_test_downward): Likewise.
45157         (tan_upward_test_data): Likewise.
45158         (tan_test_upward): Likewise.
45159         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45160         (tgamma_test_data): Likewise.
45161         (y0_test_data): Likewise.
45162         (y1_test_data): Likewise.
45163         (yn_test_data): Update call to AUTO_TESTS_if_f.
45164         (main): Do not call removed functions.
45166 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45168         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45169         (ldexp_test_data): Remove.
45170         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45171         scalbn_test_data.
45172         (scalb_test): Use ALL_RM_TEST.
45174 2014-03-19  Andreas Schwab  <schwab@suse.de>
45176         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45178 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45180         [BZ #16649]
45181         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45182         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45183         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45184         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45185         (__ASSUME_PREADV): Undefine.
45186         (__ASSUME_PWRITEV): Likewise.
45188 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45190         * bits/mman-linux.h: Add comment about non-Linux use.
45191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45192         bits/mman-linux.h resting place.
45194         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45195         * bits/mman-linux.h: ... here.
45197 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45199         * conform/conformtest.pl: Add standard definition when calling C
45200         preprocessor on data files.
45201         (checknamespace): Remove unused variable.
45203 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45205         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45206         minus_oflow, plus_uflow and minus_uflow in expected results.
45207         * math/libm-test.inc (scalbn_test_data): Add more tests of
45208         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45209         minus_uflow.
45210         (scalbn_test): Use ALL_RM_TEST.
45211         (scalbln_test_data): Add more tests of negative arguments.  Use
45212         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45213         (scalbln_test): Use ALL_RM_TEST.
45215 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45217         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45219 2014-03-18  Will Newton  <will.newton@linaro.org>
45221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45222         inaccurate comment.
45224 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45226         * Makerules [!subdir] (check-abi): Exit with error status if a
45227         test failed.
45229 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45231         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45232         for rint.  Include results for all rounding modes.
45233         (nearbyint_test): Use ALL_RM_TEST.
45234         (rint_test_data): Include all tests used for nearbyint.
45236 2014-03-17  Will Newton  <will.newton@linaro.org>
45238         * nptl/sysdeps/pthread/pthread.h: Revert previous
45239         change.
45241         * sysdeps/generic/ldsodefs.h: Revert previous
45242         change.
45244         * libio/genops.c: Revert previous change.
45245         * libio/libioP.h: Likewise.
45246         * stdio-common/vfprintf.c: Likewise.
45248         * sysdeps/generic/math_private.h: Revert previous
45249         change.
45251         * sysdeps/generic/math_private.h: Check whether
45252         HAVE_RM_CTX is defined with #ifdef rather
45253         than #if.
45255         * argp/argp-fmtstream.h: Check whether
45256         __STRICT_ANSI__ is defined with #ifdef rather
45257         than #if.
45258         * argp/argp.h: Likewise.
45260         * libio/genops.c: Check whether
45261         _IO_JUMPS_OFFSET is defined with #ifdef rather
45262         than #if.
45263         * libio/libioP.h: Likewise.
45264         * stdio-common/vfprintf.c: Likewise.
45266         * sysdeps/generic/ldsodefs.h: Check whether
45267         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45268         than #if.
45270         * nptl/sysdeps/pthread/pthread.h: Check
45271         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45272         its value.
45274 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45276         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45277         setting O_APPEND.
45278         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45279         test case.
45281         [BZ #16680]
45282         * libio/fileops.c (_IO_file_open): Seek to end of file but
45283         don't cache the offset.
45284         (get_file_offset): Remove function.
45285         (do_ftell): Use cached offset when available.
45286         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45287         don't cache the offset.
45288         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45289         case.
45290         (do_one_test): Call it.
45291         (do_ftell_test): Fix up expected old offset for a+ mode.
45292         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45293         available.
45295         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45296         up test status with function return status.
45297         (do_write_test): Likewise.
45298         (do_append_test): Likewise.
45300         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45301         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45302         Remove.
45304 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45306         * math/gen-libm-test.pl (parse_args): Handle results specified for
45307         each rounding mode separately.
45308         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45309         tests and results from lrint_tonearest_test_data,
45310         lrint_towardzero_test_data, lrint_downward_test_data and
45311         lrint_upward_test_data.
45312         (lrint_test): Use ALL_RM_TEST.
45313         (lrint_tonearest_test_data): Remove.
45314         (lrint_test_tonearest): Likewise.
45315         (lrint_towardzero_test_data): Likewise.
45316         (lrint_test_towardzero): Likewise.
45317         (lrint_downward_test_data): Likewise.
45318         (lrint_test_downward): Likewise.
45319         (lrint_upward_test_data): Likewise.
45320         (lrint_test_upward): Likewise.
45321         (llrint_test_data): Merge in per-rounding-mode tests and results
45322         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45323         llrint_downward_test_data and llrint_upward_test_data.
45324         (llrint_test): Use ALL_RM_TEST.
45325         (llrint_tonearest_test_data): Remove.
45326         (llrint_test_tonearest): Likewise.
45327         (llrint_towardzero_test_data): Likewise.
45328         (llrint_test_towardzero): Likewise.
45329         (llrint_downward_test_data): Likewise.
45330         (llrint_test_downward): Likewise.
45331         (llrint_upward_test_data): Likewise.
45332         (llrint_test_upward): Likewise.
45333         (rint_test_data): Merge in per-rounding-mode tests and results
45334         from rint_tonearest_test_data, rint_towardzero_test_data,
45335         rint_downward_test_data and rint_upward_test_data.  Add
45336         per-rounding-mode results for tests not in those arrays.
45337         (rint_test): Use ALL_RM_TEST.
45338         (rint_tonearest_test_data): Remove.
45339         (rint_test_tonearest): Likewise.
45340         (rint_towardzero_test_data): Likewise.
45341         (rint_test_towardzero): Likewise.
45342         (rint_downward_test_data): Likewise.
45343         (rint_test_downward): Likewise.
45344         (rint_upward_test_data): Likewise.
45345         (rint_test_upward): Likewise.
45346         (main): Don't call removed functions.
45348 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45350         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45351         "Compiled on ..." crapola.  It is anti-useful.
45353 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
45355         * scripts/evaluate-test.sh: Handle fourth argument to determine
45356         whether test run should stop on failure.
45357         * Makeconfig (stop-on-test-failure): New variable.
45358         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45359         $(stop-on-test-failure).
45360         * Makefile (tests): Give a summary of results from testing and
45361         exit with failure status if they include an ERROR or FAIL.
45362         (xtests): Likewise.
45363         * manual/install.texi (Configuring and compiling): Mention
45364         stop-on-test-failure=y.
45365         * INSTALL: Regenerated.
45367 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45369         * scripts/versionlist.awk: New file.
45370         * Makerules [$(build-shared) = yes]
45371         (postclean-generated): Add Versions.def, not Versions.def.v and
45372         Versions.def.v.i.
45373         ($(common-objpfx)Versions.def.v.i): Target removed.
45374         ($(common-objpfx)Versions.def): New target.
45375         ($(common-objpfx)Versions.all): Depend on that rather that
45376         $(common-objpfx)Versions.def.v.
45377         * Versions.def: File removed.
45379         * Makeconfig (+gccwarn): Add -Wundef.
45380         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
45381         a dl-sysdep.h breaking its contract.
45382         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
45383         * include/stackinfo.h: New file.
45384         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
45385         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
45386         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
45387         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
45388         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
45389         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
45390         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45391         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45392         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45393         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45394         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45395         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
45396         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45397         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45398         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45400 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45402         [BZ #16707]
45403         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
45404         implementation.
45405         * math/libm-test.inc (round_test_data): Add more tests.
45407         [BZ #16706]
45408         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
45409         implementation.
45410         * math/libm-test.inc (nearbyint_test_data): Add more tests.
45412         [BZ #16701]
45413         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
45414         implementation.
45415         * math/libm-test.inc (ceil_test_data): Add more tests.
45417         * math/libm-test.inc (trunc_test_data): Add more tests related to
45418         BZ#16414.
45420 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45422         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
45423         with #if rather than #ifdef.
45424         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
45426 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
45428         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
45429         first.  Disable AVX-512 GCC support if assembler doesn't support
45430         it.
45431         * sysdeps/x86_64/configure: Regenerated.
45433 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
45435         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
45436         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
45437         (__old_pthread_attr_setstack): Likewise.
45438         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
45439         [!_STACK_GROWS_DOWN]: Likewise.
45441 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
45443         * config.make.in (have-bash2): Delete.
45444         * configure.ac (libc_cv_have_bash2): Delete.
45445         * configure: Regenerate.
45446         * elf/Makefile (common-ldd-rewrite): Rename to ...
45447         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
45448         (sh-ldd-rewrite): Delete.
45449         (bash-ldd-rewrite): Delete.
45450         (have-bash2): Delete checks.
45451         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
45452         ldd-rewrite.
45454         * config.make.in (have-ksh): Delete.
45455         (KSH): Delete.
45456         * configure.ac (libc_cv_have_ksh): Delete.
45457         * configure: Regenerate.
45459         * elf/Makefile: Delete $(have-ksh) check.
45460         ($(objpfx)sotruss): Change KSH to BASH.
45461         * elf/sotruss.ksh: Rename to ...
45462         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
45463         function style to match POSIX.  Drop ksh vim mode setting.
45465         * manual/time.texi (Specifying the Time Zone with TZ): Change
45466         Tuesday to Thursday.
45468         * debug/tst-longjmp_chk2.c: Update header comment.
45469         (stackoverflow_handler): Add comment.  Call assert on pass value.
45471 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
45473         [BZ #16194]
45474         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
45475         (HAVE_AVX512_ASM_SUPPORT): Likewise.
45476         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
45477         (La_x86_64_vector): Add zmm.
45478         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
45479         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
45480         ($(objpfx)tst-audit10): New target.
45481         ($(objpfx)tst-audit10.out): Likewise.
45482         (tst-audit10-ENV): New.
45483         (AVX512-CFLAGS): Likewise.
45484         (CFLAGS-tst-audit10.c): Likewise.
45485         (CFLAGS-tst-auditmod10a.c): Likewise.
45486         (CFLAGS-tst-auditmod10b.c): Likewise.
45487         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
45488         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
45489         * sysdeps/x86_64/configure: Regenerated.
45490         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
45491         AVX-512 zmm register support.
45492         (_dl_x86_64_save_sse): Likewise.
45493         (_dl_x86_64_restore_sse): Likewise.
45494         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
45495         size vector registers.
45496         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
45497         (ZMM_SIZE): Likewise.
45498         * sysdeps/x86_64/tst-audit10.c: New file.
45499         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
45500         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
45502 2014-03-13  Roland McGrath  <roland@hack.frob.com>
45504         * configure.ac (HAVE_EHDR_START): New check.
45505         * configure: Regenerated.
45506         * config.h.in (HAVE_EHDR_START): New #undef.
45507         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
45508         assuming the lowest-addressed segment maps the start of the file.
45510 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
45512         * INSTALL: Regenerated.
45514 2014-03-13  Will Newton  <will.newton@linaro.org>
45516         * manual/setjmp.texi (System V contexts): Improve
45517         clarity and grammar of documentation.
45519 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
45521         [BZ #16381]
45522         * elf/Makefile (tests): Add tst-pie2.
45523         (tests-pie): Add tst-pie2.
45524         * elf/tst-pie2.c: New file.
45525         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
45526         for ET_EXEC.
45527         * elf/rtld.c (map_doit): Load executable as lt_executable.
45528         (dl_main): Likewise.
45530 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
45532         [BZ #16642]
45533         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45534         (__ASSUME_PSELECT): Undefine.
45536 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45538         [BZ #16689]
45539         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
45540         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
45541         static build.
45542         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
45543         selector for static builds.
45545 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45547         [BZ #16695]
45548         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
45549         key in the buffer.
45551 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45553         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
45554         IFUNC selector for static builds.
45556 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
45558         * sysdeps/mips/math_private.h [__mips_hard_float]
45559         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
45560         libc_feresetround_mips_ctx.
45561         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
45562         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
45563         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
45565         [BZ #16677]
45566         * math/s_nextafter.c (__nextafter): Do not return value from
45567         overflowing computation.
45568         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
45569         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
45570         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
45571         Likewise.
45572         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
45573         Likewise.
45574         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
45575         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
45577 2014-03-11  Roland McGrath  <roland@hack.frob.com>
45579         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
45580         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
45581         Move sfi_sp use from the load-multiple (that no longer sets sp) to
45582         the new mov targetting sp.
45584 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45586         [BZ #16683]
45587         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
45588         Define it for static builds as well.
45589         (NO_BZERO_IMPL): Likewise.
45591 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45593         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
45594         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
45595         multiarch strspn for PPC64.
45596         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
45597         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
45598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45599         (__libc_ifunc_impl_list): Likewise.
45600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
45601         multiarch optimizations
45602         * string/strspn.c (strspn): Using macro to redefine symbol name.
45604 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45605             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45607         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
45608         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
45609         multiarch strncat for PPC64.
45610         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
45611         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
45612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45613         (__libc_ifunc_impl_list): Likewise.
45614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
45615         multiarch optimizations
45617 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45619         [BZ #16639]
45620         * nscd/nscd.service: Make service type forking.
45622 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45624         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
45625         sign in non default rounding modes.
45626         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
45628 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
45630         * math/libm-test.inc (ALL_RM_TEST): New macro.
45631         (ceil_test): Use ALL_RM_TEST.
45632         (cimag_test): Likewise.
45633         (conj_test): Likewise.
45634         (copysign_test): Likewise.
45635         (cproj_test): Likewise.
45636         (creal_test): Likewise.
45637         (fabs_test): Likewise.
45638         (floor_test): Likewise.
45639         (fmax_test): Likewise.
45640         (fmin_test): Likewise.
45641         (fmod_test): Likewise.
45642         (fpclassify_test): Likewise.
45643         (frexp_test): Likewise.
45644         (ilogb_test): Likewise.
45645         (isfinite_test): Likewise.
45646         (finite_test): Likewise.
45647         (isgreater_test): Likewise.
45648         (isgreaterequal_test): Likewise.
45649         (isinf_test): Likewise.
45650         (isless_test): Likewise.
45651         (islessequal_test): Likewise.
45652         (islessgreater_test): Likewise.
45653         (isnan_test): Likewise.
45654         (isnormal_test): Likewise.
45655         (issignaling_test): Likewise.
45656         (isunordered_test): Likewise.
45657         (logb_test): Likewise.
45658         (logb_downward_test_data): Remove.
45659         (logb_test_downward): Likewise.
45660         (lround_test): Use ALL_RM_TEST.
45661         (llround_test): Likewise.
45662         (modf_test): Likewise.
45663         (nexttoward_test): Likewise.
45664         (remainder_test): Likewise.
45665         (drem_test): Likewise.
45666         (remainder_tonearest_test_data): Likewise.
45667         (remainder_test_tonearest): Likewise.
45668         (drem_test_tonearest): Likewise.
45669         (remainder_towardzero_test_data): Likewise.
45670         (remainder_test_towardzero): Likewise.
45671         (drem_test_towardzero): Likewise.
45672         (remainder_downward_test_data): Likewise.
45673         (remainder_test_downward): Likewise.
45674         (drem_test_downward): Likewise.
45675         (remainder_upward_test_data): Likewise.
45676         (remainder_test_upward): Likewise.
45677         (drem_test_upward): Likewise.
45678         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
45679         (round_test): Use ALL_RM_TEST.
45680         (signbit_test): Likewise.
45681         (trunc_test): Likewise.
45682         (significand_test): Likewise.
45683         (main): Don't call removed functions.
45685 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
45687         [BZ #16674]
45688         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
45689         || __USE_XOPEN2K8].
45690         (ILL_ILLOPN): Likewise.
45691         (ILL_ILLADR): Likewise.
45692         (ILL_ILLTRP): Likewise.
45693         (ILL_PRVOPC): Likewise.
45694         (ILL_PRVREG): Likewise.
45695         (ILL_COPROC): Likewise.
45696         (ILL_BADSTK): Likewise.
45697         (FPE_INTDIV): Likewise.
45698         (FPE_INTOVF): Likewise.
45699         (FPE_FLTDIV): Likewise.
45700         (FPE_FLTOVF): Likewise.
45701         (FPE_FLTUND): Likewise.
45702         (FPE_FLTRES): Likewise.
45703         (FPE_FLTINV): Likewise.
45704         (FPE_FLTSUB): Likewise.
45705         (SEGV_MAPERR): Likewise.
45706         (SEGV_ACCERR): Likewise.
45707         (BUS_ADRALN): Likewise.
45708         (BUS_ADRERR): Likewise.
45709         (BUS_OBJERR): Likewise.
45710         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45711         (TRAP_TRACE): Likewise.
45712         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45713         __USE_XOPEN2K8].
45714         (CLD_KILLED): Likewise.
45715         (CLD_DUMPED): Likewise.
45716         (CLD_TRAPPED): Likewise.
45717         (CLD_STOPPED): Likewise.
45718         (CLD_CONTINUED): Likewise.
45719         (POLL_IN): Likewise.
45720         (POLL_OUT): Likewise.
45721         (POLL_MSG): Likewise.
45722         (POLL_ERR): Likewise.
45723         (POLL_PRI): Likewise.
45724         (POLL_HUP): Likewise.
45725         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
45726         Likewise.
45727         (ILL_ILLOPN): Likewise.
45728         (ILL_ILLADR): Likewise.
45729         (ILL_ILLTRP): Likewise.
45730         (ILL_PRVOPC): Likewise.
45731         (ILL_PRVREG): Likewise.
45732         (ILL_COPROC): Likewise.
45733         (ILL_BADSTK): Likewise.
45734         (FPE_INTDIV): Likewise.
45735         (FPE_INTOVF): Likewise.
45736         (FPE_FLTDIV): Likewise.
45737         (FPE_FLTOVF): Likewise.
45738         (FPE_FLTUND): Likewise.
45739         (FPE_FLTRES): Likewise.
45740         (FPE_FLTINV): Likewise.
45741         (FPE_FLTSUB): Likewise.
45742         (SEGV_MAPERR): Likewise.
45743         (SEGV_ACCERR): Likewise.
45744         (BUS_ADRALN): Likewise.
45745         (BUS_ADRERR): Likewise.
45746         (BUS_OBJERR): Likewise.
45747         (BUS_MCEERR_AR): Likewise.
45748         (BUS_MCEERR_AO): Likewise.
45749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45750         (TRAP_TRACE): Likewise.
45751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45752         __USE_XOPEN2K8].
45753         (CLD_KILLED): Likewise.
45754         (CLD_DUMPED): Likewise.
45755         (CLD_TRAPPED): Likewise.
45756         (CLD_STOPPED): Likewise.
45757         (CLD_CONTINUED): Likewise.
45758         (POLL_IN): Likewise.
45759         (POLL_OUT): Likewise.
45760         (POLL_MSG): Likewise.
45761         (POLL_ERR): Likewise.
45762         (POLL_PRI): Likewise.
45763         (POLL_HUP): Likewise.
45764         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
45765         (ILL_ILLOPN): Likewise.
45766         (ILL_ILLADR): Likewise.
45767         (ILL_ILLTRP): Likewise.
45768         (ILL_PRVOPC): Likewise.
45769         (ILL_PRVREG): Likewise.
45770         (ILL_COPROC): Likewise.
45771         (ILL_BADSTK): Likewise.
45772         (FPE_INTDIV): Likewise.
45773         (FPE_INTOVF): Likewise.
45774         (FPE_FLTDIV): Likewise.
45775         (FPE_FLTOVF): Likewise.
45776         (FPE_FLTUND): Likewise.
45777         (FPE_FLTRES): Likewise.
45778         (FPE_FLTINV): Likewise.
45779         (FPE_FLTSUB): Likewise.
45780         (SEGV_MAPERR): Likewise.
45781         (SEGV_ACCERR): Likewise.
45782         (BUS_ADRALN): Likewise.
45783         (BUS_ADRERR): Likewise.
45784         (BUS_OBJERR): Likewise.
45785         (BUS_MCEERR_AR): Likewise.
45786         (BUS_MCEERR_AO): Likewise.
45787         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45788         (TRAP_TRACE): Likewise.
45789         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45790         __USE_XOPEN2K8].
45791         (CLD_KILLED): Likewise.
45792         (CLD_DUMPED): Likewise.
45793         (CLD_TRAPPED): Likewise.
45794         (CLD_STOPPED): Likewise.
45795         (CLD_CONTINUED): Likewise.
45796         (POLL_IN): Likewise.
45797         (POLL_OUT): Likewise.
45798         (POLL_MSG): Likewise.
45799         (POLL_ERR): Likewise.
45800         (POLL_PRI): Likewise.
45801         (POLL_HUP): Likewise.
45802         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
45803         Likewise.
45804         (ILL_ILLOPN): Likewise.
45805         (ILL_ILLADR): Likewise.
45806         (ILL_ILLTRP): Likewise.
45807         (ILL_PRVOPC): Likewise.
45808         (ILL_PRVREG): Likewise.
45809         (ILL_COPROC): Likewise.
45810         (ILL_BADSTK): Likewise.
45811         (ILL_BADIADDR): Likewise.
45812         (ILL_BREAK): Likewise.
45813         (FPE_INTDIV): Likewise.
45814         (FPE_INTOVF): Likewise.
45815         (FPE_FLTDIV): Likewise.
45816         (FPE_FLTOVF): Likewise.
45817         (FPE_FLTUND): Likewise.
45818         (FPE_FLTRES): Likewise.
45819         (FPE_FLTINV): Likewise.
45820         (FPE_FLTSUB): Likewise.
45821         (FPE_DECOVF): Likewise.
45822         (FPE_DECDIV): Likewise.
45823         (FPE_DECERR): Likewise.
45824         (FPE_INVASC): Likewise.
45825         (FPE_INVDEC): Likewise.
45826         (SEGV_MAPERR): Likewise.
45827         (SEGV_ACCERR): Likewise.
45828         (SEGV_PSTKOVF): Likewise.
45829         (BUS_ADRALN): Likewise.
45830         (BUS_ADRERR): Likewise.
45831         (BUS_OBJERR): Likewise.
45832         (BUS_MCEERR_AR): Likewise.
45833         (BUS_MCEERR_AO): Likewise.
45834         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45835         (TRAP_TRACE): Likewise.
45836         (TRAP_BRANCH): Likewise.
45837         (TRAP_HWBKPT): Likewise.
45838         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45839         __USE_XOPEN2K8].
45840         (CLD_KILLED): Likewise.
45841         (CLD_DUMPED): Likewise.
45842         (CLD_TRAPPED): Likewise.
45843         (CLD_STOPPED): Likewise.
45844         (CLD_CONTINUED): Likewise.
45845         (POLL_IN): Likewise.
45846         (POLL_OUT): Likewise.
45847         (POLL_MSG): Likewise.
45848         (POLL_ERR): Likewise.
45849         (POLL_PRI): Likewise.
45850         (POLL_HUP): Likewise.
45851         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
45852         (ILL_ILLOPN): Likewise.
45853         (ILL_ILLADR): Likewise.
45854         (ILL_ILLTRP): Likewise.
45855         (ILL_PRVOPC): Likewise.
45856         (ILL_PRVREG): Likewise.
45857         (ILL_COPROC): Likewise.
45858         (ILL_BADSTK): Likewise.
45859         (FPE_INTDIV): Likewise.
45860         (FPE_INTOVF): Likewise.
45861         (FPE_FLTDIV): Likewise.
45862         (FPE_FLTOVF): Likewise.
45863         (FPE_FLTUND): Likewise.
45864         (FPE_FLTRES): Likewise.
45865         (FPE_FLTINV): Likewise.
45866         (FPE_FLTSUB): Likewise.
45867         (SEGV_MAPERR): Likewise.
45868         (SEGV_ACCERR): Likewise.
45869         (BUS_ADRALN): Likewise.
45870         (BUS_ADRERR): Likewise.
45871         (BUS_OBJERR): Likewise.
45872         (BUS_MCEERR_AR): Likewise.
45873         (BUS_MCEERR_AO): Likewise.
45874         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45875         (TRAP_TRACE): Likewise.
45876         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45877         __USE_XOPEN2K8].
45878         (CLD_KILLED): Likewise.
45879         (CLD_DUMPED): Likewise.
45880         (CLD_TRAPPED): Likewise.
45881         (CLD_STOPPED): Likewise.
45882         (CLD_CONTINUED): Likewise.
45883         (POLL_IN): Likewise.
45884         (POLL_OUT): Likewise.
45885         (POLL_MSG): Likewise.
45886         (POLL_ERR): Likewise.
45887         (POLL_PRI): Likewise.
45888         (POLL_HUP): Likewise.
45889         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
45890         (ILL_ILLOPN): Likewise.
45891         (ILL_ILLADR): Likewise.
45892         (ILL_ILLTRP): Likewise.
45893         (ILL_PRVOPC): Likewise.
45894         (ILL_PRVREG): Likewise.
45895         (ILL_COPROC): Likewise.
45896         (ILL_BADSTK): Likewise.
45897         (FPE_INTDIV): Likewise.
45898         (FPE_INTOVF): Likewise.
45899         (FPE_FLTDIV): Likewise.
45900         (FPE_FLTOVF): Likewise.
45901         (FPE_FLTUND): Likewise.
45902         (FPE_FLTRES): Likewise.
45903         (FPE_FLTINV): Likewise.
45904         (FPE_FLTSUB): Likewise.
45905         (SEGV_MAPERR): Likewise.
45906         (SEGV_ACCERR): Likewise.
45907         (BUS_ADRALN): Likewise.
45908         (BUS_ADRERR): Likewise.
45909         (BUS_OBJERR): Likewise.
45910         (BUS_MCEERR_AR): Likewise.
45911         (BUS_MCEERR_AO): Likewise.
45912         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45913         (TRAP_TRACE): Likewise.
45914         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45915         __USE_XOPEN2K8].
45916         (CLD_KILLED): Likewise.
45917         (CLD_DUMPED): Likewise.
45918         (CLD_TRAPPED): Likewise.
45919         (CLD_STOPPED): Likewise.
45920         (CLD_CONTINUED): Likewise.
45921         (POLL_IN): Likewise.
45922         (POLL_OUT): Likewise.
45923         (POLL_MSG): Likewise.
45924         (POLL_ERR): Likewise.
45925         (POLL_PRI): Likewise.
45926         (POLL_HUP): Likewise.
45927         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
45928         (ILL_ILLOPN): Likewise.
45929         (ILL_ILLADR): Likewise.
45930         (ILL_ILLTRP): Likewise.
45931         (ILL_PRVOPC): Likewise.
45932         (ILL_PRVREG): Likewise.
45933         (ILL_COPROC): Likewise.
45934         (ILL_BADSTK): Likewise.
45935         (FPE_INTDIV): Likewise.
45936         (FPE_INTOVF): Likewise.
45937         (FPE_FLTDIV): Likewise.
45938         (FPE_FLTOVF): Likewise.
45939         (FPE_FLTUND): Likewise.
45940         (FPE_FLTRES): Likewise.
45941         (FPE_FLTINV): Likewise.
45942         (FPE_FLTSUB): Likewise.
45943         (SEGV_MAPERR): Likewise.
45944         (SEGV_ACCERR): Likewise.
45945         (BUS_ADRALN): Likewise.
45946         (BUS_ADRERR): Likewise.
45947         (BUS_OBJERR): Likewise.
45948         (BUS_MCEERR_AR): Likewise.
45949         (BUS_MCEERR_AO): Likewise.
45950         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45951         (TRAP_TRACE): Likewise.
45952         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45953         __USE_XOPEN2K8].
45954         (CLD_KILLED): Likewise.
45955         (CLD_DUMPED): Likewise.
45956         (CLD_TRAPPED): Likewise.
45957         (CLD_STOPPED): Likewise.
45958         (CLD_CONTINUED): Likewise.
45959         (POLL_IN): Likewise.
45960         (POLL_OUT): Likewise.
45961         (POLL_MSG): Likewise.
45962         (POLL_ERR): Likewise.
45963         (POLL_PRI): Likewise.
45964         (POLL_HUP): Likewise.
45965         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
45966         (ILL_ILLOPN): Likewise.
45967         (ILL_ILLADR): Likewise.
45968         (ILL_ILLTRP): Likewise.
45969         (ILL_PRVOPC): Likewise.
45970         (ILL_PRVREG): Likewise.
45971         (ILL_COPROC): Likewise.
45972         (ILL_BADSTK): Likewise.
45973         (ILL_DBLFLT): Likewise.
45974         (ILL_HARDWALL): Likewise.
45975         (FPE_INTDIV): Likewise.
45976         (FPE_INTOVF): Likewise.
45977         (FPE_FLTDIV): Likewise.
45978         (FPE_FLTOVF): Likewise.
45979         (FPE_FLTUND): Likewise.
45980         (FPE_FLTRES): Likewise.
45981         (FPE_FLTINV): Likewise.
45982         (FPE_FLTSUB): Likewise.
45983         (SEGV_MAPERR): Likewise.
45984         (SEGV_ACCERR): Likewise.
45985         (BUS_ADRALN): Likewise.
45986         (BUS_ADRERR): Likewise.
45987         (BUS_OBJERR): Likewise.
45988         (BUS_MCEERR_AR): Likewise.
45989         (BUS_MCEERR_AO): Likewise.
45990         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45991         (TRAP_TRACE): Likewise.
45992         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45993         __USE_XOPEN2K8].
45994         (CLD_KILLED): Likewise.
45995         (CLD_DUMPED): Likewise.
45996         (CLD_TRAPPED): Likewise.
45997         (CLD_STOPPED): Likewise.
45998         (CLD_CONTINUED): Likewise.
45999         (POLL_IN): Likewise.
46000         (POLL_OUT): Likewise.
46001         (POLL_MSG): Likewise.
46002         (POLL_ERR): Likewise.
46003         (POLL_PRI): Likewise.
46004         (POLL_HUP): Likewise.
46005         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
46006         (ILL_ILLOPN): Likewise.
46007         (ILL_ILLADR): Likewise.
46008         (ILL_ILLTRP): Likewise.
46009         (ILL_PRVOPC): Likewise.
46010         (ILL_PRVREG): Likewise.
46011         (ILL_COPROC): Likewise.
46012         (ILL_BADSTK): Likewise.
46013         (FPE_INTDIV): Likewise.
46014         (FPE_INTOVF): Likewise.
46015         (FPE_FLTDIV): Likewise.
46016         (FPE_FLTOVF): Likewise.
46017         (FPE_FLTUND): Likewise.
46018         (FPE_FLTRES): Likewise.
46019         (FPE_FLTINV): Likewise.
46020         (FPE_FLTSUB): Likewise.
46021         (SEGV_MAPERR): Likewise.
46022         (SEGV_ACCERR): Likewise.
46023         (BUS_ADRALN): Likewise.
46024         (BUS_ADRERR): Likewise.
46025         (BUS_OBJERR): Likewise.
46026         (BUS_MCEERR_AR): Likewise.
46027         (BUS_MCEERR_AO): Likewise.
46028         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46029         (TRAP_TRACE): Likewise.
46030         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46031         __USE_XOPEN2K8].
46032         (CLD_KILLED): Likewise.
46033         (CLD_DUMPED): Likewise.
46034         (CLD_TRAPPED): Likewise.
46035         (CLD_STOPPED): Likewise.
46036         (CLD_CONTINUED): Likewise.
46037         (POLL_IN): Likewise.
46038         (POLL_OUT): Likewise.
46039         (POLL_MSG): Likewise.
46040         (POLL_ERR): Likewise.
46041         (POLL_PRI): Likewise.
46042         (POLL_HUP): Likewise.
46043         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
46044         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46046         [BZ #16670]
46047         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
46048         before #include of <time.h>.
46049         [!__USE_XOPEN2K] (__need_timespec): Likewise.
46050         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46051         (test-xfail-UNIX98/sched.h/conform): Likewise.
46053 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46055         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46056         error absence of trapping exception support.
46057         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46059 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46061         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46062         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46063         * timezone/Makefile (testdata): Move definition above include of
46064         Rules.
46065         (test-zones): New variable.
46066         (tests-special): Add zone files.
46067         (build-testdata): Use $(evaluate-test).
46069         * elf/Makefile (tests-special): Rename tests to end with .out.
46070         ($(objpfx)noload-mem): Likewise.
46071         ($(objpfx)tst-leaks1-mem): Likewise.
46072         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46073         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46074         $(objpfx)test-iconvconfig.out.
46075         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46076         set -e inside subshell and redirect output to file.
46077         * iconvdata/Makefile (generated): Rename tests to end with .out.
46078         Correct type.
46079         (tests-special): Rename tests to end with .out.
46080         ($(objpfx)mtrace-tst-loading): Likewise.
46081         * intl/Makefile (generated): Likewise.
46082         (tests-special): Likewise.
46083         ($(objpfx)mtrace-tst-gettext): Likewise.
46084         * misc/Makefile (generated): Likewise.
46085         (tests-special): Likewise.
46086         ($(objpfx)tst-error1-mem): Likewise.
46087         * nptl/Makefile (tests-special): Likewise.
46088         ($(objpfx)tst-stack3-mem): Likewise.
46089         (generated): Likewise.
46090         * posix/Makefile (generated): Likewise.
46091         (tests-special): Likewise.
46092         (xtests-special): Likewise.
46093         ($(objpfx)tst-fnmatch-mem): Likewise.
46094         ($(objpfx)bug-regex2-mem): Likewise.
46095         ($(objpfx)bug-regex14-mem): Likewise.
46096         ($(objpfx)bug-regex21-mem): Likewise.
46097         ($(objpfx)bug-regex31-mem): Likewise.
46098         ($(objpfx)tst-vfork3-mem): Likewise.
46099         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46100         ($(objpfx)tst-pcre-mem): Likewise.
46101         ($(objpfx)tst-boost-mem): Likewise.
46102         ($(objpfx)bug-ga2-mem): Likewise.
46103         ($(objpfx)bug-glob2-mem): Likewise.
46104         * resolv/Makefile (generate): Likewise.
46105         (tests-special): Likewise.
46106         (xtests-special): Likewise.
46107         (generated): Likewise.
46108         ($(objpfx)mtrace-tst-leaks): Likewise.
46109         ($(objpfx)mtrace-tst-leaks2): Likewise.
46111         * scripts/merge-test-results.sh: New file.
46112         * Makefile (tests-special-notdir): New variable.
46113         (tests): Run merge-test-results.sh.
46114         (xtests): Likewise.
46115         * Rules (tests-special-notdir): New variable.
46116         (xtests-special-notdir): Likewise.
46117         (tests): Run merge-test-results.sh
46118         (xtests): Likewise.
46120         * Makeconfig (test-xfail-name): New variable.
46121         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46122         compute variable name for expected failures.
46123         * conform/Makefile (conformtest-headers-data): New variable.
46124         (conformtest-standards): Likewise.
46125         (conformtest-headers-ISO): Likewise.
46126         (conformtest-headers-ISO99): Likewise.
46127         (conformtest-headers-ISO11): Likewise.
46128         (conformtest-headers-POSIX): Likewise.
46129         (conformtest-headers-XPG3): Likewise.
46130         (conformtest-headers-XPG4): Likewise.
46131         (conformtest-headers-UNIX98): Likewise.
46132         (conformtest-headers-XOPEN2K): Likewise.
46133         (conformtest-headers-POSIX2008): Likewise.
46134         (conformtest-headers-XOPEN2K8): Likewise.
46135         (conformtest-header-list-base): Likewise.
46136         (conformtest-header-list-tests): Likewise.
46137         (conformtest-header-base): Likewise.
46138         (conformtest-header-tests): Likewise.
46139         (tests-special): Add $(conformtest-header-list-tests).  If
46140         [$(fast-check) && !$(cross-compiling)], add
46141         $(conformtest-header-tests) instead of
46142         $(objpfx)run-conformtest.out.
46143         (generated): Add $(conformtest-header-list-base).  If
46144         [$(fast-check) && !$(cross-compiling)], add
46145         $(conformtest-header-base).  Remove previous setting.
46146         ($(conformtest-header-list-tests)): New target.
46147         (test-xfail-run-conformtest): Remove variable.
46148         ($(objpfx)run-conformtest.out): Remove target.
46149         (test-xfail-ISO11/complex.h/conform): New variable.
46150         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46151         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46152         (test-xfail-XPG3/varargs.h/conform): Likewise.
46153         (test-xfail-XPG4/varargs.h/conform): Likewise.
46154         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46155         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46156         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46157         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46158         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46159         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46160         (test-xfail-XPG3/ftw.h/conform): Likewise.
46161         (test-xfail-XPG3/grp.h/conform): Likewise.
46162         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46163         (test-xfail-XPG3/limits.h/conform): Likewise.
46164         (test-xfail-XPG3/pwd.h/conform): Likewise.
46165         (test-xfail-XPG3/search.h/conform): Likewise.
46166         (test-xfail-XPG3/signal.h/conform): Likewise.
46167         (test-xfail-XPG3/stdio.h/conform): Likewise.
46168         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46169         (test-xfail-XPG3/string.h/conform): Likewise.
46170         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46171         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46172         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46173         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46174         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46175         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46176         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46177         (test-xfail-XPG3/termios.h/conform): Likewise.
46178         (test-xfail-XPG3/time.h/conform): Likewise.
46179         (test-xfail-XPG3/unistd.h/conform): Likewise.
46180         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46181         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46182         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46183         (test-xfail-XPG4/netdb.h/conform): Likewise.
46184         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46185         (test-xfail-XPG4/signal.h/conform): Likewise.
46186         (test-xfail-XPG4/stdio.h/conform): Likewise.
46187         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46188         (test-xfail-XPG4/stropts.h/conform): Likewise.
46189         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46190         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46191         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46192         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46193         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46194         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46195         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46196         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46197         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46198         (test-xfail-XPG4/termios.h/conform): Likewise.
46199         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46200         (test-xfail-XPG4/unistd.h/conform): Likewise.
46201         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46202         (test-xfail-POSIX/sched.h/conform): Likewise.
46203         (test-xfail-POSIX/signal.h/conform): Likewise.
46204         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46205         (test-xfail-POSIX/tar.h/conform): Likewise.
46206         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46207         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46208         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46209         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46210         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46211         (test-xfail-UNIX98/sched.h/conform): Likewise.
46212         (test-xfail-UNIX98/signal.h/conform): Likewise.
46213         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46214         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46215         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46216         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46217         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46218         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46219         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46220         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46221         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46222         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46223         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46224         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46225         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46226         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46227         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46228         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46229         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46230         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46231         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46232         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46233         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46234         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46235         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46236         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46237         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46238         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46239         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46240         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46241         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46242         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46243         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46244         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46245         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46246         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46247         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46248         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46249         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46250         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46251         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46252         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46253         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46254         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46255         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46256         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46257         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46258         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46259         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46260         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46261         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46262         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46263         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46264         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46265         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46266         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46267         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46268         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46269         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46270         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46271         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46272         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46273         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46274         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46275         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46276         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46277         (conformtest-cc-flags): Likewise.
46278         ($(conformtest-header-tests): New target.
46279         * conform/check-header-lists.sh: New file.
46280         * conform/run-conformtest.sh: Remove.
46282         * conform/conformtest.pl: Allow ' and \ in values given for
46283         constants.
46284         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46285         inclusion.
46286         [POSIX] (sys/types.h): Likewise.
46287         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46288         inclusion.
46289         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46290         inclusion.
46291         * conform/data/signal.h-data (SIGIO): Remove expectation.
46292         [XPG3] (SIGBUS): Do not expect.
46293         [POSIX || XPG3] (SIGPOLL): Likewise.
46294         [POSIX || XPG3] (SIGPROF): Likewise.
46295         [POSIX || XPG3] (SIGSYS): Likewise.
46296         [XPG3] (SIGTRAP): Likewise.
46297         [POSIX || XPG3] (SIGURG): Likewise.
46298         [POSIX || XPG3] (SIGVTALRM): Likewise.
46299         [POSIX || XPG3] (SIGXCPU): Likewise.
46300         [POSIX || XPG3] (SIGXFSZ): Likewise.
46301         [POSIX] (SA_SIGINFO): Expect.
46302         [XPG3] (siginfo_t): Do not expect type or contents.
46303         [POSIX] (si_pid): Do not expect element.
46304         [POSIX] (si_uid): Likewise.
46305         [POSIX] (si_addr): Likewise.
46306         [POSIX] (si_status): Likewise.
46307         [POSIX] (si_band): Likewise.
46308         [XPG4] (si_value): Likewise.
46309         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46310         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46311         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46312         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46313         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46314         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46315         [POSIX || XPG3] (ILL_COPROC): Likewise.
46316         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46317         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46318         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46319         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46320         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46321         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46322         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46323         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46324         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46325         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46326         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46327         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46328         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46329         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46330         [POSIX || XPG3] (CLD_EXITED): Likewise.
46331         [POSIX || XPG3] (CLD_KILLED): Likewise.
46332         [POSIX || XPG3] (CLD_DUMPED): Likewise.
46333         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46334         [POSIX || XPG3] (CLD_STOPPED): Likewise.
46335         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46336         [POSIX || XPG3] (POLL_IN): Likewise.
46337         [POSIX || XPG3] (POLL_OUT): Likewise.
46338         [POSIX || XPG3] (POLL_MSG): Likewise.
46339         [POSIX || XPG3] (POLL_ERR): Likewise.
46340         [POSIX || XPG3] (POLL_PRI): Likewise.
46341         [POSIX || XPG3] (POLL_HUP): Likewise.
46342         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46343         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46344         (SIG*): Do not allow.
46345         [XPG3] (si_*): Likewise.
46346         [XPG3] (SI_*): Likewise.
46347         [XPG3 || XPG4] (sigev_*): Likewise.
46348         [XPG3 || XPG4] (SIGEV_*): Likewise.
46349         [XPG3 || XPG4] (sival_*): Likewise.
46350         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46351         [POSIX || XPG3] (BUS_*): Likewise.
46352         [POSIX || XPG3] (CLD_*): Likewise.
46353         [POSIX || XPG3] (FPE_*): Likewise.
46354         [POSIX || XPG3] (ILL_*): Likewise.
46355         [POSIX || XPG3] (POLL_*): Likewise.
46356         [POSIX || XPG3] (SEGV_*): Likewise.
46357         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46358         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46359         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46360         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46361         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46362         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46363         Specify type and value.
46364         (TVERSLEN): Likewise.
46365         (REGTYPE): Likewise.
46366         (AREGTYPE): Likewise.
46367         (LNKTYPE): Likewise.
46368         (SYMTYPE): Likewise.
46369         (CHRTYPE): Likewise.
46370         (BLKTYPE): Likewise.
46371         (DIRTYPE): Likewise.
46372         (FIFOTYPE): Likewise.
46373         (CONTTYPE): Likewise.
46374         (TSUID): Likewise.
46375         (TSGID): Likewise.
46376         (TSVTX): Likewise.
46377         (TUREAD): Likewise.
46378         (TUWRITE): Likewise.
46379         (TUEXEC): Likewise.
46380         (TGREAD): Likewise.
46381         (TGWRITE): Likewise.
46382         (TGEXEC): Likewise.
46383         (TOREAD): Likewise.
46384         (TOWRITE): Likewise.
46385         (TOEXEC): Likewise.
46386         [POSIX] (TSVTX): Expect constant.
46388 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
46390         * Makefile (tests): Change dependencies to ....
46391         (tests-special): ... additions to this variable.
46392         (tests): Depend on $(tests-special).
46393         * Makerules (check-abi-list): New variable.
46394         (check-abi): Depend on $(check-abi-list).
46395         [$(subdir) = elf] (tests-special): Add
46396         $(objpfx)check-abi-libc.out.
46397         [$(build-shared) = yes && subdir] (tests-special): Add
46398         $(check-abi-list).
46399         [$(build-shared) = yes && subdir] (tests): Do not depend on
46400         check-abi.
46401         * Rules (tests): Depend on $(tests-special).
46402         (xtests): Depend on $(xtests-special).
46403         * catgets/Makefile (tests): Change dependencies to ....
46404         (tests-special): ... additions to this variable.
46405         * conform/Makefile (tests): Change dependencies to ....
46406         (tests-special): ... additions to this variable.
46407         * elf/Makefile (tests): Change dependencies to ....
46408         (tests-special): ... additions to this variable.
46409         * grp/Makefile (tests): Change dependencies to ....
46410         (tests-special): ... additions to this variable.
46411         * iconv/Makefile (xtests): Change dependencies to ....
46412         (xtests-special): ... additions to this variable.
46413         * iconvdata/Makefile (tests): Change dependencies to ....
46414         (tests-special): ... additions to this variable.
46415         * intl/Makefile (tests): Change dependencies to ....
46416         (tests-special): ... additions to this variable.  Also add
46417         $(objpfx)tst-gettext.out.
46418         * io/Makefile (tests): Change dependencies to ....
46419         (tests-special): ... additions to this variable.
46420         * libio/Makefile (tests): Change dependencies to ....
46421         (tests-special): ... additions to this variable.
46422         * malloc/Makefile (tests): Change dependencies to ....
46423         (tests-special): ... additions to this variable.
46424         * misc/Makefile (tests): Change dependencies to ....
46425         (tests-special): ... additions to this variable.
46426         * nptl/Makefile (tests): Change dependencies to ....
46427         (tests-special): ... additions to this variable.
46428         * nptl_db/Makefile (tests): Change dependencies to ....
46429         (tests-special): ... additions to this variable.
46430         * posix/Makefile (tests): Change dependencies to ....
46431         (tests-special): ... additions to this variable.
46432         (xtests): Change dependencies to ....
46433         (xtests-special): ... additions to this variable.
46434         * resolv/Makefile (tests): Change dependencies to ....
46435         (tests-special): ... additions to this variable.
46436         (xtests): Change dependencies to ....
46437         (xtests-special): ... additions to this variable.
46438         * stdio-common/Makefile (tests): Change dependencies to ....
46439         (tests-special): ... additions to this variable.
46440         (do-tst-unbputc): Remove target.
46441         (do-tst-printf): Likewise.
46442         * stdlib/Makefile (tests): Change dependencies to ....
46443         (tests-special): ... additions to this variable.
46444         * string/Makefile (tests): Change dependencies to ....
46445         (tests-special): ... additions to this variable.
46446         * sysdeps/x86/Makefile (tests): Change dependencies to ....
46447         (tests-special): ... additions to this variable.
46449         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
46450         whole file.
46451         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
46452         whole file.
46453         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
46454         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
46456         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
46457         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
46458         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
46459         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
46460         * conform/data/libgen.h-data [XPG3]: Likewise.
46461         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
46462         * conform/data/ndbm.h-data [XPG3]: Likewise.
46463         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46464         * conform/data/netdb.h-data [XPG3]: Likewise.
46465         * conform/data/netinet/in.h-data [XPG3]: Likewise.
46466         * conform/data/poll.h-data [XPG3]: Likewise.
46467         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46468         * conform/data/strings.h-data [XPG3]: Likewise.
46469         * conform/data/stropts.h-data [XPG3]: Likewise.
46470         * conform/data/sys/mman.h-data [XPG3]: Likewise.
46471         * conform/data/sys/resource.h-data [XPG3]: Likewise.
46472         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
46473         Likewise.
46474         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
46475         * conform/data/sys/time.h-data [XPG3]: Likewise.
46476         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
46477         * conform/data/sys/uio.h-data [XPG3]: Likewise.
46478         * conform/data/sys/un.h-data [XPG3]: Likewise.
46479         * conform/data/syslog.h-data [XPG3]: Likewise.
46480         * conform/data/ucontext.h-data [XPG3]: Likewise.
46481         * conform/data/utmpx.h-data [XPG3]: Likewise.
46482         * conform/data/varargs.h-data [UNIX98]: Enable file.
46484         * manual/Makefile (INSTALL_INFO): Remove variable setting.
46486         * math/libm-test.inc (struct test_f_f_data): Move expected results
46487         into structure for each rounding mode.
46488         (struct test_ff_f_data): Likewise.
46489         (struct test_ff_f_data_nexttoward): Likewise.
46490         (struct test_fi_f_data): Likewise.
46491         (struct test_fl_f_data): Likewise.
46492         (struct test_if_f_data): Likewise.
46493         (struct test_fff_f_data): Likewise.
46494         (struct test_c_f_data): Likewise.
46495         (struct test_f_f1_data): Likewise.
46496         (struct test_fF_f1_data): Likewise.
46497         (struct test_ffI_f1_data): Likewise.
46498         (struct test_c_c_data): Likewise.
46499         (struct test_cc_c_data): Likewise.
46500         (struct test_f_i_data): Likewise.
46501         (struct test_ff_i_data): Likewise.
46502         (struct test_f_l_data): Likewise.
46503         (struct test_f_L_data): Likewise.
46504         (struct test_fFF_11_data): Likewise.
46505         (RM_): New macro.
46506         (RM_FE_DOWNWARD): Likewise.
46507         (RM_FE_TONEAREST): Likewise.
46508         (RM_FE_TOWARDZERO): Likewise.
46509         (RM_FE_UPWARD): Likewise.
46510         (RUN_TEST_LOOP_f_f): Update references to expected results.
46511         (RUN_TEST_LOOP_2_f): Likewise.
46512         (RUN_TEST_LOOP_fff_f): Likewise.
46513         (RUN_TEST_LOOP_c_f): Likewise.
46514         (RUN_TEST_LOOP_f_f1): Likewise.
46515         (RUN_TEST_LOOP_fF_f1): Likewise.
46516         (RUN_TEST_LOOP_fI_f1): Likewise.
46517         (RUN_TEST_LOOP_ffI_f1): Likewise.
46518         (RUN_TEST_LOOP_c_c): Likewise.
46519         (RUN_TEST_LOOP_cc_c): Likewise.
46520         (RUN_TEST_LOOP_f_i): Likewise.
46521         (RUN_TEST_LOOP_f_i_tg): Likewise.
46522         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46523         (RUN_TEST_LOOP_f_b): Likewise.
46524         (RUN_TEST_LOOP_f_b_tg): Likewise.
46525         (RUN_TEST_LOOP_f_l): Likewise.
46526         (RUN_TEST_LOOP_f_L): Likewise.
46527         (RUN_TEST_LOOP_fFF_11): Likewise.
46528         * math/gen-libm-test.pl (parse_args): Output four copies of
46529         expected results for each test.
46531         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46532         (__ASSUME_UTIMES): Remove.
46533         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46534         (__ASSUME_UTIMES): Likewise.
46536         * math/gen-auto-libm-tests.c: Update comment on output format.
46537         (output_for_one_input_case): Generate before-rounding and
46538         after-rounding information as conditions on output flags not
46539         floating-point format.
46540         * math/auto-libm-test-out: Regenerated.
46541         * math/gen-libm-test.pl (cond_value): New function.
46542         (or_cond_value): Use cond_value.
46543         (generate_testfile): Handle conditional exceptions.
46545 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
46547         * math/libm-test.inc (max_valid_error): New variable.
46548         (init_max_error): Take new argument specifying whether function
46549         results are exactly determined.  Set max_valid_error and bound
46550         other variables for errors based on this argument.
46551         (set_max_error): Do not record results above max_valid_error.
46552         (check_float_internal): Only accept errors of up to 0.5ulps if
46553         also at most max_valid_error.
46554         (START): Take new argument EXACT and pass it to init_max_error.
46555         (acos_test): Update call to START.
46556         (acos_test_tonearest): Likewise.
46557         (acos_test_towardzero): Likewise.
46558         (acos_test_downward): Likewise.
46559         (acos_test_upward): Likewise.
46560         (acosh_test): Likewise.
46561         (asin_test): Likewise.
46562         (asin_test_tonearest): Likewise.
46563         (asin_test_towardzero): Likewise.
46564         (asin_test_downward): Likewise.
46565         (asin_test_upward): Likewise.
46566         (asinh_test): Likewise.
46567         (atan_test): Likewise.
46568         (atanh_test): Likewise.
46569         (atan2_test): Likewise.
46570         (cabs_test): Likewise.
46571         (cacos_test): Likewise.
46572         (cacosh_test): Likewise.
46573         (carg_test): Likewise.
46574         (casin_test): Likewise.
46575         (casinh_test): Likewise.
46576         (catan_test): Likewise.
46577         (catanh_test): Likewise.
46578         (cbrt_test): Likewise.
46579         (ccos_test): Likewise.
46580         (ccosh_test): Likewise.
46581         (ceil_test): Likewise.
46582         (cexp_test): Likewise.
46583         (cimag_test): Likewise.
46584         (clog_test): Likewise.
46585         (clog10_test): Likewise.
46586         (conj_test): Likewise.
46587         (copysign_test): Likewise.
46588         (cos_test): Likewise.
46589         (cos_test_tonearest): Likewise.
46590         (cos_test_towardzero): Likewise.
46591         (cos_test_downward): Likewise.
46592         (cos_test_upward): Likewise.
46593         (cosh_test): Likewise.
46594         (cosh_test_tonearest): Likewise.
46595         (cosh_test_towardzero): Likewise.
46596         (cosh_test_downward): Likewise.
46597         (cosh_test_upward): Likewise.
46598         (cpow_test): Likewise.
46599         (cproj_test): Likewise.
46600         (creal_test): Likewise.
46601         (csin_test): Likewise.
46602         (csinh_test): Likewise.
46603         (csqrt_test): Likewise.
46604         (ctan_test): Likewise.
46605         (ctan_test_tonearest): Likewise.
46606         (ctan_test_towardzero): Likewise.
46607         (ctan_test_downward): Likewise.
46608         (ctan_test_upward): Likewise.
46609         (ctanh_test): Likewise.
46610         (ctanh_test_tonearest): Likewise.
46611         (ctanh_test_towardzero): Likewise.
46612         (ctanh_test_downward): Likewise.
46613         (ctanh_test_upward): Likewise.
46614         (erf_test): Likewise.
46615         (erfc_test): Likewise.
46616         (exp_test): Likewise.
46617         (exp_test_tonearest): Likewise.
46618         (exp_test_towardzero): Likewise.
46619         (exp_test_downward): Likewise.
46620         (exp_test_upward): Likewise.
46621         (exp10_test): Likewise.
46622         (exp10_test_tonearest): Likewise.
46623         (exp10_test_towardzero): Likewise.
46624         (exp10_test_downward): Likewise.
46625         (exp10_test_upward): Likewise.
46626         (pow10_test): Likewise.
46627         (exp2_test): Likewise.
46628         (expm1_test): Likewise.
46629         (expm1_test_tonearest): Likewise.
46630         (expm1_test_towardzero): Likewise.
46631         (expm1_test_downward): Likewise.
46632         (expm1_test_upward): Likewise.
46633         (fabs_test): Likewise.
46634         (fdim_test): Likewise.
46635         (floor_test): Likewise.
46636         (fma_test): Likewise.
46637         (fma_test_towardzero): Likewise.
46638         (fma_test_downward): Likewise.
46639         (fma_test_upward): Likewise.
46640         (fmax_test): Likewise.
46641         (fmin_test): Likewise.
46642         (fmod_test): Likewise.
46643         (fpclassify_test): Likewise.
46644         (frexp_test): Likewise.
46645         (hypot_test): Likewise.
46646         (ilogb_test): Likewise.
46647         (isfinite_test): Likewise.
46648         (finite_test): Likewise.
46649         (isgreater_test): Likewise.
46650         (isgreaterequal_test): Likewise.
46651         (isinf_test): Likewise.
46652         (isless_test): Likewise.
46653         (islessequal_test): Likewise.
46654         (islessgreater_test): Likewise.
46655         (isnan_test): Likewise.
46656         (isnormal_test): Likewise.
46657         (issignaling_test): Likewise.
46658         (isunordered_test): Likewise.
46659         (j0_test): Likewise.
46660         (j1_test): Likewise.
46661         (jn_test): Likewise.
46662         (ldexp_test): Likewise.
46663         (lgamma_test): Likewise.
46664         (gamma_test): Likewise.
46665         (lrint_test): Likewise.
46666         (lrint_test_tonearest): Likewise.
46667         (lrint_test_towardzero): Likewise.
46668         (lrint_test_downward): Likewise.
46669         (lrint_test_upward): Likewise.
46670         (llrint_test): Likewise.
46671         (llrint_test_tonearest): Likewise.
46672         (llrint_test_towardzero): Likewise.
46673         (llrint_test_downward): Likewise.
46674         (llrint_test_upward): Likewise.
46675         (log_test): Likewise.
46676         (log10_test): Likewise.
46677         (log1p_test): Likewise.
46678         (log2_test): Likewise.
46679         (logb_test): Likewise.
46680         (logb_test_downward): Likewise.
46681         (lround_test): Likewise.
46682         (llround_test): Likewise.
46683         (modf_test): Likewise.
46684         (nearbyint_test): Likewise.
46685         (nextafter_test): Likewise.
46686         (nexttoward_test): Likewise.
46687         (pow_test): Likewise.
46688         (pow_test_tonearest): Likewise.
46689         (pow_test_towardzero): Likewise.
46690         (pow_test_downward): Likewise.
46691         (pow_test_upward): Likewise.
46692         (remainder_test): Likewise.
46693         (drem_test): Likewise.
46694         (remainder_test_tonearest): Likewise.
46695         (drem_test_tonearest): Likewise.
46696         (remainder_test_towardzero): Likewise.
46697         (drem_test_towardzero): Likewise.
46698         (remainder_test_downward): Likewise.
46699         (drem_test_downward): Likewise.
46700         (remainder_test_upward): Likewise.
46701         (drem_test_upward): Likewise.
46702         (remquo_test): Likewise.
46703         (rint_test): Likewise.
46704         (rint_test_tonearest): Likewise.
46705         (rint_test_towardzero): Likewise.
46706         (rint_test_downward): Likewise.
46707         (rint_test_upward): Likewise.
46708         (round_test): Likewise.
46709         (scalb_test): Likewise.
46710         (scalbn_test): Likewise.
46711         (scalbln_test): Likewise.
46712         (signbit_test): Likewise.
46713         (sin_test): Likewise.
46714         (sin_test_tonearest): Likewise.
46715         (sin_test_towardzero): Likewise.
46716         (sin_test_downward): Likewise.
46717         (sin_test_upward): Likewise.
46718         (sincos_test): Likewise.
46719         (sinh_test): Likewise.
46720         (sinh_test_tonearest): Likewise.
46721         (sinh_test_towardzero): Likewise.
46722         (sinh_test_downward): Likewise.
46723         (sinh_test_upward): Likewise.
46724         (sqrt_test): Likewise.
46725         (sqrt_test_tonearest): Likewise.
46726         (sqrt_test_towardzero): Likewise.
46727         (sqrt_test_downward): Likewise.
46728         (sqrt_test_upward): Likewise.
46729         (tan_test): Likewise.
46730         (tan_test_tonearest): Likewise.
46731         (tan_test_towardzero): Likewise.
46732         (tan_test_downward): Likewise.
46733         (tan_test_upward): Likewise.
46734         (tanh_test): Likewise.
46735         (tgamma_test): Likewise.
46736         (trunc_test): Likewise.
46737         (y0_test): Likewise.
46738         (y1_test): Likewise.
46739         (yn_test): Likewise.
46740         (significand_test): Likewise.
46742         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
46743         individual tests in comment.
46744         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
46745         (prev_max_error): New variable.
46746         (prev_real_max_error): Likewise.
46747         (prev_imag_max_error): Likewise.
46748         (compare_ulp_data): Don't refer to test names in comment.
46749         (find_test_ulps): Remove function.
46750         (find_function_ulps): Likewise.
46751         (find_complex_function_ulps): Likewise.
46752         (init_max_error): Take function name as argument.  Look up ulps
46753         for that function.
46754         (print_ulps): Remove function.
46755         (print_max_error): Use prev_max_error instead of calling
46756         find_function_ulps.
46757         (print_complex_max_error): Use prev_real_max_error and
46758         prev_imag_max_error instead of calling find_complex_function_ulps.
46759         (check_float_internal): Take max_ulp parameter instead of calling
46760         find_test_ulps.  Don't call print_ulps.
46761         (check_float): Update call to check_float_internal.
46762         (check_complex): Update calls to check_float_internal.
46763         (START): Pass argument to init_max_error.
46764         * math/gen-libm-test.pl (%results): Don't include "kind"
46765         information.
46766         (parse_ulps): Don't handle ulps of individual tests.
46767         (print_ulps_file): Likewise.
46768         (output_ulps): Likewise.
46769         * math/README.libm-test: Update.
46770         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
46771         individual tests.
46772         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
46773         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
46774         * sysdeps/arm/libm-test-ulps: Likewise.
46775         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
46776         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
46777         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
46778         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
46779         * sysdeps/microblaze/libm-test-ulps: Likewise.
46780         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
46781         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46782         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46783         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
46784         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46785         * sysdeps/sh/libm-test-ulps: Likewise.
46786         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46787         * sysdeps/tile/libm-test-ulps: Likewise.
46788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46790 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
46792         * math/libm-test.inc (print_complex_max_error): Check separately
46793         whether real and imaginary errors are within allowed range and
46794         pass 0 to print_complex_function_ulps instead of value within
46795         allowed range.
46797 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46799         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
46800         formatting.
46801         (get_handles_fopen): Likewise.
46802         (do_write_test): Likewise.
46804         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
46806         * libio/fileops.c (do_ftell): Use cached offset when
46807         available.
46808         * libio/iofwide.c (do_ftell_wide): Likewise.
46809         * libio/iofdopen.c (_IO_new_fdopen): Don't use
46810         _IO_file_attach.
46811         * libio/wfileops.c (_IO_fwide): Don't cache offset.
46813         [BZ #16532]
46814         * libio/libioP.h (get_file_offset): New function.
46815         * libio/fileops.c (get_file_offset): Likewise.
46816         (do_ftell): Likewise.
46817         (_IO_new_file_seekoff): Split out ftell logic.
46818         * libio/wfileops.c (do_ftell_wide): Likewise.
46819         (_IO_wfile_seekoff): Split out ftell logic.
46820         * libio/tst-ftell-active-handler.c: New test case.
46821         * libio/Makefile (tests): Add it.
46823 2014-03-03  Roland McGrath  <roland@hack.frob.com>
46825         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
46826         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
46828 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46830         [BZ #16639]
46831         * nscd/connections.c (nscd_init): Call do_exit.
46832         (start_threads): Call do_exit and notify_parent.
46833         (begin_drop_privileges): Call do_exit.
46834         (finish_drop_privileges): Likewise.
46835         * nscd/selinux.c (preserve_capabilities): Likewise.
46836         (install_real_capabilities): Likewise.
46837         (nscd_selinux_enabled): Likewise.
46838         (avc_create_thread): Likewise.
46839         (avc_alloc_lock): Likewise.
46840         (nscd_avc_init): Likewise.
46841         * nscd/nscd.c (parent_fd): New static variable.
46842         (main): Create a pipe between parent and child processes.
46843         Skip closing parent_fd.
46844         (monitor_child): New function.
46845         (do_exit): Likewise.
46846         (notify_parent): Likewise.
46847         * nscd/nscd.h (notify_parent): Likewise.
46848         (do_exit): Likewise.
46850 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
46852         * malloc/malloc.c (__libc_calloc): Revert last change.
46854 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46858 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46860         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
46861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
46862         implementation.
46863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46864         (__libc_ifunc_impl_list): Likewise.
46865         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
46866         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
46867         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
46868         * string/strrchr.c: Define STRRCHR.
46870 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
46872         * benchtest/bench-strtok.c (simple_strtok): Delete.
46873         (strtok_string): Use as benchmark.
46874         * string/strtok (STRTOK): New macro.
46876 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
46878         * manual/threads.texi: Add header and standard comments to all
46879         functions.
46881         * elf/dl-lookup.c (check_match): New function.
46882         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
46883         (do_lookup_x): Remove nested function check_match. Use non-nested
46884         function check_match.
46886 2014-02-28  Roland McGrath  <roland@hack.frob.com>
46888         * csu/Makefile (generated, before-compile): Use += rather than =.
46889         * catgets/Makefile (generated, generated-dirs): Likewise.
46890         * debug/Makefile (generated): Likewise.
46891         * dlfcn/Makefile (generated): Likewise.
46892         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
46893         * iconvdata/Makefile (before-compile, generated): Likewise.
46894         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
46895         * libio/Makefile (generated): Likewise.
46896         * malloc/Makefile (generated): Likewise.
46897         * manual/Makefile (generated, generated-dirs): Likewise.
46898         * misc/Makefile (generated): Likewise.
46899         * posix/Makefile (generated): Likewise.
46900         * resolv/Makefile (generated): Likewise.
46901         * sunrpc/Makefile (generated, generated-dirs): Likewise.
46902         * timezone/Makefile (generated, generated-dirs): Likewise.
46904         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
46906 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46909         power8 implementation.
46910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
46911         file: POWER8 llround ifunc implementation.
46912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
46913         (__lllround): Add POWER8 implementation.
46914         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
46915         POWER8 llround implementation.
46917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
46918         power8 implementation.
46919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
46920         file: POWER8 llrint ifunc implementation.
46921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
46922         Add POWER8 implementation.
46923         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
46924         POWER8 llrint implementation.
46926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
46927         power8 implementation.
46928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
46929         file: POWER8 finite ifunc implementation.
46930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
46931         Add POWER8 implementation.
46932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
46933         Likewise.
46934         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
46935         POWER8 finite implementation.
46936         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
46938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
46939         power8 implementation.
46940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
46941         file: POWER8 isinf ifunc implementation.
46942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
46943         POWER8 implementation.
46944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
46945         Likewise.
46946         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
46947         isinf implementation.
46948         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
46950         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
46951         (INIT_ARCH): Add hwcap2 initialization.
46952         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46953         power8 implementation.
46954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
46955         file: POWER8 isnan ifunc implementation.
46956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
46957         POWER8 implementation.
46958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
46959         Likewise.
46960         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
46961         isnan implementation.
46962         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
46964 2014-02-27  Joey Ye  <joey.ye@arm.com>
46966         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46967         (_FP_NANFRAC_Q): Set to zero.
46969 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46971         [BZ #16623]
46972         * math/auto-libm-test-in: New test inputs.
46973         * math/auto-libm-test-out: Regenerate.
46974         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
46975         and DA.
46976         (__cos): Likewise.
46977         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46979 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
46981         * scripts/evaluate-test.sh: Take new argument indicating whether
46982         failure is expected.
46983         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
46984         indicating whether failure is expected.
46985         * conform/Makefile (test-xfail-run-conformtest): New variable.
46986         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
46987         level.
46988         * posix/Makefile (test-xfail-annexc): New variable.
46989         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
46991 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
46993         * argp/Makefile: Include Makeconfig immediately after defining
46994         subdir.
46995         * assert/Makefile: Likewise.
46996         * benchtests/Makefile: Likewise.
46997         * catgets/Makefile: Likewise.
46998         * conform/Makefile: Likewise.
46999         * crypt/Makefile: Likewise.
47000         * csu/Makefile: Likewise.
47001         (all): Remove target.
47002         * ctype/Makefile: Include Makeconfig immediately after defining
47003         subdir.
47004         * debug/Makefile: Likewise.
47005         * dirent/Makefile: Likewise.
47006         * dlfcn/Makefile: Likewise.
47007         * gmon/Makefile: Likewise.
47008         * gnulib/Makefile: Likewise.
47009         * grp/Makefile: Likewise.
47010         * gshadow/Makefile: Likewise.
47011         * hesiod/Makefile: Likewise.
47012         * hurd/Makefile: Likewise.
47013         (all): Remove target.
47014         * iconvdata/Makefile: Include Makeconfig immediately after
47015         defining subdir.
47016         * inet/Makefile: Likewise.
47017         * intl/Makefile: Likewise.
47018         * io/Makefile: Likewise.
47019         * libio/Makefile: Likewise.
47020         (all): Remove target.
47021         * locale/Makefile: Include Makeconfig immediately after defining
47022         subdir.
47023         * login/Makefile: Likewise.
47024         * mach/Makefile: Likewise.
47025         (all): Remove target.
47026         * malloc/Makefile: Include Makeconfig immediately after defining
47027         subdir.
47028         (all): Remove target.
47029         * manual/Makefile: Include Makeconfig immediately after defining
47030         subdir.
47031         * math/Makefile: Likewise.
47032         * misc/Makefile: Likewise.
47033         * nis/Makefile: Likewise.
47034         * nss/Makefile: Likewise.
47035         * po/Makefile: Likewise.
47036         (all): Remove target.
47037         * posix/Makefile: Include Makeconfig immediately after defining
47038         subdir.
47039         * pwd/Makefile: Likewise.
47040         * resolv/Makefile: Likewise.
47041         * resource/Makefile: Likewise.
47042         * rt/Makefile: Likewise.
47043         * setjmp/Makefile: Likewise.
47044         * shadow/Makefile: Likewise.
47045         * signal/Makefile: Likewise.
47046         * socket/Makefile: Likewise.
47047         * soft-fp/Makefile: Likewise.
47048         * stdio-common/Makefile: Likewise.
47049         * stdlib/Makefile: Likewise.
47050         * streams/Makefile: Likewise.
47051         * string/Makefile: Likewise.
47052         * sunrpc/Makefile: Likewise.
47053         (all): Remove target.
47054         * sysvipc/Makefile: Include Makeconfig immediately after defining
47055         subdir.
47056         * termios/Makefile: Likewise.
47057         * time/Makefile: Likewise.
47058         * timezone/Makefile: Likewise.
47059         (all): Remove target.
47060         * wcsmbs/Makefile: Include Makeconfig immediately after defining
47061         subdir.
47062         * wctype/Makefile: Likewise.
47064 2014-02-26  Steve Ellcey  <sellcey@mips.com>
47066         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47067         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47068         (libc_feholdexcept_setround_mips): Ditto.
47069         (libc_feholdsetround): New.
47070         (libc_feholdsetroundf): New.
47071         (libc_feholdsetroundl): New.
47072         (libc_feupdateenv_test_mips): New.
47073         (libc_feupdateenv_test): New.
47074         (libc_feupdateenv_testf): New.
47075         (libc_feupdateenv_testl): New.
47076         (libc_feresetround): New.
47077         (libc_feresetroundf): New.
47078         (libc_feresetroundl): New.
47079         (libc_fetestexcept_mips): New.
47080         (libc_fetestexcept): New.
47081         (libc_fetestexceptf): New.
47082         (libc_fetestexceptl): New.
47083         (HAVE_RM_CTX): New.
47084         (libc_feholdexcept_setround_mips_ctx): New.
47085         (libc_feholdexcept_setround_ctx): New.
47086         (libc_feholdexcept_setroundf_ctx): New.
47087         (libc_feholdexcept_setroundl_ctx): New.
47088         (libc_fesetenv_mips_ctx): New.
47089         (libc_fesetenv_ctx): New.
47090         (libc_fesetenv_ctxf): New.
47091         (libc_fesetenv_ctxl): New.
47092         (libc_feupdateenv_mips_ctx): New.
47093         (libc_feupdateenv_ctx): New.
47094         (libc_feupdateenvf_ctx): New.
47095         (libc_feupdateenvl_ctx): New.
47096         (libc_feholdsetround_mips_ctx): New.
47097         (libc_feholdsetround_ctx): New.
47098         (libc_feholdsetroundf_ctx): New.
47099         (libc_feholdsetroundl_ctx): New.
47100         (libc_feresetround_mips_ctx): New.
47101         (libc_feresetround_ctx): New.
47102         (libc_feresetroundf_ctx): New.
47103         (libc_feresetroundl_ctx): New.
47105 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47107         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47109         * manual/ipc.texi: New file.
47110         * manual/Makefile (chapters): Add ipc.
47111         * manual/job.texi: Add "Inter-Process Communication" to next.
47112         * manual/process.texi: Add "Inter-Process Communication" to prev.
47114 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47118 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47120         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47122         * manual/arith.texi: Fix spaces after sentences.
47123         * manual/charset.texi: Likewise.
47124         * manual/errno.texi: Likewise.
47125         * manual/install.texi: Likewise.
47126         * manual/llio.texi: Likewise.
47127         * manual/locale.texi: Likewise.
47128         * manual/maint.texi: Likewise.
47129         * manual/math.texi: Likewise.
47130         * manual/memory.texi: Likewise.
47131         * manual/message.texi: Likewise.
47132         * manual/probes.texi: Likewise.
47133         * manual/resource.texi: Likewise.
47134         * manual/signal.texi: Likewise.
47135         * manual/socket.texi: Likewise.
47136         * manual/stdio.texi: Likewise.
47137         * manual/string.texi: Likewise.
47138         * manual/time.texi: Likewise.
47139         * manual/users.texi: Likewise.
47141 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47143         [BZ #16632]
47144         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47145         _DEFAULT_SOURCE is defined.
47147 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47148             Carlos O'Donell  <carlos@redhat.com>
47150         [BZ #16613]
47151         * elf/dl-tls.c (_dl_count_modids): New function.
47152         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47153         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47154         audit library and increment generation counter.
47155         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47156         * elf/tst-audit9.c: New file.
47157         * elf/tst-auditmod9a.c: New file.
47158         * elf/tst-auditmod9b.c: New file.
47159         * elf/Makefile: Add rules to build and run tst-audit9.
47161 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47163         [BZ #15347]
47164         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47166 2014-02-25  Will Newton  <will.newton@linaro.org>
47168         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47169         (__longjmp): Restore sp and lr before restoring callee
47170         saved registers.  Add longjmp and longjmp_target
47171         SystemTap probe point.
47172         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47173         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47174         Define to zero to match jmpbuf layout.
47175         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47176         (__sigsetjmp): Save sp and lr before saving callee
47177         saved registers.  Add setjmp SystemTap probe point.
47179 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47181         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47183 2014-02-24  Andreas Schwab  <schwab@suse.de>
47185         [BZ #15804]
47186         * elf/pldd.c (wait_for_ptrace_stop): New function.
47187         (main): Call it after attaching.
47189 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47191         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47192         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47193         Versions files is now verboten.
47194         * hurd/Versions (libc: GLIBC_2.0):
47195         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47196         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47197         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47198         * mach/Versions: Likewise.
47200         * csu/Versions: Remove unused %include.
47201         * resolv/Versions: Likewise.
47203 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47205         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47206         ($(objpfx)check-local-headers.out): Likewise.
47207         ($(objpfx)begin-end-check.out): Likewise.
47208         * Makerules (check-abi-%.out): Likewise.
47209         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47210         ($(objpfx)test2.cat): Likewise.
47211         ($(objpfx)de/libc.cat): Likewise.
47212         ($(objpfx)test-gencat.out): Likewise.
47213         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47214         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47215         ($(objpfx)noload-mem): Likewise.
47216         ($(objpfx)tst-pathopt.out): Likewise.
47217         ($(objpfx)tst-rtld-load-self.out): Likewise.
47218         ($(objpfx)tst-array1-cmp.out): Likewise.
47219         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47220         ($(objpfx)tst-array2-cmp.out): Likewise.
47221         ($(objpfx)tst-array3-cmp.out): Likewise.
47222         ($(objpfx)tst-array4-cmp.out): Likewise.
47223         ($(objpfx)tst-array5-cmp.out): Likewise.
47224         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47225         ($(objpfx)check-textrel.out): Likewise.
47226         ($(objpfx)check-execstack.out): Likewise.
47227         ($(objpfx)check-localplt.out): Likewise.
47228         ($(objpfx)order2-cmp.out): Likewise.
47229         ($(objpfx)tst-leaks1-mem): Likewise.
47230         ($(objpfx)tst-leaks1-static-mem): Likewise.
47231         ($(objpfx)tst-initorder-cmp.out): Likewise.
47232         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47233         ($(objpfx)tst-unused-dep.out): Likewise.
47234         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47235         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47236         * iconv/Makefile (test-iconvconfig): Likewise.
47237         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47238         ($(objpfx)iconv-test.out): Likewise.
47239         ($(objpfx)tst-tables.out): Likewise.
47240         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47241         ($(objpfx)tst-gettext.out): Likewise.
47242         ($(objpfx)tst-translit.out): Likewise.
47243         ($(objpfx)tst-gettext2.out): Likewise.
47244         ($(objpfx)tst-gettext4.out): Likewise.
47245         ($(objpfx)tst-gettext6.out): Likewise.
47246         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47247         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47248         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47249         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47250         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47251         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47252         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47253         ($(objpfx)wordexp-tst.out): Likewise.
47254         ($(objpfx)annexc.out): Likewise.
47255         ($(objpfx)tst-fnmatch-mem): Likewise.
47256         ($(objpfx)bug-regex2-mem): Likewise.
47257         ($(objpfx)bug-regex14-mem): Likewise.
47258         ($(objpfx)bug-regex21-mem): Likewise.
47259         ($(objpfx)bug-regex31-mem): Likewise.
47260         ($(objpfx)tst-vfork3-mem): Likewise.
47261         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47262         ($(objpfx)tst-pcre-mem): Likewise.
47263         ($(objpfx)tst-boost-mem): Likewise.
47264         ($(objpfx)tst-getconf.out): Likewise.
47265         ($(objpfx)bug-ga2-mem): Likewise.
47266         ($(objpfx)bug-glob2-mem): Likewise.
47267         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47268         ($(objpfx)mtrace-tst-leaks2): Likewise.
47269         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47270         ($(objpfx)tst-printf.out): Likewise.
47271         ($(objpfx)tst-setvbuf1.out): Likewise.
47272         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47273         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47274         ($(objpfx)tst-fmtmsg.out): Likewise.
47275         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47276         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47278         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47279         * bits/sigaction.h [__USE_MISC]: Likewise.
47280         * bits/waitstatus.h: Update #endif comments.
47281         * ctype/ctype.h: Likewise.
47282         * dirent/dirent.h: Likewise.
47283         [__USE_MISC]: Remove redundant conditionals.
47284         * grp/grp.h: Update #endif comments.
47285         [__USE_GNU]: Remove redundant conditionals.
47286         [__USE_MISC]: Likewise.
47287         * inet/netinet/in.h [__USE_GNU]: Likewise.
47288         * io/sys/stat.h [__USE_MISC]: Likewise.
47289         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47290         * libio/bits/stdio.h: Update #endif comments.
47291         [__USE_MISC]: Remove redundant conditionals.
47292         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47293         * libio/stdio.h: Update #endif comments.
47294         [__USE_MISC]: Remove redundant conditionals.
47295         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47296         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47297         * math/math.h: Update #else and #endif comments.
47298         [__USE_MISC]: Remove redundant conditionals.
47299         * misc/sys/uio.h: Update #endif comments.
47300         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47301         * posix/glob.h [__USE_MISC]: Likewise.
47302         * posix/sys/types.h: Update #endif comments.
47303         [__USE_MISC]: Remove redundant conditionals.
47304         * posix/sys/wait.h: Update #endif comments.
47305         [__USE_MISC]: Remove redundant conditionals.
47306         * posix/unistd.h: Update #endif comments.
47307         [__USE_MISC]: Remove redundant conditionals.
47308         * pwd/pwd.h [__USE_GNU]: Likewise.
47309         [__USE_MISC]: Likewise.
47310         * resolv/netdb.h [__USE_GNU]: Likewise.
47311         * signal/signal.h: Update #endif comments.
47312         [__USE_MISC]: Remove redundant conditionals.
47313         * stdlib/stdlib.h: Update #else and #endif comments.
47314         [__USE_MISC]: Remove redundant conditionals.
47315         [__USE_GNU]: Likewise.
47316         * string/bits/string2.h [__USE_MISC]: Likewise.
47317         * string/string.h: Update #endif comments.
47318         [__USE_MISC]: Remove redundant conditionals.
47319         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47320         Likewise.
47321         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47322         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47323         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47324         Likewise.
47325         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47326         Likewise.
47327         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47328         comments.
47329         [__USE_MISC]: Remove redundant conditionals.
47330         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47331         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47332         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47333         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47334         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47335         Likewise.
47336         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47337         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47338         Likewise.
47339         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47340         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47341         Likewise.
47342         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47343         Likewise.
47344         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47345         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47346         Likewise.
47347         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47348         Likewise.
47349         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47350         * sysdeps/x86/bits/string.h: Update #endif comments.
47351         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47352         conditionals.
47353         * time/sys/time.h: Update #endif comments.
47354         * time/time.h: Likewise.
47355         [__USE_MISC]: Remove redundant conditionals.
47357 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
47359         [BZ #16600]
47360         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47362 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
47364         * Versions.def (librt): Add GLIBC_2.17.
47366 2014-02-21  Adam Conrad  <adconrad@0c3.net>
47368         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
47369         synonym for _SYS_AUXV_H to allow direct inclusion.
47370         * sysdeps/sparc/bits/hwcap.h: Likewise.
47371         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
47372         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
47373         * sysdeps/sparc/sysdep.h: Likewise.
47375 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47377         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
47379 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47381         * benchtests/bench-strrchr.c: Print length instead of position.
47383 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
47385         [BZ #16611]
47386         * sysdeps/unix/sysv/linux/kernel-features.h
47387         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
47388         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
47389         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
47390         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
47391         Likewise.
47392         [__i386__ || __powerpc__ || __sh__ || __sparc__]
47393         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47394         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
47395         (__ASSUME_SENDMMSG): Define instead of using previous
47396         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
47397         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47398         (__ASSUME_SENDMMSG_SYSCALL): Define.
47399         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47400         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
47401         Likewise.
47402         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47403         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47404         Likewise.
47405         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47406         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47407         Likewise.
47408         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
47409         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47410         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47411         [__ASSUME_SENDMMSG]: Change conditionals to
47412         [__ASSUME_SENDMMSG_SOCKETCALL].
47413         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47414         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
47415         Define.
47416         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47417         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
47418         Likewise.
47419         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
47420         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47421         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47422         [!__ASSUME_SENDMMSG]: Change conditional to
47423         [!__ASSUME_SENDMMSG_SOCKETCALL].
47424         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47425         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47426         Define.
47428         [BZ #16610]
47429         * sysdeps/unix/sysv/linux/kernel-features.h
47430         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
47431         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
47432         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
47433         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
47434         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47435         [__i386__ || __sparc__]
47436         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47437         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
47438         (__ASSUME_RECVMMSG): Define instead of using previous
47439         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
47440         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47441         (__ASSUME_RECVMMSG_SYSCALL): Define.
47442         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47443         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47444         Likewise.
47445         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47447         Likewise.
47448         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47449         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47450         Likewise.
47451         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
47452         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47453         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47454         [__ASSUME_RECVMMSG]: Change condition to
47455         [__ASSUME_RECVMMSG_SOCKETCALL].
47456         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47457         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47458         Define.
47459         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47460         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47461         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47462         Likewise.
47463         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
47464         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47465         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47466         [!__ASSUME_RECVMMSG]: Change condition to
47467         [!__ASSUME_RECVMMSG_SOCKETCALL].
47468         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47469         (__ASSUME_RECVMMSG_SYSCALL): Define.
47471         [BZ #16609]
47472         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
47473         __powerpc__ || __s390__ || __sh__ || __sparc__]
47474         (__ASSUME_SOCKETCALL): Define.
47475         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
47476         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
47477         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
47478         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
47479         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47480         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47481         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
47482         (__ASSUME_ACCEPT4): Define instead of using previous
47483         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
47484         __powerpc__ || __sparc__ || __s390__)] condition.
47485         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47486         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47487         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
47488         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47489         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47490         [!__ASSUME_ACCEPT4]: Change condition to
47491         [!__ASSUME_ACCEPT4_SOCKETCALL].
47492         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47493         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
47494         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
47495         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47496         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
47497         __ASSUME_ACCEPT4_SYSCALL.
47498         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
47499         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
47500         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47501         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
47502         __ASSUME_ACCEPT4_SYSCALL.
47503         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
47504         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47505         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47506         [__ASSUME_ACCEPT4]: Change condition to
47507         [__ASSUME_ACCEPT4_SOCKETCALL].
47508         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47509         (__ASSUME_SOCKETCALL): Define.
47510         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
47511         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47512         (__ASSUME_SOCKETCALL): Define.
47513         (__ASSUME_ACCEPT4): Remove.
47514         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
47515         Define.
47516         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47517         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
47518         Likewise.
47519         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47520         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47522         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
47523         macro.
47524         (HWCAP_ARM_LPAE): Likewise.
47525         (HWCAP_ARM_EVTSTRM): Likewise.
47526         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
47527         Add vpfd32, lpae and evtstrm.
47528         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
47529         Increase to 22.
47531 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
47533         * math/auto-libm-test-in: Add tests of clog10.
47534         * math/auto-libm-test-out: Regenerated.
47535         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
47536         * sysdeps/i386/fpu/libm-test-ulps: Update.
47537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47539 2014-02-18  Andreas Schwab  <schwab@suse.de>
47541         [BZ #16574]
47542         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
47543         Store non-zero if the second buffer was newly allocated.
47544         (send_dg): Likewise.
47545         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
47546         to send_vc and send_dg.
47547         (res_nsend): Pass NULL for ansp2_malloced.
47548         * resolv/res_query.c (__libc_res_nquery): Add parameter
47549         answerp2_malloced and pass it down to __libc_res_nsend.
47550         (res_nquery): Pass additional NULL to __libc_res_nquery.
47551         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
47552         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
47553         second answer buffer if answerp2_malloced was set.
47554         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
47555         (__libc_res_nquerydomain): Add parameter
47556         answerp2_malloced and pass it down to __libc_res_nquery.
47557         (res_nquerydomain): Pass additional NULL to
47558         __libc_res_nquerydomain.
47559         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
47560         additional NULL to __libc_res_nsend and __libc_res_nquery.
47561         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
47562         additional NULL to __libc_res_nsearch.
47563         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
47564         parameter of __libc_res_nsearch to check for separately allocated
47565         second buffer.
47566         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
47567         __libc_res_nquery.
47568         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
47569         additional NULL to __libc_res_nquery.
47570         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
47571         __libc_res_nsearch.
47572         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
47573         * include/resolv.h: Update prototypes of __libc_res_nquery,
47574         __libc_res_nsearch, __libc_res_nsend.
47576 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
47578         * math/auto-libm-test-in: Add tests of fma.
47579         * math/auto-libm-test-out: Regenerated.
47580         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
47581         (fma_towardzero_test_data): Likewise.
47582         (fma_downward_test_data): Likewise.
47583         (fma_upward_test_data): Likewise.
47584         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
47585         mpc_mode.
47586         (rounding_modes): Add values for new field.
47587         (func_calc_method): Add value mpfr_fff_f.
47588         (func_calc_desc): Add mpfr_fff_f union field.
47589         (test_function): Add field exact_args.
47590         (FUNC): Add macro argument EXACT_ARGS.
47591         (FUNC_mpfr_f_f): Update call to FUNC.
47592         (FUNC_mpfr_f_f): Likewise.
47593         (FUNC_mpfr_ff_f): Likewise.
47594         (FUNC_mpfr_if_f): Likewise.
47595         (FUNC_mpc_c_f): Likewise.
47596         (FUNC_mpc_c_c): Likewise.
47597         (test_functions): Add fma.  Update calls to FUNC.
47598         (handle_input_arg): Add argument exact_args.
47599         (add_test): Update call to handle_input_arg.
47600         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
47601         (output_for_one_input_case): Update call to calc_generic_results.
47602         Recalculate exact zero results in each rounding mode.
47604         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
47605         non-negative before setting low bit.
47606         * math/auto-libm-test-in: Mark one asin test possibly having
47607         spurious underflow.
47608         * math/auto-libm-test-out: Regenerated.
47609         * sysdeps/i386/fpu/libm-test-ulps: Update.
47610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47612 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
47614         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
47615         * sysdeps/unix/sysv/linux/microblaze: Move directory from
47616         ports/sysdeps/unix/sysv/linux/microblaze.
47617         * README: Add missing listing for microblaze*-*-linux-gnu.
47619 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
47621         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
47622         duplicate code
47624 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
47626         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
47627         * sysdeps/unix/sysv/linux/ia64: Move directory from
47628         ports/sysdeps/unix/sysv/linux/ia64.
47629         * README: Update listing for ia64-*-linux-gnu.
47631 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
47632             Joseph Myers  <joseph@codesourcery.com>
47634         * Makeconfig (test-name): New variable.
47635         (evaluate-test): Likewise.
47636         * Makerules (do-test-clean): Remove .test-result files.
47637         (common-mostlyclean): Likewise.
47638         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
47639         * scripts/evaluate-test.sh: New file.
47641 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
47643         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
47644         separate $(objpfx)tst-fopenloc-cmp.out and
47645         $(objpfx)tst-fopenloc-mem.out targets.
47646         (tests): Update dependencies.
47647         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
47648         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
47649         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
47650         (tst-rxspencer-no-utf8-ARGS): New variable.
47651         (tst-rxspencer-no-utf8-ENV): Likewise.
47652         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
47653         instead of $(objpfx)tst-rxspencer-mem.
47654         ($(objpfx)tst-rxspencer-mem): Change target to
47655         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
47656         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
47657         * posix/tst-rxspencer-no-utf8.c: New file.
47659         * elf/Makefile ($(objpfx)order.out): Remove rule.
47660         [$(run-built-tests) = yes] (tests): Depend on
47661         $(objpfx)order-cmp.out.
47662         ($(objpfx)order-cmp.out): New rule.
47663         [$(run-built-tests) = yes] (tests): Depend on
47664         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
47665         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
47666         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
47667         $(objpfx)tst-array5-static-cmp.out.
47668         ($(objpfx)tst-array1.out): Remove rule.
47669         ($(objpfx)tst-array1-cmp.out): New rule.
47670         ($(objpfx)tst-array1-static.out): Remove rule.
47671         ($(objpfx)tst-array1-static-cmp.out): New rule.
47672         ($(objpfx)tst-array2.out): Remove rule.
47673         ($(objpfx)tst-array2-cmp.out): New rule.
47674         ($(objpfx)tst-array3.out): Remove rule.
47675         ($(objpfx)tst-array3-cmp.out): New rule.
47676         ($(objpfx)tst-array4.out): Remove rule.
47677         ($(objpfx)tst-array4-cmp.out): New rule.
47678         ($(objpfx)tst-array5.out): Remove rule.
47679         ($(objpfx)tst-array5-cmp.out): New rule.
47680         ($(objpfx)tst-array5-static.out): Remove rule.
47681         ($(objpfx)tst-array5-static-cmp.out): New rule.
47682         [$(run-built-tests) = yes] (tests): Depend on
47683         $(objpfx)order2-cmp.out.
47684         ($(objpfx)order2.out): Remove rule.
47685         ($(objpfx)order2-cmp.out): New rule.
47686         ($(objpfx)tst-initorder.out): Remove rule.
47687         [$(run-built-tests) = yes] (tests): Depend on
47688         $(objpfx)tst-initorder-cmp.out.
47689         ($(objpfx)tst-initorder-cmp.out): New rule.
47690         ($(objpfx)tst-initorder2.out): Remove rule.
47691         [$(run-built-tests) = yes] (tests): Depend on
47692         $(objpfx)tst-initorder2-cmp.out.
47693         ($(objpfx)tst-initorder2-cmp.out): New rule.
47694         [$(run-built-tests) = yes] (tests): Depend on
47695         $(objpfx)tst-unused-dep-cmp.out.
47696         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
47697         ($(objpfx)tst-unused-dep-cmp.out): New rule.
47698         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
47699         on $(objpfx)tst-setvbuf1-cmp.out.
47700         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
47701         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
47702         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
47703         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
47704         ($(objpfx)tst-svc.out): Remove rule.
47705         ($(objpfx)tst-svc-cmp.out): New rule.
47707 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
47709         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
47710         * ctype/ctype.h [__USE_MISC]: Likewise.
47711         * dirent/dirent.h [__USE_MISC]: Likewise.
47712         * grp/grp.h [__USE_MISC]: Likewise.
47713         * io/fcntl.h [__USE_MISC]: Likewise.
47714         * io/sys/stat.h [__USE_MISC]: Likewise.
47715         * libio/stdio.h [__USE_MISC]: Likewise.
47716         * posix/unistd.h [__USE_MISC]: Likewise.
47717         * pwd/pwd.h [__USE_MISC]: Likewise.
47718         * stdlib.h [__USE_MISC]: Likewise.
47719         * string/bits/string2.h [__USE_MISC]: Likewise.
47720         * string/string.h [__USE_MISC]: Likewise.
47721         * time/time.h [__USE_MISC]: Likewise.
47723 2014-02-13  Andreas Schwab  <schwab@suse.de>
47725         [BZ #16574]
47726         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
47727         second answer buffer if it was separately allocated.
47729 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
47731         * sysdeps/mips/math-tests.h: Include <features.h>.
47732         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
47733         (ROUNDING_TESTS_long_double): Do not define.
47734         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
47735         (EXCEPTION_TESTS_long_double): Likewise.
47736         * sysdeps/mips/mips64/libm-test-ulps: Update.
47738         * include/features.h (__USE_BSD): Remove macro definitions.
47739         (__USE_SVID): Likewise.
47740         (_BSD_SOURCE): Likewise.
47741         (_SVID_SOURCE): Likewise.
47742         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
47743         from definition of _DEFAULT_SOURCE.
47744         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
47745         [_DEFAULT_SOURCE].
47746         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
47747         * bits/mman.h [__USE_BSD]: Likewise.
47748         * bits/termios.h [__USE_BSD]: Likewise.
47749         * bits/waitstatus.h [__USE_BSD]: Likewise.
47750         * ctype/ctype.h [__USE_SVID]: Likewise.
47751         * dirent/dirent.h [__USE_BSD]: Likewise.
47752         * grp/grp.h [__USE_SVID]: Likewise.
47753         [__USE_BSD]: Likewise.
47754         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
47755         * io/fcntl.h [__USE_BSD]: Likewise.
47756         * io/ftw.h [__USE_BSD]: Likewise.
47757         * io/sys/stat.h [__USE_BSD]: Likewise.
47758         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
47759         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
47760         * libio/stdio.h [__USE_SVID]: Likewise.
47761         [__USE_BSD]: Likewise.
47762         * math/math.h [__USE_SVID]: Likewise.
47763         [__USE_BSD]: Likewise.
47764         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
47765         * misc/bits/syslog.h [__USE_BSD]: Likewise.
47766         * misc/search.h [__USE_SVID]: Likewise.
47767         * misc/sys/mman.h [__USE_BSD]: Likewise.
47768         * misc/sys/syslog.h [__USE_BSD]: Likewise.
47769         * misc/sys/uio.h [__USE_BSD]: Likewise.
47770         * posix/bits/unistd.h [__USE_BSD]: Likewise.
47771         * posix/glob.h [__USE_BSD]: Likewise.
47772         * posix/regex.h [__USE_BSD]: Likewise.
47773         * posix/sys/types.h [__USE_BSD]: Likewise.
47774         [__USE_SVID]: Likewise.
47775         * posix/sys/utsname.h [__USE_SVID]: Likewise.
47776         * posix/sys/wait.h [__USE_BSD]: Likewise.
47777         [__USE_SVID]: Likewise.
47778         * posix/unistd.h [__USE_BSD]: Likewise.
47779         [__USE_SVID]: Likewise.
47780         * pwd/pwd.h [__USE_SVID]: Likewise.
47781         * resolv/netdb.h [__USE_BSD]: Likewise.
47782         * setjmp/setjmp.h [__USE_BSD]: Likewise.
47783         * signal/signal.h [__USE_BSD]: Likewise.
47784         [__USE_SVID]: Likewise.
47785         * socket/sys/socket.h [__USE_BSD]: Likewise.
47786         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
47787         * stdlib/stdlib.h [__USE_BSD]: Likewise.
47788         [__USE_SVID]: Likewise.
47789         * string/bits/string2.h [__USE_BSD]: Likewise.
47790         [__USE_SVID]: Likewise.
47791         * string/bits/string3.h [__USE_BSD]: Likewise.
47792         * string/endian.h [__USE_BSD]: Likewise.
47793         * string/string.h [__USE_SVID]: Likewise.
47794         [__USE_BSD]: Likewise.
47795         * string/strings.h [__USE_BSD]: Likewise.
47796         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
47797         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
47798         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
47799         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
47800         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
47801         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
47802         Likewise.
47803         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
47804         Likewise.
47805         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
47806         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
47807         Likewise.
47808         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
47809         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
47810         Likewise.
47811         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
47812         Likewise.
47813         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
47814         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
47815         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
47816         Likewise.
47817         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
47818         Likewise.
47819         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
47820         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
47821         * termios/termios.h [__USE_BSD]: Likewise.
47822         * time/sys/time.h [__USE_BSD]: Likewise.
47823         * time/time.h [__USE_BSD]: Likewise.
47824         [__USE_SVID]: Likewise.
47826         * Makefile (subdir_targets): Remove subdir_lint.out.
47828         * stdio-common/Makefile (do-tst-unbputc): Remove target.
47829         (do-tst-printf): Likewise.
47830         (tests): Depend directly on $(objpfx)tst-unbputc.out and
47831         $(objpfx)tst-printf.out.
47833         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
47835         * Makerules (check-abi-%): Change target to
47836         $(objpfx)check-abi-%.out.
47837         (check-abi target): Update dependencies.
47838         (check-abi-pattern variable): Redirect output of diff to $@.
47839         (check-abi variable): Likewise.
47840         * elf/Makefile (check-abi): Update dependencies.
47842         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
47843         unused.
47844         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
47845         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
47846         subnormal range.
47847         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
47848         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
47849         value has largest subnormal exponent.
47850         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
47851         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
47852         * sysdeps/aarch64/soft-fp/sfp-machine.h
47853         (_FP_TININESS_AFTER_ROUNDING): New macro.
47854         * sysdeps/alpha/soft-fp/sfp-machine.h
47855         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47856         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47857         Likewise.
47858         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
47859         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47860         * sysdeps/mips/soft-fp/sfp-machine.h
47861         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47862         * sysdeps/powerpc/soft-fp/sfp-machine.h
47863         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47864         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47865         Likewise.
47866         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47867         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47868         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47869         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47870         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47871         Likewise.
47873 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
47875         [BZ #16545]
47876         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
47877         model 1.
47879 2014-02-12  Richard Henderson  <rth@redhat.com>
47881         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
47882         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
47883         * sysdeps/unix/sysv/linux/alpha: Move directory from
47884         ports/sysdeps/unix/sysv/linux/alpha.
47885         * README: Update listing for alpha-*-linux-gnu.
47887 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
47889         * include/features.h: Update comment documenting feature test
47890         macros.
47891         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
47892         _DEFAULT_SOURCE.
47893         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
47894         (_SVID_SOURCE): Likewise.
47895         (_DEFAULT_SOURCE): Update description of default features.
47896         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
47897         with _GNU_SOURCE.
47898         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
47899         (S_ISVTX): Likewise.
47900         * manual/math.texi (Mathematical Constants): Likewise.
47901         * manual/signal.texi (Interrupted Primitives): Likewise.
47902         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
47903         * math/test-matherr.c (_SVID_SOURCE): Do not define.
47904         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
47905         Don't refer to _SVID_SOURCE in warning text.
47907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47909         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
47910         already defined.
47911         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
47912         * sysdeps/mips/dl-lookup.c: Remove.
47913         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
47915 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47917         [BZ #16447]
47918         * math/auto-libm-test-in: Add testcase for expl.
47919         * math/auto-libm-test-out: Regenerate.
47920         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
47921         calculation of unsafe.
47922         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
47924 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47926         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
47927         * sysdeps/unix/sysv/linux/aarch64: Move directory from
47928         ports/sysdeps/unix/sysv/linux/aarch64.
47929         * README: Update listing for aarch64*-*-linux-gnu.
47931 2014-02-11  Will Newton  <will.newton@linaro.org>
47933         * manual/probes.texi (Mathematical Function Probes): Use
47934         "triggered" instead of "hit".
47936         * manual/probes.texi (Internal Probes): Add documentation
47937         of setjmp, longjmp and longjmp_target probes.
47939         * include/stap-probe.h: Add comment about probe argument
47940         format.
47942         * malloc/mtrace.c (attribute_hidden): Remove unused macro
47943         definition.  (tr_where, tr_freehook, tr_mallochook,
47944         tr_reallochook, tr_memalignhook): Use ANSI protoype.
47946 2014-02-11  David S. Miller  <davem@davemloft.net>
47948         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
47949         processing int_tests.
47951 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
47953         * sysdeps/mips: Move directory from ports/sysdeps/mips.
47954         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
47955         * sysdeps/unix/sysv/linux/mips: Move directory from
47956         ports/sysdeps/unix/sysv/linux/mips.
47957         * README: Update listing for mips-*-linux-gnu and
47958         mips64-*-linux-gnu.
47960 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
47962         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
47963         * sysdeps/unix/sysv/linux/m68k: Move directory from
47964         ports/sysdeps/unix/sysv/linux/m68k.
47965         * README: Update listing for m68k-*-linux-gnu.
47967 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
47969         * sysdeps/tile: Move directory from ports/sysdeps/tile.
47970         * sysdeps/unix/sysv/linux/generic: Move directory from
47971         ports/sysdeps/unix/sysv/linux/generic.
47972         * sysdeps/unix/sysv/linux/tile: Move directory from
47973         ports/sysdeps/unix/sysv/linux/tile.
47974         * README: Update listing for tile*-*-linux-gnu.
47976 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
47978         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
47979         __builtin_expect.
47980         * benchtests/bench-memmem.c (simple_memmem): Likewise.
47981         * catgets/open_catalog.c (__open_catalog): Likewise.
47982         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
47983         * debug/confstr_chk.c: Likewise.
47984         * debug/fread_chk.c (__fread_chk): Likewise.
47985         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
47986         * debug/getgroups_chk.c: Likewise.
47987         * debug/mbsnrtowcs_chk.c: Likewise.
47988         * debug/mbsrtowcs_chk.c: Likewise.
47989         * debug/mbstowcs_chk.c: Likewise.
47990         * debug/memcpy_chk.c: Likewise.
47991         * debug/memmove_chk.c: Likewise.
47992         * debug/mempcpy_chk.c: Likewise.
47993         * debug/memset_chk.c: Likewise.
47994         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47995         * debug/strcat_chk.c (__strcat_chk): Likewise.
47996         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
47997         * debug/strncat_chk.c (__strncat_chk): Likewise.
47998         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
47999         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
48000         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
48001         * debug/wcpncpy_chk.c: Likewise.
48002         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48003         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
48004         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
48005         * debug/wcsncpy_chk.c: Likewise.
48006         * debug/wcsnrtombs_chk.c: Likewise.
48007         * debug/wcsrtombs_chk.c: Likewise.
48008         * debug/wcstombs_chk.c: Likewise.
48009         * debug/wmemcpy_chk.c: Likewise.
48010         * debug/wmemmove_chk.c: Likewise.
48011         * debug/wmempcpy_chk.c: Likewise.
48012         * debug/wmemset_chk.c: Likewise.
48013         * dirent/scandirat.c (SCANDIRAT): Likewise.
48014         * dlfcn/dladdr1.c (dladdr1): Likewise.
48015         * dlfcn/dladdr.c (dladdr): Likewise.
48016         * dlfcn/dlclose.c (dlclose_doit): Likewise.
48017         * dlfcn/dlerror.c (__dlerror): Likewise.
48018         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
48019         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
48020         * dlfcn/dlopen.c (dlopen_doit): Likewise.
48021         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
48022         * dlfcn/dlsym.c (dlsym_doit): Likewise.
48023         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
48024         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
48025         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
48026         Likewise.
48027         * elf/dl-conflict.c: Likewise.
48028         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
48029         * elf/dl-dst.h: Likewise.
48030         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
48031         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
48032         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
48033         * elf/dl-init.c (call_init, _dl_init): Likewise.
48034         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
48035         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
48036         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
48037         Likewise.
48038         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
48039         Likewise.
48040         * elf/dl-minimal.c (__libc_memalign): Likewise.
48041         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
48042         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48043         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
48044         * elf/dl-sym.c (do_sym): Likewise.
48045         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
48046         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
48047         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
48048         * elf/dl-writev.h (_dl_writev): Likewise.
48049         * elf/ldconfig.c (search_dir): Likewise.
48050         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48051         (dl_main): Likewise.
48052         * elf/setup-vdso.h (setup_vdso): Likewise.
48053         * grp/compat-initgroups.c (compat_call): Likewise.
48054         * grp/fgetgrent.c (fgetgrent): Likewise.
48055         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48056         * grp/putgrent.c (putgrent): Likewise.
48057         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48058         Likewise.
48059         * hurd/hurdinit.c: Likewise.
48060         * iconvdata/8bit-gap.c (struct): Likewise.
48061         * iconvdata/ansi_x3.110.c : Likewise.
48062         * iconvdata/big5.c : Likewise.
48063         * iconvdata/big5hkscs.c : Likewise.
48064         * iconvdata/cp1255.c: Likewise.
48065         * iconvdata/cp1258.c : Likewise.
48066         * iconvdata/cp932.c : Likewise.
48067         * iconvdata/euc-cn.c: Likewise.
48068         * iconvdata/euc-jisx0213.c : Likewise.
48069         * iconvdata/euc-jp.c: Likewise.
48070         * iconvdata/euc-jp-ms.c : Likewise.
48071         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48072         * iconvdata/gb18030.c : Likewise.
48073         * iconvdata/gbbig5.c (const): Likewise.
48074         * iconvdata/gbgbk.c: Likewise.
48075         * iconvdata/gbk.c : Likewise.
48076         * iconvdata/ibm1364.c : Likewise.
48077         * iconvdata/ibm930.c : Likewise.
48078         * iconvdata/ibm932.c: Likewise.
48079         * iconvdata/ibm933.c : Likewise.
48080         * iconvdata/ibm935.c : Likewise.
48081         * iconvdata/ibm937.c : Likewise.
48082         * iconvdata/ibm939.c : Likewise.
48083         * iconvdata/ibm943.c: Likewise.
48084         * iconvdata/iso_11548-1.c: Likewise.
48085         * iconvdata/iso-2022-cn.c : Likewise.
48086         * iconvdata/iso-2022-cn-ext.c : Likewise.
48087         * iconvdata/iso-2022-jp-3.c: Likewise.
48088         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48089         * iconvdata/iso-2022-kr.c : Likewise.
48090         * iconvdata/iso646.c (gconv_end): Likewise.
48091         * iconvdata/iso_6937-2.c : Likewise.
48092         * iconvdata/iso_6937.c : Likewise.
48093         * iconvdata/iso8859-1.c: Likewise.
48094         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48095         * iconvdata/shift_jisx0213.c : Likewise.
48096         * iconvdata/sjis.c : Likewise.
48097         * iconvdata/t.61.c : Likewise.
48098         * iconvdata/tcvn5712-1.c : Likewise.
48099         * iconvdata/tscii.c: Likewise.
48100         * iconvdata/uhc.c : Likewise.
48101         * iconvdata/unicode.c (gconv_end): Likewise.
48102         * iconvdata/utf-16.c (gconv_end): Likewise.
48103         * iconvdata/utf-32.c (gconv_end): Likewise.
48104         * iconvdata/utf-7.c (base64): Likewise.
48105         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48106         * iconv/gconv_close.c (__gconv_close): Likewise.
48107         * iconv/gconv_open.c (__gconv_open): Likewise.
48108         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48109         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48110         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48111         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48112         (ucs4le_internal_loop_single): Likewise.
48113         * iconv/iconv.c (iconv): Likewise.
48114         * iconv/iconv_close.c: Likewise.
48115         * iconv/loop.c (SINGLE): Likewise.
48116         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48117         * include/atomic.h: Likewise.
48118         * inet/inet6_option.c (option_alloc): Likewise.
48119         * intl/bindtextdom.c (set_binding_values): Likewise.
48120         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48121         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48122         * intl/localealias.c (read_alias_file): Likewise.
48123         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48124         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48125         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48126         * libio/fmemopen.c (fmemopen): Likewise.
48127         * libio/iofgets.c (_IO_fgets): Likewise.
48128         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48129         * libio/iofgetws.c (fgetws): Likewise.
48130         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48131         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48132         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48133         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48134         * locale/findlocale.c (_nl_find_locale): Likewise.
48135         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48136         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48137         Likewise.
48138         * locale/setlocale.c (setlocale): Likewise.
48139         * login/programs/pt_chown.c (main): Likewise.
48140         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48141         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48142         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48143         (mmap, mmap64, mremap, munmap): Likewise.
48144         * math/e_exp2l.c: Likewise.
48145         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48146         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48147         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48148         * math/s_catan.c (__catan): Likewise.
48149         * math/s_catanf.c (__catanf): Likewise.
48150         * math/s_catanh.c (__catanh): Likewise.
48151         * math/s_catanhf.c (__catanhf): Likewise.
48152         * math/s_catanhl.c (__catanhl): Likewise.
48153         * math/s_catanl.c (__catanl): Likewise.
48154         * math/s_ccosh.c (__ccosh): Likewise.
48155         * math/s_ccoshf.c (__ccoshf): Likewise.
48156         * math/s_ccoshl.c (__ccoshl): Likewise.
48157         * math/s_cexp.c (__cexp): Likewise.
48158         * math/s_cexpf.c (__cexpf): Likewise.
48159         * math/s_cexpl.c (__cexpl): Likewise.
48160         * math/s_clog10.c (__clog10): Likewise.
48161         * math/s_clog10f.c (__clog10f): Likewise.
48162         * math/s_clog10l.c (__clog10l): Likewise.
48163         * math/s_clog.c (__clog): Likewise.
48164         * math/s_clogf.c (__clogf): Likewise.
48165         * math/s_clogl.c (__clogl): Likewise.
48166         * math/s_csin.c (__csin): Likewise.
48167         * math/s_csinf.c (__csinf): Likewise.
48168         * math/s_csinh.c (__csinh): Likewise.
48169         * math/s_csinhf.c (__csinhf): Likewise.
48170         * math/s_csinhl.c (__csinhl): Likewise.
48171         * math/s_csinl.c (__csinl): Likewise.
48172         * math/s_csqrt.c (__csqrt): Likewise.
48173         * math/s_csqrtf.c (__csqrtf): Likewise.
48174         * math/s_csqrtl.c (__csqrtl): Likewise.
48175         * math/s_ctan.c (__ctan): Likewise.
48176         * math/s_ctanf.c (__ctanf): Likewise.
48177         * math/s_ctanh.c (__ctanh): Likewise.
48178         * math/s_ctanhf.c (__ctanhf): Likewise.
48179         * math/s_ctanhl.c (__ctanhl): Likewise.
48180         * math/s_ctanl.c (__ctanl): Likewise.
48181         * math/w_pow.c: Likewise.
48182         * math/w_powf.c: Likewise.
48183         * math/w_powl.c: Likewise.
48184         * math/w_scalb.c (sysv_scalb): Likewise.
48185         * math/w_scalbf.c (sysv_scalbf): Likewise.
48186         * math/w_scalbl.c (sysv_scalbl): Likewise.
48187         * misc/error.c (error_tail): Likewise.
48188         * misc/pselect.c (__pselect): Likewise.
48189         * nis/nis_callback.c (__nis_create_callback): Likewise.
48190         * nis/nis_call.c (__nisfind_server): Likewise.
48191         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48192         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48193         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48194         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48195         * nis/nis_lookup.c (nis_lookup): Likewise.
48196         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48197         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48198         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48199         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48200         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48201         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48202         * nis/nss_compat/compat-initgroups.c (add_group)
48203         (internal_getgrent_r): Likewise.
48204         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48205         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48206         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48207         (internal_getspnam_r): Likewise.
48208         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48209         (_nss_nis_getaliasbyname_r): Likewise.
48210         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48211         (_nss_nis_getntohost_r): Likewise.
48212         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48213         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48214         (_nss_nis_getgrgid_r): Likewise.
48215         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48216         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48217         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48218         (_nss_nis_gethostbyname4_r): Likewise.
48219         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48220         (initgroups_netid): Likewise.
48221         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48222         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48223         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48224         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48225         (_nss_nis_getprotobynumber_r): Likewise.
48226         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48227         (_nss_nis_getsecretkey): Likewise.
48228         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48229         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48230         (_nss_nis_getpwuid_r): Likewise.
48231         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48232         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48233         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48234         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48235         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48236         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48237         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48238         Likewise.
48239         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48240         (_nss_nisplus_getntohost_r): Likewise.
48241         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48242         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48243         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48244         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48245         Likewise.
48246         * nis/nss_nisplus/nisplus-initgroups.c
48247         (_nss_nisplus_initgroups_dyn): Likewise.
48248         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48249         (_nss_nisplus_getnetbyaddr_r): Likewise.
48250         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48251         (_nss_nisplus_getprotobynumber_r): Likewise.
48252         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48253         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48254         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48255         Likewise.
48256         * nis/nss_nisplus/nisplus-service.c
48257         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48258         (_nss_nisplus_getservbyport_r): Likewise.
48259         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48260         (_nss_nisplus_getspnam_r): Likewise.
48261         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48262         Likewise.
48263         * nscd/aicache.c (addhstaiX): Likewise.
48264         * nscd/cache.c (cache_search, prune_cache): Likewise.
48265         * nscd/connections.c (register_traced_file, send_ro_fd)
48266         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48267         (main_loop_epoll): Likewise.
48268         * nscd/grpcache.c (addgrbyX): Likewise.
48269         * nscd/hstcache.c (addhstbyX): Likewise.
48270         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48271         * nscd/mem.c (gc, mempool_alloc): Likewise.
48272         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48273         (addinnetgrX): Likewise.
48274         * nscd/nscd-client.h (__nscd_acquire_maplock)
48275         (__nscd_drop_map_ref): Likewise.
48276         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48277         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48278         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48279         Likewise.
48280         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48281         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48282         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48283         (__nscd_get_map_ref): Likewise.
48284         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48285         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48286         Likewise.
48287         * nscd/pwdcache.c (addpwbyX): Likewise.
48288         * nscd/selinux.c (preserve_capabilities): Likewise.
48289         * nscd/servicescache.c (addservbyX): Likewise.
48290         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48291         * posix/fnmatch.c (fnmatch): Likewise.
48292         * posix/getopt.c (_getopt_internal_r): Likewise.
48293         * posix/glob.c (glob, glob_in_dir): Likewise.
48294         * posix/wordexp.c (exec_comm_child): Likewise.
48295         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48296         (getanswer_r, gaih_getanswer_slice): Likewise.
48297         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48298         * resolv/res_init.c: Likewise.
48299         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48300         * resolv/res_query.c (__libc_res_nquery): Likewise.
48301         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48302         Likewise.
48303         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48304         * stdio-common/perror.c (perror): Likewise.
48305         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48306         * stdio-common/tmpnam.c (tmpnam): Likewise.
48307         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48308         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48309         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48310         Likewise.
48311         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48312         * stdlib/putenv.c (putenv): Likewise.
48313         * stdlib/setenv.c (__add_to_environ): Likewise.
48314         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48315         * stdlib/strtol_l.c (INTERNAL): Likewise.
48316         * string/memmem.c (memmem): Likewise.
48317         * string/strerror.c (strerror): Likewise.
48318         * string/strnlen.c (__strnlen): Likewise.
48319         * string/test-memmem.c (simple_memmem): Likewise.
48320         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48321         * sunrpc/pm_getport.c (__get_socket): Likewise.
48322         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48323         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48324         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48325         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48326         Likewise.
48327         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48328         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48329         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48330         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48331         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48332         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48333         Likewise.
48334         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48335         Likewise.
48336         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48337         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48338         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48339         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48340         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48341         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48342         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48343         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48344         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48345         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48346         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48347         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48348         Likewise.
48349         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48350         Likewise.
48351         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48352         Likewise.
48353         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48354         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48355         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48356         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48357         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48358         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48359         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48360         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48361         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48362         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48363         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48364         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48365         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48366         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
48367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48368         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
48369         Likewise.
48370         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
48371         Likewise.
48372         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
48373         Likewise.
48374         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
48375         Likewise.
48376         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48377         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48378         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
48379         Likewise.
48380         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
48381         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
48382         * sysdeps/posix/opendir.c (__opendirat): Likewise.
48383         * sysdeps/posix/sleep.c: Likewise.
48384         * sysdeps/posix/tempname.c: Likewise.
48385         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
48386         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48387         Likewise.
48388         * sysdeps/powerpc/powerpc32/dl-machine.h
48389         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
48390         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48391         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48392         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
48393         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
48394         Likewise.
48395         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
48396         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
48397         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48398         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
48399         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48400         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
48401         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
48402         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
48403         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48404         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
48405         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
48406         (elf_machine_lazy_rel): Likewise.
48407         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48408         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
48409         (elf_machine_lazy_rel): Likewise.
48410         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
48411         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
48412         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
48413         * sysdeps/unix/grantpt.c (grantpt): Likewise.
48414         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
48415         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
48416         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
48417         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48418         Likewise.
48419         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
48420         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
48421         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
48422         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
48423         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48424         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48425         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
48426         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
48427         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
48428         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48429         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48430         Likewise.
48431         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
48432         (__posix_fallocate64_l64): Likewise.
48433         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
48434         (posix_fallocate): Likewise.
48435         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
48436         Likewise.
48437         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48438         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
48439         (getifaddrs_internal): Likewise.
48440         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
48441         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
48442         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
48443         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
48444         * sysdeps/unix/sysv/linux/posix_fallocate64.c
48445         (__posix_fallocate64_l64): Likewise.
48446         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
48447         Likewise.
48448         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
48449         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
48450         (__get_clockfreq): Likewise.
48451         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
48452         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
48453         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
48454         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48455         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48456         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
48457         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
48458         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
48459         Likewise.
48460         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
48461         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
48462         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
48463         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
48464         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48465         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
48466         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
48467         Likewise.
48468         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48469         (posix_fallocate): Likewise.
48470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48471         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
48472         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
48473         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
48474         (elf_machine_rela, elf_machine_rela_relative)
48475         (elf_machine_lazy_rel): Likewise.
48476         * time/asctime.c (asctime_internal): Likewise.
48477         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
48478         * time/tzset.c (__tzset_parse_tz): Likewise.
48479         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
48480         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
48481         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
48482         * wcsmbs/wcsmbsload.h: Likewise.
48484         [BZ #15894]
48485         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
48487         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
48488         (arena_get2): Remove THREAD_STATS conditionals.
48489         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
48490         (__malloc_stats, int): Likewise.
48492 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
48494         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
48495         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
48497         * manual/setjmp.texi: Fix typos/grammar errors.
48499         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
48500         Only return early when n is <= 0.  Delete unused return statement.
48502         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
48503         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
48504         * debug/tst-longjmp_chk3.c: New file.
48506         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
48507         (test_main): Replace code with set_fortify_handler call.
48508         * debug/test-strcpy_chk.c: Likewise.
48509         * debug/tst-chk1.c: Likewise.
48510         * debug/tst-longjmp_chk.c: Likewise.
48511         * test-skeleton.c: Include fcntl.h & paths.h
48512         (set_fortify_handler): Define.
48514         * debug/tst-longjmp_chk.c: Add header comment and include
48515         ../test-skeleton.c.
48516         (do_test): Mark static.
48517         (TEST_FUNCTION): Define.
48519         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
48520         (IP_PMTUDISC_INTERFACE): Likewise.
48521         (IP_MULTICAST_IF): Likewise.
48522         (IP_MULTICAST_TTL): Likewise.
48523         (IP_MULTICAST_LOOP): Likewise.
48524         (IP_ADD_MEMBERSHIP): Likewise.
48525         (IP_DROP_MEMBERSHIP): Likewise.
48526         (IP_UNBLOCK_SOURCE): Likewise.
48527         (IP_BLOCK_SOURCE): Likewise.
48528         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
48529         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
48530         (IP_MSFILTER): Likewise.
48531         (MCAST_JOIN_GROUP): Likewise.
48532         (MCAST_BLOCK_SOURCE): Likewise.
48533         (MCAST_UNBLOCK_SOURCE): Likewise.
48534         (MCAST_LEAVE_GROUP): Likewise.
48535         (MCAST_JOIN_SOURCE_GROUP): Likewise.
48536         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
48537         (MCAST_MSFILTER): Likewise.
48538         (IP_MULTICAST_ALL): Likewise.
48539         (IP_UNICAST_IF): Likewise.
48541         * timezone/Makefile: Delete $(have-ksh) check.
48542         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
48543         * timezone/tzselect.ksh: Add +x mode bits.
48545         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
48546         (ANON_INODE_FS_MAGIC): Likewise.
48547         (BDEVFS_MAGIC): Likewise.
48548         (BINFMTFS_MAGIC): Likewise.
48549         (BTRFS_TEST_MAGIC): Likewise.
48550         (CRAMFS_MAGIC_WEND): Likewise.
48551         (DEBUGFS_MAGIC): Likewise.
48552         (ECRYPTFS_SUPER_MAGIC): Likewise.
48553         (EXT3_SUPER_MAGIC): Likewise.
48554         (EXT4_SUPER_MAGIC): Likewise.
48555         (FUTEXFS_SUPER_MAGIC): Likewise.
48556         (HOSTFS_SUPER_MAGIC): Likewise.
48557         (HUGETLBFS_MAGIC): Likewise.
48558         (MINIX3_SUPER_MAGIC): Likewise.
48559         (MTD_INODE_FS_MAGIC): Likewise.
48560         (NILFS_SUPER_MAGIC): Likewise.
48561         (OPENPROM_SUPER_MAGIC): Likewise.
48562         (PIPEFS_MAGIC): Likewise.
48563         (PSTOREFS_MAGIC): Likewise.
48564         (QNX6_SUPER_MAGIC): Likewise.
48565         (RAMFS_MAGIC): Likewise.
48566         (REISERFS_SUPER_MAGIC_STRING): Likewise.
48567         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
48568         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
48569         (SECURITYFS_MAGIC): Likewise.
48570         (SELINUX_MAGIC): Likewise.
48571         (SMACK_MAGIC): Likewise.
48572         (SOCKFS_MAGIC): Likewise.
48573         (SQUASHFS_MAGIC): Likewise.
48574         (STACK_END_MAGIC): Likewise.
48575         (TMPFS_MAGIC): Likewise.
48576         (USBDEVICE_SUPER_MAGIC): Likewise.
48577         (V9FS_MAGIC): Likewise.
48578         (XENFS_SUPER_MAGIC): Likewise.
48579         (CRAMFS_MAGIC): Fix typo in comment.
48580         (EXT2_SUPER_MAGIC): Update comment.
48581         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
48583 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
48585         * sysdeps/arm: Move directory from ports/sysdeps/arm.
48586         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
48587         * sysdeps/unix/sysv/linux/arm: Move directory from
48588         ports/sysdeps/unix/sysv/linux/arm.
48589         * README: Update listing for arm-*-linux-gnueabi.
48591         * README: Remove mention of am33.
48593 2014-02-07  Roland McGrath  <roland@hack.frob.com>
48595         * bits/sigset.h (__sigemptyset): Use a statement expression rather
48596         than the comma operator, to avoid "rhs of comma has no effect"
48597         compiler warnings.
48598         (__sigfillset, __sigandset, __sigorset): Likewise.
48599         * include/signal.h (__sigemptyset): Likewise.
48600         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
48602 2014-02-07  Allan McRae  <allan@archlinux.org>
48604         * version.h (RELEASE): Set to "development".
48605         (VERSION): Set to "2.19.90"
48606         * NEWS: Add 2.20 section.
48608 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
48610         [BZ #16529]
48611         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
48613 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48615         * manual/contrib.texi: Update entry for Carlos O'Donell,
48616         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
48618 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
48620         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
48622         * sysdeps/unix/sysv/linux/kernel-features.h
48623         [__LINUX_KERNEL_VERSION >= 0x020621]
48624         (__ASSUME_PROC_PID_TASK_COMM): Define.
48626 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48628         [BZ #16398]
48629         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
48630         conversion when destination buffer does not have enough space.
48631         * libio/tst-ftell-partial-wide.c: New test case.
48632         * libio/Makefile (tests): Add tst-ftell-partial-wide.
48634         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
48635         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
48636         Leonard and Allan McRae.
48638 2014-02-04  David S. Miller  <davem@davemloft.net>
48640         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
48641         32-bit.
48643 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48646         New file
48647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48648         New file
48649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48650         New file.
48651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48652         New file.
48653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48654         New file.
48655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48656         New file.
48657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48658         New file.
48659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48660         New file.
48661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48662         New file.
48663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48664         New file.
48665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48666         New file.
48667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48668         New file.
48669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48670         New file.
48672 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48674         * nptl/shlib-versions: Change powerpc*le start to 2.17.
48675         * shlib-versions: Likewise.
48677 2014-02-04  Roland McGrath  <roland@hack.frob.com>
48678             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48680         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
48681         (abilist-pattern): New variable, set to %-le.abilist.
48683         * Makerules (abilist-pattern): New variable.
48684         (vpath): Use $(abilist-pattern) in place of %.abilist.
48685         (check-abi-% pattern rule): Likewise.
48686         (check-abi, update-abi): Likewise.
48688 2014-02-04  Eric Wong  <normalperson@yhbt.net>
48690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48692 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
48694         * manual/startup.texi: Add next, previous, and top entries for
48695         the `Program Arguments' and `Environment Variables' nodes.
48697 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
48699         * manual/macros.texi: Add comments before MTASC-safety macros.
48701         * manual/users.texi: Document MTASC-safety properties.
48703         * manual/threads.texi (pthread_key_create, pthread_key_delete)
48704         (pthread_getspecific, pthread_setspecific): Format with
48705         @deftypefun, and add @safety note.
48706         * manual/signal.texi: Move comments that analyze the above
48707         functions to their home place.
48709 2014-02-03  Allan McRae  <allan@archlinux.org>
48711         * po/sl.po: Update Slovenian translation from translation project.
48713 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
48715         * manual/time.texi (timegm): Add missing blank after @c.
48716         Reported by Joseph Myers <joseph@codesourcery.com>.
48718 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
48720         * manual/check-safety.sh: New.
48721         * manual/Makefile ($(objpfx)stamp-summary): Run it.
48723         * manual/terminal.texi: Document MTASC-safety properties.
48725         * manual/filesys.texi: Document MTASC-safety properties.
48727         * manual/errno.texi: Document MTASC-safety properties.
48729         * manual/intro.texi: Document safety identifiers and
48730         conditionals.
48732         * manual/string.texi (wcstok): Fix prototype.
48733         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
48735         * manual/time.texi: Document MTASC-safety properties.
48737         * manual/string.texi: Document MTASC-safety properties.
48739         * manual/threads.texi: Document MTASC-safety properties.
48741         * manual/stdio.texi: Document MTASC-safety properties.
48743         * manual/syslog.texi: Document MTASC-safety properties.
48745         * manual/sysinfo.texi: Document MTASC-safety properties.
48747         * manual/startup.texi: Document MTASC-safety properties.
48749         * manual/socket.texi: Document MTASC-safety properties.
48751         * manual/signal.texi: Document MTASC-safety properties.
48753 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
48755         * manual/setjmp.texi: Document MTASC-safety properties.
48757         * manual/search.texi: Document MTASC-safety properties.
48759         * manual/resource.texi: Document MTASC-safety properties.
48761         * manual/process.texi: Document MTASC-safety properties.
48763         * manual/platform.texi: Document MTASC-safety properties.
48765         * manual/pipe.texi: Document MTASC-safety properties.
48767         * manual/pattern.texi: Document MTASC-safety properties.
48769         * manual/message.texi: Document MTASC-safety properties.
48771         [BZ #12751]
48772         * manual/memory.texi: Document MTASC-safety properties.
48774         * manual/math.texi: Document MTASC-safety properties.
48776         * manual/locale.texi: Document MTASC-safety properties.
48778         * manual/llio.texi: Document MTASC-safety properties.
48780         * manual/libdl.texi: New.
48782         * manual/lang.texi: Document MTASC-safety properties.
48784         * manual/job.texi: Document MTASC-safety properties.
48786         * manual/getopt.texi: Document MTASC-safety properties.
48788         * manual/ctype.texi: Document MTASC-safety properties.
48790 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
48792         [BZ #16046]
48793         * csu/libc-tls.c (static_map): Remove variable.
48794         (__libc_setup_tls): Use main executable's link map for TLS data.
48795         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
48796         casing for LM_ID_BASE and GL(dl_nns).
48797         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
48798         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
48799         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
48800         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
48801         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
48802         member.
48803         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
48804         l_phnum members.
48806 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
48808         * manual/debug.texi: Document MTASC-safety properties.
48810 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
48812         [BZ #16510]
48813         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
48814         of __x86_64__ when disabling x87 inline functions.
48816 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
48818         * manual/charset.texi: Document MTASC-safety properties.
48820         * manual/crypt.texi: Document MTASC-safety properties.
48822         * manual/conf.texi: Document MTASC-safety properties.
48824         * manual/arith.texi: Document MTASC-safety properties.
48826         * manual/argp.texi: Document MTASC-safety properties.
48828         * manual/macros.texi: Introduce macros to document multi
48829         thread, asynchronous signal and asynchronous cancellation
48830         safety properties.
48831         * manual/intro.texi: Introduce the properties themselves.
48833 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48835         * sysdeps/sh/sh4/Makefile: New file.
48837 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
48839         * math/gen-libm-test.pl ($srcdir): New variable.
48840         ($auto_input): Use it.
48842 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48844         [BZ #16506]
48845         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
48846         access beyond array bounds when parsing netgroups file.
48848         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
48849         the old buffer before realloc.
48851 2014-01-27  Allan McRae  <allan@archlinux.org>
48853         * po/fr.po: Update French translation from translation project.
48855 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48857         * sysdeps/sh/libm-test-ulps: Regenerate.
48859 2014-01-24  David S. Miller  <davem@davemloft.net>
48861         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
48863 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48865         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
48866         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
48868 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48870         [BZ #16474]
48871         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
48872         string pointers after reallocation.
48874 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48876         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
48877         __SH4A__ instead of __SH_FPU_ANY__.
48879 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48881         * sysdeps/sh/fpu_control.h: New file.
48882         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
48883         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
48884         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
48885         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
48886         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
48887         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
48888         * sysdeps/sh/sys/ucontext.h: Remove.
48889         * sysdeps/sh/sys: Remove directory.
48891 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48893         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
48894         s390/sys/ucontext.h.
48895         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
48896         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
48898 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
48900         [BZ #15605]
48901         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
48903 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48905         [BZ#16431]
48906         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48907         Adjust the vDSO correctly for internal calls.
48908         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
48910 2014-01-20  Allan McRae  <allan@archlinux.org>
48912         * po/ca.po: Update Catalan translation from translation project.
48914 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
48916         * sysdeps/s390/sotruss-lib.c: New file.
48918 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48920         [BZ#16430]
48921         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
48922         (__GI___gettimeofday): Alias for a different internal symbol to avoid
48923         local calls issues by not having a PLT stub required for IFUNC calls.
48924         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
48926 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
48928         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
48929         * math/test-fpucw-static.c: Likewise.
48931 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48933         [BZ #16453]
48934         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
48936 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48938         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
48939         implementation for powerpc.
48941 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
48943         [BZ #14782]
48944         * sysdeps/posix/system.c (__libc_system): Do not enable
48945         asynchronous cancellation.
48947 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48949         [BZ #16427]
48950         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
48951         handling only for numbers special also in the IEEE case.
48953 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48955         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48957 2014-01-11  Allan McRae  <allan@archlinux.org>
48959         * po/bg.po: Update Bulgarian translation from translation project.
48961         * po/de.po: Update German translation from translation project.
48963 2014-01-10  Roland McGrath  <roland@hack.frob.com>
48965         * sysdeps/generic/gcc-compat.h: New file.
48967 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48969         * benchtests/asin-inputs: Correct slow inputs.
48970         * benchtests/acos-inputs: Likewise.
48972 2014-01-10  Allan McRae  <allan@archlinux.org>
48974         * po:sv.po: Update Swedish translation from translation project.
48976         * po/vi.po: Update Vietnamese translation from translation project.
48978         * po/eo.po: Update Esperanto translation from translation project.
48980         * po/cs.po: Update Czech translation from translation project.
48982         * po/nl.po: Update Dutch translation from translation project.
48984         * po/pl.po: Update Polish translation from translation project.
48986         * po/ru.po: Update Russian translation from translation project.
48988         * po/uk.po: Update Ukrainian translation from translation project.
48990 2014-01-08  Brooks Moses  <bmoses@google.com>
48992         * elf/dl-load.c: Fix comment typo.
48994 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
48996         * po/header.pot: Rename to...
48997         * po/pot.header: ... this.
48998         * po/Makefile: Use pot.header.
49000 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
49001             Maxim Kuvyrkov  <maxim@kugelworks.com>
49003         [BZ #16394]
49004         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
49005         SRC and DEST against LEN.
49007 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49009         [BZ #16414]
49010         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49011         implementation.
49012         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
49014 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49018 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
49020         [BZ #16408]
49021         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49022         for large positive arguments.
49024 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
49026         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49028         * math/auto-libm-test-in: Mark various tests with
49029         xfail-rounding:ldbl-128ibm.
49030         * math/auto-libm-test-out: Regenerated.
49032         [BZ #16407]
49033         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49034         Increase overflow threshold.
49036 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
49038         [BZ #14286]
49039         * stdio-common/vfprintf.c: Check for integer overflow.
49041 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49043         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
49044         the first argument and return value of __tls_get_addr_internal.
49046 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49048         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
49049         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49051 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49053         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49054         * sysdeps/s390/rtld-global-offsets.sym: New file.
49055         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49056         GLIBC_2.19 symbol.
49057         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49058         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49059         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49060         ... this.
49061         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49062         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49063         ... this.
49064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49065         Regenerate.
49066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49067         Regenerate.
49068         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49069         halfs of GPRs for high_gprs contexts.
49070         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49071         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49072         field.
49073         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49074         uc_flags field.
49075         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49076         64 bit versions:
49077         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49078         for high GPRs (uc_high_gprs) and for future extensions
49079         (__reserved).
49080         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49081         for future extensions (__reserved).
49082         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49083         64 bit versions:
49084         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49085         SC_HIGHGPRS offset definition.
49086         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49087         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49089         * Versions.def: Add GLIBC_2.19 for libpthread.
49090         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49091         siglongjmp for libpthread with GLIBC_2.19 symver.
49092         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49093         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49094         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49095         * sysdeps/s390/__longjmp.c: New file.
49096         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49097         * sysdeps/s390/longjmp.c: New file.
49098         * sysdeps/s390/setjmp.S: New file.
49099         * sysdeps/s390/sigjmp.S: New file.
49100         * sysdeps/s390/v1-longjmp.c: New file.
49101         * sysdeps/s390/v1-setjmp.h: New file.
49102         * sysdeps/s390/v1-sigjmp.c: New file.
49103         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49104         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49105         GLIBC_2.19 version.
49106         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49107         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49108         versioned symbols for ____longjmp_chk.
49109         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49110         Likewise.
49111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49112         Regenerate.
49113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49114         Regenerate.
49115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49116         Regenerate.
49117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49118         Regenerate.
49119         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49120         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49121         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49122         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49123         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49124         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49125         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49126         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49127         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49128         * sysdeps/s390/rtld-__longjmp.c: New file.
49129         * sysdeps/s390/rtld-setjmp.S: New file.
49131 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49133         [BZ #16400]
49134         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49135         Return -__logl (x) for small positive arguments without evaluating
49136         a polynomial.
49138 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49140         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49141         Rename to ...
49142         (__ptrace_peeksiginfo_args): ... this.
49143         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49144         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49145         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49147 2014-01-06  Allan McRae  <allan@archlinux.org>
49149         * inet/netinet/in.h: Fix typo in comment.
49151 2014-01-05  Andreas Jaeger  <aj@suse.de>
49153         * sysdeps/i386/fpu/libm-test-ulps: Update.
49155 2014-01-05  Allan McRae  <allan@archlinux.org>
49157         * po/libc.pot: Regenerated.
49159         * malloc/memusagestat.c: Fix gettext call formatting.
49161 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49163         * nscd/nscd.c: Improve usage() output.
49165 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49167         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49168         * sysdeps/unix/sysv/linux/configure: Regenerated.
49169         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49170         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49172 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49174         [BZ #16390]
49175         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49176         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49178 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49180         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49181         extra tokens at end of #undef directive.
49182         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49183         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49184         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49186 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49188         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49190         * math/auto-libm-test-in: Mark various tests with
49191         xfail-rounding:ldbl-128ibm.
49192         * math/auto-libm-test-out: Regenerated.
49194 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49196         [BZ #16386]
49197         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49198         numbers with subnormal high part when calculating exponent.
49200         [BZ #16385]
49201         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49202         fabs.
49204         [BZ #16384]
49205         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49206         M_LN2l.
49207         (__ieee754_acoshl): Use __log1pl not __log1p.
49209 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49211         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49212         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49213         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49214         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49215         (reused_arena, arena_get2): Convert to GNU style.
49216         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49217         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49218         (memalign_check, __malloc_set_state): Likewise.
49219         * malloc/mallocbug.c (main): Likewise.
49220         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49221         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49222         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49223         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49224         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49225         (__posix_memalign, malloc_info): Likewise.
49226         * malloc/malloc.h: Likewise.
49227         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49228         (mallochook, memalignhook, reallochook, mabort): Likewise.
49229         * malloc/mcheck.h: Likewise.
49230         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49231         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49232         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49233         * malloc/morecore.c (__default_morecore): Likewise.
49234         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49235         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49236         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49237         (print_and_abort): Likewise.
49238         * malloc/obstack.h: Likewise.
49239         * malloc/set-freeres.c (__libc_freeres): Likewise.
49240         * malloc/tst-mallocstate.c (main): Likewise.
49241         * malloc/tst-mtrace.c (main): Likewise.
49242         * malloc/tst-realloc.c (do_test): Likewise.
49244 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49246         [BZ #16366]
49247         * nscd/netgroupcache.c (do_notfound): New function.
49248         (addgetnetgrentX): Use it.
49250         [BZ # 16365]
49251         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49252         NSS_STATUS_NOTFOUND.
49254 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49256         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49259 2014-01-01  Allan McRae  <allan@archlinux.org>
49261         * scripts/update-copyrights: Update configure input file suffix.
49263         * NEWS: Update copyright year.
49264         * catgets/gencat.c: Likewise.
49265         * csu/version.c: Likewise.
49266         * debug/catchsegv.sh: Likewise.
49267         * debug/pcprofiledump.c: Likewise.
49268         * debug/xtrace.sh: Likewise.
49269         * elf/ldconfig.c: Likewise.
49270         * elf/ldd.bash.in: Likewise.
49271         * elf/pldd.c: Likewise.
49272         * elf/sotruss.ksh: Likewise.
49273         * elf/sprof.c: Likewise.
49274         * iconv/iconv_prog.c: Likewise.
49275         * iconv/iconvconfig.c: Likewise.
49276         * locale/programs/locale.c: Likewise.
49277         * locale/programs/localedef.c: Likewise.
49278         * login/programs/pt_chown.c: Likewise.
49279         * malloc/memusage.sh: Likewise.
49280         * malloc/memusagestat.c: Likewise.
49281         * malloc/mtrace.pl: Likewise.
49282         * manual/libc.texinfo: Likewise.
49283         * nscd/nscd.c: Likewise.
49284         * nss/getent.c: Likewise.
49285         * nss/makedb.c: Likewise.
49286         * posix/getconf.c: Likewise.
49287         * scripts/test-installation.pl: Likewise.
49289         * All files with FSF copyright notices: Update copyright dates
49290         using scripts/update-copyrights.
49291         * intl/plural.c: Regenerated.
49292         * locale/programs/charmap-kw.h: Likewise.
49293         * locale/programs/locfile-kw.h: Likewise.
49295 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49297         * sysdeps/unix/sysv/linux/configure: Regenerated.
49298         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49299         the linux/fanotify.h header.
49300         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49301         HAVE_LINUX_FANOTIFY_H is defined.
49303 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49305         * benchtests/cos-inputs: New inputs.
49306         * benchtests/sin-inputs: Likewise.
49308         * benchtests/atan-inputs: New inputs. Fix name of multiple
49309         precision fallback inputs.
49311         * benchtests/atanh-inputs: New inputs.
49312         * benchtests/tanh-inputs: Likewise.
49314         * benchtests/acosh-inputs: New inputs.
49315         * benchtests/asinh-inputs: Likewise.
49317         * benchtests/cosh-inputs: New inputs.
49318         * benchtests/sinh-inputs: Likewise.
49320         * benchtests/acos-inputs: Add more inputs.
49321         * benchtests/asin-inputs: Likewise.
49323 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49325         [BZ #16375]
49326         * manual/arith.texi: Fix spelling.
49327         * manual/charset.texi: Likewise.
49328         * manual/errno.texi: Likewise.
49329         * manual/filesys.texi: Likewise.
49330         * manual/lang.texi: Likewise.
49331         * manual/llio.texi: Likewise.
49332         * manual/locale.texi: Likewise.
49333         * manual/message.texi: Likewise.
49334         * manual/resource.texi: Likewise.
49335         * manual/search.texi: Likewise.
49336         * manual/setjmp.texi: Likewise.
49337         * manual/stdio.texi: Likewise.
49338         * manual/string.texi: Likewise.
49339         * manual/sysinfo.texi: Likewise.
49340         * manual/time.texi: Likewise.
49342 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
49344         * po/sl.po: New file.
49346 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
49348         * .gitignore: Add core/.gdbinit/.gdb_history.
49350 2013-12-27  Allan McRae  <allan@archlinux.org>
49352         [BZ #16369]
49353         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49354         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49356 2013-12-24  Brooks Moses  <bmoses@google.com>
49358         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49359         all compilers that claim C++98 compliance, not just GCC.
49360         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49361         Likewise.
49363 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49365         * NEWS: Restore accidentally deleted bug-fix entries.
49367 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49368             Ondřej Bílka  <neleai@seznam.cz>
49370         [BZ #15073]
49371         * malloc/malloc.c (_int_free): Perform sanity check only if we
49372         have_lock.
49374 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
49376         [BZ #12986]
49377         * manual/stdio.texi (String Input Conversions): Clarify that character
49378         classes are not supported.
49380 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49384 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
49386         [BZ #16337]
49387         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49388         Calculate results for small negative arguments directly rather
49389         than using reflection formula with special underflow handling.
49391         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
49392         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
49393         sysdeps/unix/bsd/bsd4.4/syscalls.list.
49394         (fchflags): Likewise.
49395         (revoke): Likewise.
49396         (setlogin): Likewise.
49397         (sigaltstack): Likewise.
49398         (wait4): Likewise.
49399         (sigblock): Remove.
49400         (sigsetmask): Likewise.
49401         (wait3): Likewise.
49402         (waitpid): Likewise.
49403         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
49404         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
49405         file.
49406         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
49407         * sysdeps/unix/bsd/Makefile: ... here.
49408         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
49409         * sysdeps/unix/bsd/Versions: ... here.
49410         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
49411         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
49412         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
49413         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
49414         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
49415         * sysdeps/unix/bsd/sigblock.c: ... here.
49416         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
49417         * sysdeps/unix/bsd/sigsetmask.c: ... here.
49418         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
49419         * sysdeps/unix/bsd/sigvec.c: ... here.
49420         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
49421         * sysdeps/unix/bsd/tcdrain.c: ... here.
49422         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
49423         * sysdeps/unix/bsd/tcgetattr.c: ... here.
49424         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
49425         * sysdeps/unix/bsd/tcsetattr.c: ... here.
49426         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
49427         * sysdeps/unix/bsd/wait.c: ... here.
49428         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
49429         * sysdeps/unix/bsd/wait3.c: ... here.
49430         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
49431         * sysdeps/unix/bsd/waitpid.c: ... here.
49433 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
49435         [BZ #16356]
49436         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
49437         round-to-nearest for [!USE_AS_EXPM1L].
49438         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
49439         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
49440         more tests of exp and exp10.  Expect some exp10 tests to miss
49441         exceptions or fail in directed rounding modes.
49442         * math/auto-libm-test-out: Regenerated.
49443         * math/libm-test.inc (exp10_tonearest_test_data): New array.
49444         (exp10_test_tonearest): New function.
49445         (exp10_towardzero_test_data): New array.
49446         (exp10_test_towardzero): New function.
49447         (exp10_downward_test_data): New array.
49448         (exp10_test_downward): New function.
49449         (exp10_upward_test_data): New array.
49450         (exp10_test_upward): New function.
49451         (main): Call the new functions.
49452         * sysdeps/i386/fpu/libm-test-ulps: Update.
49453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49455 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
49457         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
49458         asinh, atan, atan2, atanh, cbrt, cos and cosh.
49459         * math/auto-libm-test-out: Regenerated.
49460         * math/libm-test.inc (acosh_test_data): Add more tests.
49461         (atanh_test_data): Likewise.
49462         (ceil_test_data): Likewise.
49463         (copysign_test_data): Likewise.
49464         * sysdeps/i386/fpu/libm-test-ulps: Update.
49465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49467         * timezone/checktab.awk: Update from tzcode 2013i.
49468         * timezone/private.h: Likewise.
49469         * timezone/scheck.c: Likewise.
49470         * timezone/tzfile.h: Likewise.
49471         * timezone/tzselect.ksh: Likewise.
49472         * timezone/zdump.c: Likewise.
49473         * timezone/zic.c: Likewise.
49475         * math/auto-libm-test-in: Add tests of cpow.
49476         * math/auto-libm-test-out: Regenerated.
49477         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
49478         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49479         mpc_cc_c.
49480         (func_calc_desc): Add mpc_cc_c union field.
49481         (test_functions): Add cpow.
49482         (special_fill_2pi): New function.
49483         (special_real_inputs): Add 2pi.
49484         (calc_generic_results): Handle mpc_cc_c.
49485         * sysdeps/i386/fpu/libm-test-ulps: Update.
49486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49488         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
49489         csqrt, ctan and ctanh.
49490         * math/auto-libm-test-out: Regenerated.
49491         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49492         (TEST_COND_x86): Likewise.
49493         (ccos_test_data): Use AUTO_TESTS_c_c.
49494         (ccosh_test_data): Likewise.
49495         (cexp_test_data): Likewise.
49496         (clog_test_data): Likewise.
49497         (csqrt_test_data): Likewise.
49498         (ctan_test_data): Likewise.
49499         (ctan_tonearest_test_data): Likewise.
49500         (ctan_towardzero_test_data): Likewise.
49501         (ctan_downward_test_data): Likewise.
49502         (ctan_upward_test_data): Likewise.
49503         (ctanh_test_data): Likewise.
49504         (ctanh_tonearest_test_data): Likewise.
49505         (ctanh_towardzero_test_data): Likewise.
49506         (ctanh_downward_test_data): Likewise.
49507         (ctanh_upward_test_data): Likewise.
49508         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49509         mpc_c_c.
49510         (func_calc_desc): Add mpc_c_c union field.
49511         (FUNC_mpc_c_c): New macro.
49512         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
49513         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
49514         ctanh.
49515         (special_fill_min_subnorm_p120): New function.
49516         (special_real_inputs): Add min_subnorm_p120.
49517         (calc_generic_results): Handle mpc_c_c.
49518         * sysdeps/i386/fpu/libm-test-ulps: Update.
49519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49521 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49523         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
49524         (do_sin_slow): New functions.
49525         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
49526         (cslow2, csloww1, csloww2): Use the new functions.
49528         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
49529         Use M to change sign of result instead of X.  Assume X is
49530         positive.
49531         (csloww1): Likewise.
49532         (__sin): Adjust.
49533         (__cos): Adjust.
49535         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
49536         arguments A and DA.
49537         (__sin): Adjust.
49538         (__cos): Likewise.
49540         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
49541         (__cos): Likewise.
49542         (sloww1): Don't adjust sign of DX.
49543         (csloww1): Likewise.
49544         (sloww2): Use X directly and don't adjust sign of DX.
49545         (csloww2): Likewise.
49547 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49549         * math/auto-libm-test-in: Add tests of cabs and carg.
49550         * math/auto-libm-test-out: Regenerated.
49551         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
49552         (carg_test_data): Likewise.
49553         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49554         mpc_c_f.
49555         (func_calc_desc): Add mpc_c_f union field.
49556         (test_functions): Add cabs and carg.
49557         (calc_generic_results): Handle mpc_c_f.
49559         * sysdeps/powerpc/powerpc32/libgcc-compat.S
49560         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
49561         as a macro and a compat symbol.
49562         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
49563         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
49564         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
49565         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
49566         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
49567         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
49568         not use .hidden.
49569         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
49570         Likewise.
49571         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
49572         Likewise.
49573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
49574         Likewise.
49575         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
49576         Likewise.
49577         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
49578         Likewise.
49579         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
49580         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
49581         from GLIBC_2.3.2.
49583 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49587 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49589         * manual/texinfo.tex: Update to version 2013-11-26.10 with
49590         trailing whitespace removed.
49591         * scripts/config.guess: Update to version 2013-11-29.
49592         * scripts/config.sub: Update to version 2013-10-01.
49594         * math/auto-libm-test-in: Add tests of sincos.
49595         * math/auto-libm-test-out: Regenerated.
49596         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
49597         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49598         mpfr_f_11.
49599         (func_calc_desc): Add mpfr_f_11 union field.
49600         (test_functions): Add sincos.
49601         (calc_generic_results): Handle mpfr_f_11.
49602         * sysdeps/i386/fpu/libm-test-ulps: Update.
49603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49605 2013-12-19  Andreas Schwab  <schwab@suse.de>
49607         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
49608         CALL_MCOUNT.
49609         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49610         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
49611         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
49613 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49615         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
49616         * sysdeps/i386/fpu/libm-test-ulps: Update.
49617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49619         [BZ #16293]
49620         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
49621         round-to-nearest mode when using frndint.
49622         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
49623         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49624         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49625         Likewise.
49626         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
49627         sinh test to fail.
49628         * math/auto-libm-test-out: Regenerated.
49629         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
49630         (TEST_COND_x86): Likewise.
49631         (expm1_tonearest_test_data): New array.
49632         (expm1_test_tonearest): New function.
49633         (expm1_towardzero_test_data): New array.
49634         (expm1_test_towardzero): New function.
49635         (expm1_downward_test_data): New array.
49636         (expm1_test_downward): New function.
49637         (expm1_upward_test_data): New array.
49638         (expm1_test_upward): New function.
49639         (main): Run the new test functions.
49640         * sysdeps/i386/fpu/libm-test-ulps: Update.
49641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49643         * include/features.h: Update comment documenting feature test
49644         macros.  Mention _DEFAULT_SOURCE in comment.
49645         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
49646         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
49647         _BSD_SOURCE and _SVID_SOURCE.
49648         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
49649         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
49650         !_SVID_SOURCE]: Likewise.
49651         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49652         (__USE_POSIX_IMPLICITLY): Define.
49653         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49654         (_POSIX_SOURCE): Undefine and redefine.
49655         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49656         (_POSIX_C_SOURCE): Likewise.
49657         * manual/creature.texi (_DEFAULT_SOURCE): Document.
49658         (Feature Test Macros): Update documentation of default features.
49660 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49662         * benchtests/Makefile: Add bench-strtok.
49663         * benchtests/bench-strtok.c: New file: strtok benchtest.
49665 2013-12-19  Allan McRae  <allan@archlinux.org>
49667         * manual/install.texi: Suppress menu for plain text output.
49668         * INSTALL: Regenerated.
49670 2013-12-18  Brooks Moses  <bmoses@google.com>
49672         [BZ #15846]
49673         * misc/getauxval.c: Include errno.h.
49674         (__getauxval): Set errno to ENOENT if the requested type is not
49675         found.
49676         * misc/sys/auxv.h (getauxval): Document that it may set errno;
49677         don't declare with __attribute_const__.
49678         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
49679         * manual/startup.texi: Document that getauxval sets errno.
49681 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
49683         * math/auto-libm-test-in: Add tests of jn and yn.
49684         * math/auto-libm-test-out: Regenerated.
49685         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
49686         (yn_test_data): Likewise.
49687         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49688         mpfr_if_f.
49689         (func_calc_desc): Add mpfr_if_f union field.
49690         (FUNC_mpfr_if_f): New macro.
49691         (test_functions): Add jn and yn.
49692         (calc_generic_results): Assert type of second input for
49693         mpfr_ff_f.  Handle mpfr_if_f.
49694         (output_for_one_input_case): Disable all checking for arguments
49695         fitting floating-point types in case of an integer argument.
49696         * sysdeps/i386/fpu/libm-test-ulps: Update.
49697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49700         Don't expect fegetround reference in libm.so.
49702 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49704         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
49705         $(config-cflags-nofma).
49707 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
49709         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
49710         * math/auto-libm-test-out: Regenerated.
49712         [BZ #16338]
49713         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
49714         to determine exponent and adjust argument to have exponent of -1.
49715         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
49716         log2.
49717         * math/auto-libm-test-out: Regenerated.
49718         * sysdeps/i386/fpu/libm-test-ulps: Update.
49719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49721 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
49723         * manual/probes.texi: Remove cases when per-thread arenas are
49724         disabled.
49726 2013-12-18  Andreas Schwab  <schwab@suse.de>
49728         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
49729         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
49730         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
49731         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
49732         * sysdeps/i386/i686/multiarch/Makefile: Update.
49733         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
49735 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
49737         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
49738         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
49740 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
49742         [BZ #15968]
49743         Support TZ transition times < 00:00:00.
49744         This is needed for version-3 tz-format files; it supports time
49745         stamps past 2037 for America/Godthab (the only entry in the tz
49746         database for which this change is relevant).
49747         * manual/time.texi (TZ Variable): Document transition times
49748         from -167:59:59 through -00:00:01.
49749         * time/tzset.c (tz_rule): Time of day is now signed.
49750         (__tzset_parse_tz): Parse negative time of day.
49752         Document TZ transition times >= 25:00:00.
49753         * manual/time.texi (TZ Variable): Document transition times from
49754         25:00:00 through 167:59:59.  These are already supported, and this
49755         support will help with version-3 tz-format files.
49757         * manual/time.texi (TZ Variable): Modernize North America example
49758         to reflect current (i.e., 2007-and-later) daylight saving rules.
49760         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
49762 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
49764         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
49765         * sysdeps/unix/bsd/bits/stat.h: Likewise.
49766         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
49767         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49768         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
49769         * sysdeps/unix/bsd/bsdstat.h: Likewise.
49770         * sysdeps/unix/bsd/clock.c: Likewise.
49771         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
49772         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
49773         * sysdeps/unix/bsd/init-posix.c: Likewise.
49774         * sysdeps/unix/bsd/poll.c: Likewise.
49775         * sysdeps/unix/bsd/ptsname.c: Likewise.
49776         * sysdeps/unix/bsd/seekdir.c: Likewise.
49777         * sysdeps/unix/bsd/setegid.c: Likewise.
49778         * sysdeps/unix/bsd/seteuid.c: Likewise.
49779         * sysdeps/unix/bsd/setgid.c: Likewise.
49780         * sysdeps/unix/bsd/setrgid.c: Likewise.
49781         * sysdeps/unix/bsd/setruid.c: Likewise.
49782         * sysdeps/unix/bsd/setsid.c: Likewise.
49783         * sysdeps/unix/bsd/setuid.c: Likewise.
49784         * sysdeps/unix/bsd/sigaction.c: Likewise.
49785         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
49786         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
49787         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
49788         * sysdeps/unix/bsd/telldir.c: Likewise.
49789         * sysdeps/unix/bsd/times.c: Likewise.
49790         * sysdeps/unix/bsd/usleep.c: Likewise.
49792         * misc/Makefile (install-lib): Remove libbsd-compat.a.
49793         ($(objpfx)libbsd-compat.a): Remove rule.
49795         * include/features.h (__FAVOR_BSD): Do not define.
49796         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
49797         features conflicting with POSIX.
49798         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
49799         (_BSD_SOURCE): Remove description of not being a subset of other
49800         feature test macros.
49801         * manual/job.texi (getpgrp): Do not document BSD version.
49802         (getpgid): Do not document by reference to BSD getpgrp.
49803         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
49804         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
49805         * signal/signal.h [__FAVOR_BSD]: Likewise.
49806         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
49807         instead of making contents conditional on [__FAVOR_BSD].
49808         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
49810 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49814 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
49816         [BZ #16314]
49817         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
49818         values below 2**-450, not 2**-500.
49819         * math/auto-libm-test-in: Don't allow spurious underflow from
49820         hypot.
49821         * math/auto-libm-test-out: Regenerated.
49823         [BZ #16316]
49824         [BZ #16330]
49825         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
49826         values of ha and hb and sort them after adjusting subnormal
49827         arguments.
49828         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
49829         Likewise.
49830         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
49831         values of ea and eb and sort them after adjusting subnormal
49832         arguments.
49833         * math/auto-libm-test-in: Do not expect some hypot tests of
49834         subnormals to fail.  Add more hypot tests.
49835         * math/auto-libm-test-out: Regenerated.
49837 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49839         [BZ #13304]
49840         * sysdeps/sh/s_fma.c: New file.
49841         * sysdeps/sh/s_fmaf.c: New file.
49842         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
49843         version.
49844         * sysdeps/sh/Implies: Add sh/soft-fp.
49846 2013-12-16  Roland McGrath  <roland@hack.frob.com>
49848         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
49849         level of indirection to members `objname', `errstring', `malloced'.
49850         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
49851         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
49852         it as the __longjmp argument (just pass 1 instead).
49853         (_dl_catch_error): Initialize C with argument pointers and address of
49854         volatile local ERRCODE rather than copying values out of C at return.
49856 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
49858         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
49859         * math/auto-libm-test-out: Regenerated.
49860         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
49861         (hypot_test_data): Likewise.
49862         (pow_test_data): Likewise.
49863         (pow_tonearest_test_data): Likewise.
49864         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49865         mpfr_ff_f.
49866         (func_calc_desc): Add mpfr_ff_f union field.
49867         (FUNC_mpfr_ff_f): New macro.
49868         (test_functions): Add atan2, hypot and pow.
49869         (special_fill_min): New function.
49870         (special_fill_minus_min): Likewise.
49871         (special_fill_min_subnorm): Likewise.
49872         (special_fill_minus_min_subnorm): Likewise.
49873         (special_real_inputs): Add min, -min, min_subnorm and
49874         -min_subnorm.
49875         (calc_generic_results): Handle mpfr_ff_f.
49876         * sysdeps/i386/fpu/libm-test-ulps: Update.
49877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49879 2013-12-16  Will Newton  <will.newton@linaro.org>
49881         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
49882         (Aligned Memory Blocks): Add documentation for aligned_alloc
49883         and suggest it as an alternative to posix_memalign.
49884         (Hooks for Malloc): Document __memalign_hook is also called
49885         for aligned_alloc.  (Summary of Malloc): Add summary for
49886         aligned alloc.  Document __memalign_hook is also called
49887         for aligned_alloc.
49889 2013-12-16  Will Newton  <will.newton@linaro.org>
49891         * manual/memory.texi (Malloc Examples): Clarify default
49892         alignment documentation.  Suggest posix_memalign rather
49893         than memalign or valloc.
49894         (Aligned Memory Blocks): Remove suggestion to use memalign
49895         or valloc.  Remove obsolete comment about BSD.
49896         Document memalign errno values and mark the function obsolete.
49897         Document posix_memalign returned error codes.  Mark valloc
49898         as obsolete.  (Hooks for Malloc): __memalign_hook is also
49899         called for posix_memalign and valloc.
49900         (Summary of Malloc): Add posix_memalign to function summary.
49901         __memalign_hook is also called for posix_memalign and valloc.
49903 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49905         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
49906         TAYLOR_SIN.
49907         (__sin): Adjust.
49908         (__cos): Likewise.
49909         (sloww): Use mynumber union.  Expand ternary operator into
49910         if-else statements.
49911         (cslow): use mynumber union.
49913 2013-12-16  Allan McRae  <allan@archlinux.org>
49915         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
49916         * configure: Regenerated.
49918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
49920         [BZ #14120]
49921         * configure.ac: Added --enable-maintainer-mode. Check for
49922         autoconf when enabled.
49923         * configure: Regenerated.
49925         * nscd/nscd.service: New file.
49926         * nscd/nscd.tmpfiles: New file.
49928 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
49930         [BZ #12100]
49931         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
49932         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
49933         * sysdeps/x86_64/multiarch/strstr.c: ... here.
49934         (strstr): Add __strstr_sse2_unaligned ifunc.
49935         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
49936         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
49937         (strcasestr): Remove __strcasestr_sse42 ifunc.
49938         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
49939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49942 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49944         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
49945         * sysdeps/sh/bits/fenv.h: ... here.
49946         * sysdeps/sh/sh4/fpu/bits: Remove directory.
49948 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49950         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
49952         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
49953         hypotf multiarch implementations.
49954         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
49955         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
49956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
49957         multiarch hypot for PPC64.
49958         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
49959         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
49960         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
49961         multiarch hypotf for PPC64.
49963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
49964         modff multiarch implementations.
49965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
49966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
49967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
49968         multiarch modf for PPC64.
49969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
49970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
49971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
49972         multiarch modff for PPC64.
49974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
49975         and logl multiarch implementations.
49976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
49977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
49978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
49979         multiarch logb for PPC64.
49980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
49981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
49982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
49983         multiarch logb for PPC64.
49984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
49985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
49986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
49987         multiarch logb for PPC64.
49989         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
49990         isinff multiarch implementation.
49991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
49992         file.
49993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
49994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
49995         multiarch isinf for PPC64.
49996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
49997         file.
49998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
49999         multiarch isinff for PPC64.
50001         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
50002         finitef multiarch implementation.
50003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50004         file.
50005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
50006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
50007         multiarch finite for PPC64.
50008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
50009         file.
50010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
50011         multiarch finitef for PPC64.
50013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
50014         lrint multiarch implementation.
50015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
50016         file.
50017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
50018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
50019         multiarch llrint for PPC64.
50020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
50021         multiarch lrint for PPC64.
50023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
50024         copysignf multiarch implementation.
50025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
50026         file.
50027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
50028         file.
50029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
50030         multiarch copysign for PPC64.
50031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
50032         multiarch copysignf for PPC64.
50034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
50035         multiarch implementation.
50036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
50037         file.
50038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
50039         file.
50040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
50041         file.
50042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
50043         file.
50044         multiarch llround for PPC64.
50045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
50046         multiarch trunc for PPC64.
50047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
50048         multiarch truncf for PPC64.
50050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50051         multiarch implementation.
50052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50053         file.
50054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50055         file.
50056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50057         file.
50058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50059         file.
50060         multiarch llround for PPC64.
50061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50062         multiarch round for PPC64.
50063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50064         multiarch roundf for PPC64.
50066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50067         multiarch implementation.
50068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50069         file.
50070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50071         file.
50072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50073         file.
50074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50075         file.
50076         multiarch llround for PPC64.
50077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50078         multiarch floor for PPC64.
50079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50080         multiarch floorf for PPC64.
50082         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50083         multiarch implementation.
50084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50085         file.
50086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50087         file.
50088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50089         file.
50090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50091         file.
50092         multiarch llround for PPC64.
50093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50094         multiarch ceil for PPC64.
50095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50096         multiarch ceilf for PPC64.
50098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50099         multiarch implementation.
50100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50101         file.
50102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50103         file.
50104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50105         file.
50106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50107         multiarch llround for PPC64.
50108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50109         multiarch lround for PPC64.
50111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50112         multiarch implementation.
50113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50116         file.
50117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50120         multiarch isnan for PPC64.
50121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50122         multiarch isnanf for PPC64.
50124         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50125         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50126         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50127         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50128         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50131         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50132         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50133         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50134         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50137         multiarch implementations.
50138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50139         (__libc_ifunc_impl_list): Likewise.
50140         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50141         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50142         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50143         multiarch stpcpy for PPC64.
50145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50146         multiarch implementations.
50147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50148         (__libc_ifunc_impl_list): Likewise.
50149         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50150         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50151         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50152         multiarch strcpy for PPC64.
50154         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50155         redefine function name.
50156         (_wordcopy_fwd_dest_aligned): Likewise.
50157         (_wordcopy_bwd_aligned): Likewise.
50158         (_wordcopy_bwd_dest_aligned): Likewise.
50159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50160         multiarch implementations.
50161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50162         (__libc_ifunc_impl_list): Likewise.
50163         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50164         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50165         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50166         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50167         multiarch wcscpy for PPC64.
50169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50170         multiarch implementations.
50171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50172         (__libc_ifunc_impl_list): Likewise.
50173         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50174         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50175         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50176         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50177         multiarch wcscpy for PPC64.
50179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50180         multiarch implementations.
50181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50182         (__libc_ifunc_impl_list): Likewise.
50183         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50184         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50185         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50186         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50187         multiarch wcsrchr for PPC64.
50189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50190         multiarch implementations.
50191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50192         (__libc_ifunc_impl_list): Likewise.
50193         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50194         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50195         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50196         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50197         multiarch wcschr for PPC64.
50199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50200         multiarch implementations.
50201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50202         (__libc_ifunc_impl_list): Likewise.
50203         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50204         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50205         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50206         multiarch strchrnul for PPC64.
50208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50209         implementations.
50210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50211         (__libc_ifunc_impl_list): Likewise.
50212         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50213         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50214         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50215         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50216         strchr for PPC64.
50218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50219         implementations.
50220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50221         (__libc_ifunc_impl_list): Likewise.
50222         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50223         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50224         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50225         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50226         strncmp for PPC64.
50228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50229         multiarch implementations.
50230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50231         (__libc_ifunc_impl_list): Likewise.
50232         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50233         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50234         strncasecmp for PPC64.
50235         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50236         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50237         multiarch strncasecmp_l for PPC64.
50239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50240         multiarch implementations.
50241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50242         (__libc_ifunc_impl_list): Likewise.
50243         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50244         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50245         multiarch strcasecmp for PPC64.
50246         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50247         file.
50248         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50249         multiarch strcasecmp_l for PPC64.
50251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50252         implementations.
50253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50254         (__libc_ifunc_impl_list): Likewise.
50255         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50256         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50257         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50258         strnlen for PPC64.
50260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50261         implementations.
50262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50263         (__libc_ifunc_impl_list): Likewise.
50264         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50265         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50266         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50267         strlen for PPC64.
50269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50270         implementations.
50271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50272         (__libc_ifunc_impl_list): Likewise.
50273         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50274         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50275         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50276         rawmemrchr for PPC64.
50278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50279         implementation.
50280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50281         (__libc_ifunc_impl_list): Likewise.
50282         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50283         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50284         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50285         memrchr for PPC64.
50287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50288         implementation.
50289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50290         (__libc_ifunc_impl_list): Likewise.
50291         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50292         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50293         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50294         memchr for PPC64.
50296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50297         implementation.
50298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50299         (__libc_ifunc_impl_list): Likewise.
50300         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50301         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50302         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50303         mempcpy for PPC64.
50305         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50306         avoid cretion of __bzero symbol.
50307         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50308         Likewise.
50309         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50310         Likewise.
50311         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50312         Likewise.
50313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50314         multiarch implementations.
50315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50316         (__libc_ifunc_impl_list): Likewise.
50317         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50318         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50319         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50320         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50321         bzero for PPC32.
50322         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50323         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50324         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50325         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50326         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50327         memset for PPC64.
50328         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50330         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50332         implementations.
50333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50334         (__libc_ifunc_impl_list): Likewise.
50335         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50336         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50337         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50338         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50339         memcmp for PPC64.
50341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50342         multiarch for POWER/PPC64.
50343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50344         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50345         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50346         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50347         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50348         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50349         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50350         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50351         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50352         memcpy for PPC64.
50354         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50355         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50356         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50357         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50358         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50359         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50360         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50361         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50362         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50363         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50364         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50365         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
50366         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
50367         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
50368         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
50369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
50370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
50371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
50372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
50373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
50374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
50375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
50377 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50379         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
50381 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50383         * benchtests/Makefile (bench): Add exp2 and log2.
50384         (LDLIBS-bench-exp2): Add -lm.
50385         (LDLIBS-bench-log2): Likewise.
50386         * benchtests/exp2-inputs: New inputs file.
50387         * benchtests/log2-inputs: New inputs file.
50388         * benchtests/log-inputs: Add new inputs.
50389         * benchtests/tan-inputs: Likewise.
50391 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50393         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
50394         definition...
50395         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
50396         (csloww2): ... from here.
50398         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
50399         instead of structures.
50400         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
50401         (POLYNOMIAL): Likewise.
50402         (TAYLOR_SLOW): Likewise.
50403         (__sin): Likewise.
50404         (__cos): Likewise.
50405         (slow1): Likewise.
50406         (slow2): Likewise.
50407         (sloww): Likewise.
50408         (sloww1); Likewise.
50409         (sloww2): Likewise.
50410         (bsloww1): Likewise.
50411         (bsloww2): Likewise.
50412         (cslow2): Likewise.
50413         (csloww): Likewise.
50414         (csloww1): Likewise.
50415         (csloww2): Likewise.
50417 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
50419         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
50420         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
50421         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
50422         * malloc/hooks.c (realloc_check): Likewise.
50424         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
50425         * malloc/arena.c: Remove PER_THREAD conditional.
50426         [!PER_THREAD]: Remove code.
50427         (ptmalloc_unlock_all2): Likewise.
50428         (ptmalloc_init): Likewise.
50429         (_int_new_arena): Likewise.
50430         (arena_get2): Likewise.
50431         * malloc/hooks.c (__malloc_get_state): Likewise.
50432         (__malloc_set_state): Likewise.
50433         * malloc/malloc.c: Likewise.
50434         (struct malloc_state): Likewise.
50435         (struct malloc_par): Likewise.
50436         (__libc_realloc): Likewise.
50437         (__libc_mallopt): Likewise.
50439 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50441         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
50443 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
50445         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
50446         macro to a function.  Check for zero perturb_byte.
50447         (_int_malloc, _int_free): Remove zero perturb_byte checks.
50449         * malloc/malloc.c: (force_reg): Remove.
50450         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
50451         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
50452         force_reg by atomic_forced_read.
50453         * malloc/arena.c (ptmalloc_init): Likewise.
50454         * malloc/hooks.c (top_check): Likewise.
50456 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50460 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
50462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50464 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
50466         * math/auto-libm-test-in: Add tests of lgamma.
50467         * math/auto-libm-test-out: Regenerated.
50468         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
50469         (M_LOG_2_SQRT_PIl): Likewise.
50470         (lgamma_test_data): Use AUTO_TESTS_f_f1.
50471         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50472         mpfr_f_f1.
50473         (func_calc_desc): Add mpfr_f_f1 union field.
50474         (ARGS1): New macro.
50475         (ARGS2): Likewise.
50476         (ARGS3): Likewise.
50477         (ARGS4): Likewise.
50478         (RET1): Likewise.
50479         (RET2): Likewise.
50480         (CALC): Likewise.
50481         (FUNC): Likewise.
50482         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
50483         (test_functions): Add lgamma.
50484         (calc_generic_results): Handle mpfr_f_f1.
50485         * sysdeps/i386/fpu/libm-test-ulps: Update.
50486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50488 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50490         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
50491         __mpn_add_n for PowerPC64/POWER7.
50492         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
50493         __mpn_sub_n for PowerPC64/POWER7.
50495         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
50496         __mpn_addmul_1 for PowerPC64.
50497         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
50498         __mpn_submul_1 for PowerPC64.
50499         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
50500         for PowerPC64.
50501         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
50502         for PowerPC64.
50504 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
50506         [BZ #15089]
50507         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
50509 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50511         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
50513         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
50514         add multiarch folders.
50515         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
50516         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
50517         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
50518         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
50519         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
50520         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
50521         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
50522         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
50523         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
50524         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
50525         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
50526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
50527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
50528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
50529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
50530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
50531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
50533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50534         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
50535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
50536         New file.
50537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
50538         New file.
50539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
50540         multiarch __ieee754_hypot for PowerPC32.
50541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
50542         New file.
50543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
50544         New file.
50545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
50546         multiarch __ieee754_hypotf for PowerPC32.
50548         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
50549         long_double_symbol only if __logbl is defined.
50550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
50551         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
50552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
50553         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
50554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
50555         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
50556         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
50557         path for implementation.
50558         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
50559         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
50560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
50561         logb, and logbl multiarch implementations for PowerPC32.
50562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
50563         file.
50564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
50565         file.
50566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
50567         multiarch logb for PowerPC32.
50568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
50569         file.
50570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
50571         file.
50572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
50573         multiarch logbf for PowerPC32.
50574         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
50575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
50576         file.
50577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
50578         multiarch logbl implementation for PowerPC32.
50580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
50581         and modff multiarch implementations.
50582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
50583         New file.
50584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
50585         New file.
50586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
50587         multiarch modf for PowerPC32.
50588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
50589         New file.
50590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
50591         New file.
50592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
50593         multiarch modff for PowerPC32.
50595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
50596         and lrintf multiarch implementations.
50597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
50598         New file.
50599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
50600         New file.
50601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
50602         multiarch lrint for PowerPC32.
50603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
50604         file: multiarch lrintf for PowerPC32.
50606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
50607         and lroundf multiarch implementations.
50608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
50609         New file.
50610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
50611         New file.
50612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
50613         New file.
50614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
50615         multiarch lround for PowerPC32.
50616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
50617         file: multiarch lroundf for PowerPC32.
50619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50620         copysign and copysignf multiarch implementations.
50621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
50622         New file.
50623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
50624         New file.
50625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
50626         file: multiarch copysign for PowerPC32.
50627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
50628         file: multiarch copysignf for PowerPC32.
50630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
50631         and truncf multiarch implementations.
50632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
50633         New file.
50634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
50635         file.
50636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
50637         multiarch trunc for PowerPC32.
50638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
50639         New file.
50640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
50641         New file.
50642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
50643         multiarch truncf for PowerPC32.
50645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
50646         and roundf multiarch implementations.
50647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
50648         New file.
50649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
50650         file.
50651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
50652         multiarch round for PowerPC32.
50653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
50654         New file.
50655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
50656         New file.
50657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
50658         multiarch roundf for PowerPC32.
50660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
50661         and floorf multiarch implementations.
50662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
50663         New file.
50664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
50665         file.
50666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
50667         multiarch floor for PowerPC32.
50668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
50669         New file.
50670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
50671         New file.
50672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
50673         multiarch floorf for PowerPC32.
50675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
50676         and ceilf multiarch implementations.
50677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
50678         New file.
50679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
50680         file.
50681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
50682         multiarch ceil for PowerPC32.
50683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
50684         New file.
50685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
50686         file.
50687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
50688         multiarch ceilf for PowerPC32.
50690         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
50691         is defined.
50692         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
50693         FINITEF is defined.
50694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
50695         and finitef multiarch implementations.
50696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
50697         New file.
50698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
50699         file.
50700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
50701         multiarch finite for PowerPC32.
50702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
50703         New file.
50704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
50705         file: multiarch finitef for PowerPC32.
50707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
50708         and isinff multiarch implementations.
50709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
50710         file.
50711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
50712         file.
50713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
50714         multiarch isinf for PowerPC32.
50715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
50716         New file.
50717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
50718         multiarch isinff for PowerPC32.
50720         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
50721         alias when __isnan is defined.
50722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
50723         and isnanf multiarch implementations.
50724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
50725         file.
50726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
50727         file.
50728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
50729         file.
50730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
50731         file.
50732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
50733         multiarch isnan for PowerPC32.
50734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
50735         New file.
50736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
50737         New file.
50738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
50739         multiarch isnanf for PowerPC32.
50741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
50742         and sqrtf multiarch implementations.
50743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
50744         file.
50745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
50746         file.
50747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
50748         multiarch sqrt for PowerPC32.
50749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
50750         file.
50751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
50752         file.
50753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
50754         multiarch sqrtf for PowerPC32.
50756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
50757         and llroundf multiarch implementations.
50758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
50759         New file.
50760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
50761         New file.
50762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
50763         New file.
50764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
50765         file: multiarch llround for PowerPC32.
50766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
50767         file: multiarch llroundf for PowerPC32.
50769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
50770         multiarch PowerPC32 fpu implementations.
50771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
50772         New file.
50773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
50774         New file.
50775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
50776         multiarch llrint for PowerPC32.
50777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
50778         New file.
50779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
50780         New file.
50781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
50782         file.
50784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
50786         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
50787         file.
50788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
50789         file.
50790         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
50791         file.
50792         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
50793         multiarch wordcopy for PPC32.
50794         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
50795         wordcopy objects.
50796         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50797         (__libc_ifunc_impl_list): Likewise.
50798         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
50799         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
50800         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
50801         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
50802         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
50803         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
50805         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
50806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
50807         file.
50808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
50809         file.
50810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
50811         file.
50812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
50813         multiarch wcscpy for PPC32.
50814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
50815         multiarch objects.
50816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50817         (__libc_ifunc_impl_list): Likewise.
50818         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
50819         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
50820         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
50821         sysdeps/powerpc/power6/wcscpy.c.
50823         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
50824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
50825         file.
50826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
50827         file.
50828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
50829         file.
50830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
50831         multiarch wcsrchr for PPC32.
50832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
50833         multiarch objects.
50834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50835         (__libc_ifunc_impl_list): Likewise.
50836         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
50837         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
50838         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
50839         sysdeps/powerpc/power6/wcsrchr.c.
50841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
50842         file.
50843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
50844         file.
50845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
50846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
50847         multiarch wcschr for PPc32.
50848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
50849         multiarch objects.
50850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50851         (__libc_ifunc_impl_list): Likewise.
50852         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
50853         * sysdeps/powerpc/power6/wcschr.c: ... to here.
50854         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
50855         sysdeps/powerpc/power6/wcschr.c.
50857         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
50858         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
50859         file.
50860         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
50861         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
50862         file: multiarch strchr for PPC32.
50863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
50864         multiarch objects.
50865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50866         (__libc_ifunc_impl_list): Likewise.
50868         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
50869         name.
50870         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
50871         file.
50872         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
50873         file.
50874         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
50875         multiarch strchrnul for PPC32.
50876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
50877         multiarch objects.
50878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50879         (__libc_ifunc_impl_list): Likewise.
50881         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
50882         file.
50883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
50884         multiarch strncasecmp for PPC32.
50885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
50886         file.
50887         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
50888         multiarch strncasecmp_l for PPC32.
50889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
50890         strncasecmp multiarch objects.
50891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50892         (__libc_ifunc_impl_list): Likewise.
50894         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
50895         file.
50896         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
50897         multiarch strncasecmp for PPC32.
50898         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
50899         New file.
50900         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
50901         multiarch strcasecmp_l for PPC32.
50902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
50903         multiarch objects.
50904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50905         (__libc_ifunc_impl_list): Likewise.
50907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
50908         file.
50909         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
50910         file.
50911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
50912         multiarch strncmp for PPC32.
50913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
50914         multiarch objects.
50915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50916         (__libc_ifunc_impl_list): Likewise.
50918         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
50919         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
50920         file.
50921         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
50922         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
50923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
50924         multiarch objects.
50925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50926         (__libc_ifunc_impl_list): Likewise.
50928         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
50929         file.
50930         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
50931         file.
50932         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
50933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
50934         multiarch objects.
50935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50936         (__libc_ifunc_impl_list): Likewise.
50938         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
50939         file.
50940         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
50941         file.
50942         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
50943         multiarch rawmemchr for PPC32.
50944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
50945         multiarch objects.
50946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50947         (__libc_ifunc_impl_list): Likewise.
50949         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
50950         file.
50951         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
50952         file.
50953         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
50954         file: memrchr multiarch for PPC32.
50955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
50956         multiarch objects.
50957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50958         (__libc_ifunc_impl_list): Likewise.
50960         * string/memchr.c (__memchr): Using macro to redefine symbol name.
50961         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
50962         file.
50963         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
50964         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
50965         multiarch memchr for PPC32.
50966         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
50967         multiarch objects.
50968         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50969         (__libc_ifunc_impl_list): Likewise.
50971         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
50972         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
50973         file.
50974         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
50975         file.
50976         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
50977         file: multiarch mempcpy for PPC32.
50978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
50979         multiarch objects.
50980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50981         (__libc_ifunc_impl_list): Likewise.
50983         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
50984         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
50985         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
50986         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
50987         multiarch bzero for PPC32.
50988         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
50989         file.
50990         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
50991         file.
50992         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
50993         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
50994         file: multiarch memset for PPC32.
50995         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
50996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
50997         memset multiarch objects.
50998         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50999         (__libc_ifunc_impl_list): Likewise.
51001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51002         file.
51003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
51004         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
51005         memcmp for PPC32.
51006         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
51007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
51008         multiarch objects.
51009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51010         (__libc_ifunc_impl_list): Likewise.
51012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
51014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
51015         file.
51016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
51017         file.
51018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
51019         file.
51020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
51021         multiarch memcpy for PPC32.
51022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
51023         multiarch objects.
51024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51025         (__libc_ifunc_impl_list): Likewise.
51027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
51028         support multiarch for POWER/PPC32.
51029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
51030         Likewise.
51031         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
51032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
51033         Implies file to make multiarch folder appers before the fpu and
51034         default folder for power4 configuration.
51036 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51038         * scripts/bench.pl: Append volatile keyword to type.
51040 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51042         * sysdeps/sh/sotruss-lib.c: New file.
51043         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
51045 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51049 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
51051         [BZ #6810]
51052         * math/w_tgamma.c: Include <errno.h>.
51053         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
51054         * math/w_tgammaf.c: Include <errno.h>.
51055         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
51056         * math/w_tgammal.c: Include <errno.h>.
51057         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
51058         * math/auto-libm-test-in: Do not allow missing errno on tgamma
51059         underflow.  Add more tgamma tests.
51060         * math/auto-libm-test-out: Regenerated.
51061         * sysdeps/i386/fpu/libm-test-ulps: Update.
51062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51064         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51065         sin, sinh, tan, tanh, tgamma, y0 and y1.
51066         * math/auto-libm-test-out: Regenerated.
51067         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51068         (TEST_COND_x86): Likewise.
51069         (M_E2l): Remove macro.
51070         (M_E3l): Likewise.
51071         (M_2_SQRT_PIl): Likewise.
51072         (M_SQRT_PIl): Likewise.
51073         (M_1_DIV_El): Likewise.
51074         (log_test_data): Use AUTO_TESTS_f_f.
51075         (log10_test_data): Likewise.
51076         (log1p_test_data): Likewise.
51077         (log2_test_data): Likewise.
51078         (sin_test_data): Likewise.
51079         (sin_tonearest_test_data): Likewise.
51080         (sin_towardzero_test_data): Likewise.
51081         (sin_downward_test_data): Likewise.
51082         (sin_upward_test_data): Likewise.
51083         (sinh_test_data): Likewise.
51084         (sinh_tonearest_test_data): Likewise.
51085         (sinh_towardzero_test_data): Likewise.
51086         (sinh_downward_test_data): Likewise.
51087         (sinh_upward_test_data): Likewise.
51088         (tan_test_data): Likewise.
51089         (tan_tonearest_test_data): Likewise.
51090         (tan_towardzero_test_data): Likewise.
51091         (tan_downward_test_data): Likewise.
51092         (tan_upward_test_data): Likewise.
51093         (tanh_test_data): Likewise.
51094         (tgamma_test_data): Likewise.
51095         (y0_test_data): Likewise.
51096         (y1_test_data): Likewise.
51097         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51098         (special_real_inputs): Add pi/4.
51099         * sysdeps/i386/fpu/libm-test-ulps: Update.
51100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51102 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51104         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51105         "longjmp_target" static probes.
51106         (__longjmp): Rename to __longjmp_symbol.
51107         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51108         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51109         on which longjmp to generate.
51110         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51111         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51112         probe.
51113         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51114         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51115         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51116         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51117         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51118         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51120         __longjmp_symbol based on which __longjmp to generate.
51121         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51122         probe.
51123         (setjmp): Rename to setjmp_symbol.
51124         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51125         (_setjmp): Rename to _setjmp_symbol.
51126         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51127         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51128         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51129         which setjmp to generate.
51130         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51131         "longjmp_target" static probes.
51133 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51135         * benchtests/README: Add note about output arguments.
51136         * benchtests/bench-sincos.c: Remove file.
51137         * benchtests/sincos-inputs: New file.
51138         * scripts/bench.pl: Identify output arguments and define
51139         static variables for them.
51141         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51143         [BZ #15941]
51144         * Makefile (INSTALL): Add install-plain.texi as the primary
51145         dependency.
51146         * manual/install-plain.texi: New file.
51147         * manual/install.texi: Include node directive only for
51148         non-plaintext output.
51150 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51152         * stdlib/longlong.h: Update from GCC.
51154         [BZ #6807]
51155         [BZ #15901]
51156         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51157         * math/w_j0f.c (y0f): Likewise.
51158         * math/w_j0l.c (__y0l): Likewise.
51159         * math/w_j1.c (y1): Likewise.
51160         * math/w_j1f.c (y1f): Likewise.
51161         * math/w_j1l.c (__y1l): Likewise.
51162         * math/w_jn.c (yn): Likewise.
51163         * math/w_jnf.c (ynf): Likewise.
51164         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51165         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51166         value for Bessel function domain errors outside _SVID_ mode.
51167         Adjust sign of return value for yn (negative integer, 0).
51168         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51169         by zero in return for negative x and set sign appropriately for
51170         negative n.
51171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51172         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51173         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51174         expectations in error cases.
51175         (y1_test_data): Likewise.
51176         (yn_test_data): Likewise.
51177         * sysdeps/i386/fpu/libm-test-ulps: Update.
51178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51180 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51182         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51183         "64" to "64-v1".  Add "64-v2".
51184         (abi-64-options): Rename to ...
51185         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51186         (abi-64-condition): Rename to ...
51187         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51188         (abi-64-ld-soname): Rename to ...
51189         (abi-64-v1-ld-soname): ... this.
51190         (abi-64-v2-options): Define.
51191         (abi-64-v2-condition): Likewise.
51192         (abi-64-v2-ld-soname): Likewise.
51193         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51194         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51199 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51200             Alan Modra  <amodra@gmail.com>
51202         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51203         New versions for use with the ELFv2 ABI.
51204         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51205         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51206         declaration.
51207         (struct La_ppc64v2_retval): Likewise.
51208         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51209         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51210         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51211         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51212         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51213         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51214         Do not save or restore CR.
51215         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51216         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51217         return values for ELFv2 ABI.  Fix location of FPR return registers.
51218         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51219         updated values for _CALL_ELF == 2.
51220         (La_regs, La_retval, int_retval): Likewise.
51222 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51224         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51225         (FRAME_MIN_SIZE_PARM): Likewise.
51226         (FRAME_BACKCHAIN): Likewise.
51227         (FRAME_CR_SAVE): Likewise.
51228         (FRAME_LR_SAVE): Likewise.
51229         (FRAME_TOC_SAVE): Likewise.
51230         (FRAME_PARM_SAVE): Likewise.
51231         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51232         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51233         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51234         (call_mcount_parm_offset): New macro.
51235         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51236         (PROF): Use symbolic stack frame offsets.
51237         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51238         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51239         Redefine in terms of FRAME_MIN_SIZE.
51240         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51241         (_dl_profile_resolve): Likewise.  Update comment.
51242         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51243         symbols stack frame offsets.
51244         (__sigsetjmp): Likewise.
51245         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51246         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51247         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51248         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51251         (FRAME_BACKCHAIN): Remove.
51252         (FRAME_CR_SAVE): Likewise.
51253         (FRAME_LR_SAVE): Likewise.
51254         (FRAME_COMPILER_DW): Likewise.
51255         (FRAME_LINKER_DW): Likewise.
51256         (FRAME_TOC_SAVE): Likewise.
51257         (FRAME_PARM_SAVE): Likewise.
51258         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51259         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51260         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51262         (CHECK_SP): Use symbolic stack frame offsets.
51263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51264         zone" instead of caller's parameter save area for temp storage.
51265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51266         Likewise.  Also, use symbolic stack frame offsets.
51267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51268         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51269         our own stack frame instead of the caller's.
51270         (__socket): Use symbolic stack frame offsets.
51272 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51273             Alan Modra  <amodra@gmail.com>
51275         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51276         Define.
51277         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51278         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51279         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51280         New function.
51281         (elf_machine_fixup_plt): Call it.
51282         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51283         reloc arguments.
51284         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51285         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51286         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51287         r2 before calling target.
51289 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51290             Alan Modra  <amodra@gmail.com>
51292         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51293         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51294         versions of macros to support ELFv2 ABI.
51295         (LOCALENTRY): New macro.
51296         (ENTRY, EALIGN): Use it.
51297         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51298         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51299         fall through into ENTRY entry point.
51300         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51301         Only define if _CALL_ELF != 2.
51303         (elf_machine_matches_host): Verify ABI version matches.
51304         (RTLD_START): Use LOCALENTRY.
51305         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51306         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51307         (PLT_ENTRY_WORDS): New macro.
51308         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51309         (elf_machine_runtime_setup): Support ELFv2 ABI.
51310         (elf_machine_fixup_plt): Likewise.
51311         (elf_machine_plt_conflict): Likewise.
51312         (resolve_ifunc): Likewise.
51313         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51314         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51315         Likewise.
51316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51317         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51319         (makecontext): Support ELFv2 ABI.
51320         * elf/elf.h (EF_PPC64_ABI): Define.
51322 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51324         * sysdeps/powerpc/powerpc64/sysdep.h
51325         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51326         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51327         (ENTRY) [ASSEMBLER]: ... but instead here ...
51328         (EALIGN) [ASSEMBLER]: ... and here.
51329         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51330         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51331         (ENTRY_2) [!ASSEMBLER]: Use it.
51332         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51333         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
51334         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51335         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51336         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51338         Use PPC64_LOAD_FUNCPTR.
51340         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51342 2013-12-04  Alan Modra  <amodra@gmail.com>
51344         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51345         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51346         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51347         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51349         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51350         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51351         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51352         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51353         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51354         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51356 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51359         (__makecontext): Fix incorrect CFI when backtracing out of
51360         context created via makecontext.
51361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51362         (__setcontext): Fix incorrect CFI during switch to new context.
51363         (__novec_setcontext): Likewise.
51365 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51367         [BZ #4772]
51368         * time/strptime_l.c (__strptime_internal): Allow modifiers
51369         in strptime.
51370         * time/tst-strptime.c (day_tests): Add testcase.
51372 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51374         * scripts/bench.pl: Skip over blank lines.
51376 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
51378         [BZ #926]
51379         * manual/time.texi (Calendar Time): Clarify what timezone functions
51380         use.
51382 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51386 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51388         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
51389         implementation.
51390         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
51391         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
51392         * debug/memset_chk.c (__memset_chk): Likewise.
51393         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
51394         * debug/strncpy_chk.c: Likewise.
51396 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51398         [BZ #15268]
51399         [BZ #15425]
51400         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
51401         (__ieee754_exp): For possibly underflowing results, check size of
51402         result and force underflow exception if required.
51403         * math/auto-libm-test-in: Add more tests of exp.
51404         * math/auto-libm-test-out: Regenerated.
51405         * sysdeps/i386/fpu/libm-test-ulps: Update.
51406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51408         [BZ #16283]
51409         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
51410         * math/w_exp2f.c (__exp2f): Likewise.
51411         * math/w_exp2l.c (__exp2l): Likewise.
51412         * math/auto-libm-test-in: Do not allow missing errno on exp2
51413         underflow.
51414         * math/auto-libm-test-out: Regenerated.
51416 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
51418         [BZ #16274]
51419         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
51420         handle filename validation.
51421         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
51422         (do_open): Delete.
51424 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51426         [BZ #6786]
51427         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
51428         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
51429         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
51430         <float.h>.
51431         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
51432         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
51433         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51434         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
51435         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51436         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
51437         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51438         * math/auto-libm-test-in: Don't allow missing errno from erfc.
51439         Add more erfc tests.
51440         * math/auto-libm-test-out: Regenerated.
51441         * sysdeps/i386/fpu/libm-test-ulps: Update.
51442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51444         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
51445         exp2, expm1, j0 and j1.
51446         * math/auto-libm-test-out: Regenerated.
51447         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
51448         (erfc_test_data): Likewise.
51449         (exp_test_data): Likewise.
51450         (exp_tonearest_test_data): Likewise.
51451         (exp_towardzero_test_data): Likewise.
51452         (exp_downward_test_data): Likewise.
51453         (exp_upward_test_data): Likewise.
51454         (exp10_test_data): Likewise.
51455         (exp2_test_data): Likewise.
51456         (expm1_test_data): Likewise.
51457         (j0_test_data): Likewise.
51458         (j1_test_data): Likewise.
51459         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
51460         (input_flag_type): Add flag_xfail_rounding.
51461         (input_flags): Add xfail-rounding.
51462         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
51463         (output_for_one_input_case): Handle flag_xfail_rounding.
51464         * sysdeps/i386/fpu/libm-test-ulps: Update.
51465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51467 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
51469         [BZ #16289]
51470         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
51471         division by 0.
51473 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51475         [BZ #16195]
51476         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
51477         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
51478         (STAP_PROBE0): New macro.
51479         (STAP_PROBE1): Likewise.
51480         (STAP_PROBE2): Likewise.
51481         (STAP_PROBE3): Likewise.
51482         (STAP_PROBE4): Likewise.
51484 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
51486         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
51488 2013-12-02  Steve Ellcey  <sellcey@mips.com>
51490         * benchtests/Makefile (bench): Add sqrt.
51491         (LDLIBS-bench-sqrt): New.
51492         * benchtests/sqrt-input: New.
51494 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
51496         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
51497         (GAIH_EAI): Likewise.
51498         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
51499         (gaih_inet): Likewise.
51500         (getaddrinfo): Don't use GAIH_EAI.
51502         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
51503         (struct gaih): Remove definition.
51505 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51507         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
51508         Use HERRNOP directly.
51510 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51514 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
51516         * math/gen-auto-libm-tests.c (test_functions): Add more
51517         single-argument functions.
51518         (special_fill_pi_2): New function.
51519         (special_fill_minus_pi_2): Likewise.
51520         (special_fill_pi_6): Likewise.
51521         (special_fill_minus_pi_6): Likewise.
51522         (special_fill_pi_3): Likewise.
51523         (special_fill_2pi_3): Likewise.
51524         (special_fill_e): Likewise.
51525         (special_fill_1_e): Likewise.
51526         (special_fill_e_minus_1): Likewise.
51527         (special_real_inputs): Add more special inputs.
51528         (output_for_one_input_case): Do not require ERANGE on underflow to
51529         zero if round-to-nearest result does not underflow to zero, unless
51530         exact results required.
51531         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
51532         atan, atanh, cbrt, cos and cosh.
51533         * math/auto-libm-test-out: Regenerated.
51534         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
51535         (acos_tonearest_test_data): Likewise.
51536         (acos_towardzero_test_data): Likewise.
51537         (acos_downward_test_data): Likewise.
51538         (acos_upward_test_data): Likewise.
51539         (acosh_test_data): Likewise.
51540         (asin_test_data): Likewise.
51541         (asin_tonearest_test_data): Likewise.
51542         (asin_towardzero_test_data): Likewise.
51543         (asin_upward_test_data): Likewise.
51544         (asinh_test_data): Likewise.
51545         (atan_test_data): Likewise.
51546         (atanh_test_data): Likewise.
51547         (cbrt_test_data): Likewise.
51548         (cos_test_data): Likewise.
51549         (cos_tonearest_test_data): Likewise.
51550         (cos_towardzero_test_data): Likewise.
51551         (cos_downward_test_data): Likewise.
51552         (cos_upward_test_data): Likewise.
51553         (cosh_test_data): Likewise.
51554         (cosh_tonearest_test_data): Likewise.
51555         (cosh_towardzero_test_data): Likewise.
51556         (cosh_downward_test_data): Likewise.
51557         (cosh_upward_test_data): Likewise.
51558         * sysdeps/i386/fpu/libm-test-ulps: Update.
51559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51561 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
51563         [BZ #6787]
51564         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
51565         * math/w_exp10f.c (__exp10f): Likewise.
51566         * math/w_exp10l.c (__exp10l): Likewise.
51567         * math/libm-test.inc (exp10_test_data): Add more tests and expect
51568         errno settings in existing tests.
51570         [BZ #14032]
51571         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
51572         precision control set to double precision.
51573         * sysdeps/i386/fpu/w_sqrt.c: New file.
51574         * math/auto-libm-test-in: Add more tests.
51575         * math/auto-libm-test-out: Update.
51577         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
51578         (sqrt_test_tonearest): New function.
51579         (sqrt_towardzero_test_data): New variable.
51580         (sqrt_test_towardzero): New function.
51581         (sqrt_downward_test_data): New variable.
51582         (sqrt_test_downward): New function.
51583         (sqrt_upward_test_data): New variable.
51584         (sqrt_test_upward): New function.
51585         (main): Call the new functions.
51587         * math/gen-auto-libm-tests.c: New file.
51588         * math/auto-libm-test-in: Likewise.
51589         * math/auto-libm-test-out: New generated file.
51590         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
51591         variables.
51592         (%beautify): Add generated representations of zero.
51593         (top level): Set $auto_input and call parse_auto_input.
51594         (beautify): Remove trailing "f" from hex float constants.
51595         (parse_args): Handle XFAIL_TEST.
51596         (convert_condition): New function.
51597         (or_value): Likewise.
51598         (or_cond_value): Likewise.
51599         (generate_testfile): Handle AUTO_TESTS_* lines.
51600         (parse_auto_input): New function.
51601         * math/libm-test.inc (XFAIL_TEST): New macro.
51602         (ERRNO_UNCHANGED): Update value.
51603         (ERRNO_EDOM): Likewise.
51604         (ERRNO_ERANGE): Likewise.
51605         (IGNORE_RESULT): Likewise.
51606         (TEST_COND_flt_32): New macro.
51607         (TEST_COND_dbl_64): Likewise.
51608         (TEST_COND_ldbl_96_intel): Likewise.
51609         (TEST_COND_ldbl_96_m68k): Likewise.
51610         (TEST_COND_ldbl_128): Likewise.
51611         (TEST_COND_ldbl_128ibm): Likewise.
51612         (TEST_COND_long32): Likewise.
51613         (TEST_COND_long64): Likewise.
51614         (TEST_COND_before_rounding): Likewise.
51615         (TEST_COND_after_rounding): Likewise.
51616         (enable_test): Handle XFAIL_TEST flag.
51617         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
51618         with finite results.
51619         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
51620         auto-libm-test-out.
51622 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51623             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51625         [BZ #16214]
51626         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
51627         __tls_get_addr_internal instead of __tls_get_offset in order to
51628         avoid GOT pointer dependency.  Make rtld export
51629         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
51630         __tls_get_addr since we are a __tls_get_offset platform.
51631         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
51632         GOT pointer being set up before.
51633         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
51635 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
51637         * manual/math.texi (Errors in Math Functions): Document accuracy
51638         goals.
51640         [BZ #15004]
51641         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
51642         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
51643         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51644         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51645         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51646         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51647         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51648         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51649         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51650         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51651         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51652         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51653         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51654         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51655         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51656         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51658         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
51659         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
51660         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
51661         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
51662         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
51663         Likewise.
51664         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
51665         Likewise.
51666         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
51667         Likewise.
51668         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
51669         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
51670         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
51671         atomic-feupdateenv and flt-rounds.
51672         * sysdeps/powerpc/nofpu/Versions (libc): Add
51673         __atomic_feholdexcept, __atomic_feclearexcept,
51674         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
51675         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
51676         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
51677         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
51678         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
51679         here.
51680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
51681         Update.
51683         * manual/arith.texi (FP Exceptions): Document that exceptions may
51684         not be raised when matherr is used.
51685         (Math Error Reporting): Document overflow in directed rounding
51686         modes.  Document that errno may not be set when finite values are
51687         returned on overflow.  Document intent to set errno on underflow
51688         only for underflow to zero.
51690         [BZ #16271]
51691         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
51692         round-to-nearest then adjust result for other rounding modes.
51693         * include/fenv.h (fegetround): Use libm_hidden_proto.
51694         * math/fegetround.c (fegetround): Use libm_hidden_def.
51695         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
51696         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
51697         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51698         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
51699         Likewise.
51700         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
51701         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
51702         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
51703         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
51705 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51707         [BZ #16077]
51708         * nss/Versions (libnss_files): Add
51709         _nss_files_gethostbyname3_r.
51710         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
51711         New function.
51712         (HOST_DB_LOOKUP): Remove macro.
51713         (_nss_files_gethostbyname_r): Implement function without the
51714         HOST_DB_LOOKUP macro.
51715         (_nss_files_gethostbyname2_r): Likewise.
51717 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
51719         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
51721 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
51723         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
51724         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
51725         warning.
51727 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51729         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
51730         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
51731         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51732         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
51733         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
51734         __fe_nomask_env_priv and attribute_hidden.
51735         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
51736         (libc_feupdateenv_test_ppc): Likewise.
51737         (libc_feresetround_ppc): Likewise.
51738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51739         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
51740         compat_symbol macro.
51741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51742         (__fe_nomask_env): Likewise.
51743         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
51745 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51747         * string/Makefile: Remove ifunc tests.
51748         * string/test-string.h: Define TEST_IFUNC.
51749         * string/test-bcopy-ifunc.c: Remove.
51750         * string/test-bzero-ifunc.c: Likewise.
51751         * string/test-memccpy-ifunc.c: Likewise.
51752         * string/test-memchr-ifunc.c: Likewise.
51753         * string/test-memcmp-ifunc.c: Likewise.
51754         * string/test-memcpy-ifunc.c: Likewise.
51755         * string/test-memmem-ifunc.c: Likewise.
51756         * string/test-memmove-ifunc.c: Likewise.
51757         * string/test-mempcpy-ifunc.c: Likewise.
51758         * string/test-memrchr-ifunc.c: Likewise.
51759         * string/test-memset-ifunc.c: Likewise.
51760         * string/test-rawmemchr-ifunc.c: Likewise.
51761         * string/test-stpcpy-ifunc.c: Likewise.
51762         * string/test-stpncpy-ifunc.c: Likewise.
51763         * string/test-strcasecmp-ifunc.c: Likewise.
51764         * string/test-strcasestr-ifunc.c: Likewise.
51765         * string/test-strcat-ifunc.c: Likewise.
51766         * string/test-strchr-ifunc.c: Likewise.
51767         * string/test-strchrnul-ifunc.c: Likewise.
51768         * string/test-strcmp-ifunc.c: Likewise.
51769         * string/test-strcpy-ifunc.c: Likewise.
51770         * string/test-strcspn-ifunc.c: Likewise.
51771         * string/test-strlen-ifunc.c: Likewise.
51772         * string/test-strncasecmp-ifunc.c: Likewise.
51773         * string/test-strncat-ifunc.c: Likewise.
51774         * string/test-strncmp-ifunc.c: Likewise.
51775         * string/test-strncpy-ifunc.c: Likewise.
51776         * string/test-strnlen-ifunc.c: Likewise.
51777         * string/test-strpbrk-ifunc.c: Likewise.
51778         * string/test-strrchr-ifunc.c: Likewise.
51779         * string/test-strspn-ifunc.c: Likewise.
51780         * string/test-strstr-ifunc.c: Likewise.
51782 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51784         * benchtests/Makefile: Remove ifunc tests.
51785         * benchtests/bench-string.h: Define TEST_IFUNC.
51786         * benchtests/bench-bcopy-ifunc.c: Remove.
51787         * benchtests/bench-bzero-ifunc.c: Likewise.
51788         * benchtests/bench-memccpy-ifunc.c: Likewise.
51789         * benchtests/bench-memchr-ifunc.c: Likewise.
51790         * benchtests/bench-memcmp-ifunc.c: Likewise.
51791         * benchtests/bench-memcpy-ifunc.c: Likewise.
51792         * benchtests/bench-memmem-ifunc.c: Likewise.
51793         * benchtests/bench-memmove-ifunc.c: Likewise.
51794         * benchtests/bench-mempcpy-ifunc.c: Likewise.
51795         * benchtests/bench-memrchr-ifunc.c: Likewise.
51796         * benchtests/bench-memset-ifunc.c: Likewise.
51797         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
51798         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
51799         * benchtests/bench-stpcpy-ifunc.c: Likewise.
51800         * benchtests/bench-stpncpy-ifunc.c: Likewise.
51801         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
51802         * benchtests/bench-strcasestr-ifunc.c: Likewise.
51803         * benchtests/bench-strcat-ifunc.c: Likewise.
51804         * benchtests/bench-strchr-ifunc.c: Likewise.
51805         * benchtests/bench-strchrnul-ifunc.c: Likewise.
51806         * benchtests/bench-strcmp-ifunc.c: Likewise.
51807         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
51808         * benchtests/bench-strcpy-ifunc.c: Likewise.
51809         * benchtests/bench-strcspn-ifunc.c: Likewise.
51810         * benchtests/bench-strlen-ifunc.c: Likewise.
51811         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
51812         * benchtests/bench-strncat-ifunc.c: Likewise.
51813         * benchtests/bench-strncmp-ifunc.c: Likewise.
51814         * benchtests/bench-strncpy-ifunc.c: Likewise.
51815         * benchtests/bench-strnlen-ifunc.c: Likewise.
51816         * benchtests/bench-strpbrk-ifunc.c: Likewise.
51817         * benchtests/bench-strrchr-ifunc.c: Likewise.
51818         * benchtests/bench-strsep-ifunc.c: Likewise.
51819         * benchtests/bench-strspn-ifunc.c: Likewise.
51820         * benchtests/bench-strstr-ifunc.c: Likewise.
51822 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51824         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
51826 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51828         * resolv/netdb.h: Use __glibc_reserved instead __unused.
51829         * rt/aio.h: Likewise.
51830         * sysdeps/gnu/bits/utmp.h: Likewise.
51831         * sysdeps/gnu/bits/utmpx.h: Likewise.
51832         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51833         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
51834         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
51835         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
51836         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
51837         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
51838         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
51839         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
51840         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
51841         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
51842         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
51843         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
51844         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
51845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
51846         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51847         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
51848         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
51849         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
51850         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
51851         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
51852         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
51853         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
51854         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
51855         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51856         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
51857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51858         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
51859         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
51860         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
51861         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
51862         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
51863         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
51864         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
51865         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
51866         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
51867         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
51868         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
51869         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
51870         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
51871         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
51872         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
51873         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51875 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
51877         [BZ #16245]
51878         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
51879         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
51881 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
51883         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
51884         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
51885         Likewise.
51887 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
51890         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
51891         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
51892         (__fesetround): Remove define.
51893         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
51894         rounding and exceptions handling.
51895         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
51896         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
51897         (__fe_nomask_env): Likewise.
51898         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
51899         __fegetround instead of fegetround.
51900         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51901         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
51903 2013-11-21  Roland McGrath  <roland@hack.frob.com>
51905         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
51906         it's there.
51908         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
51910 2013-11-21  Meador Inge  <meadori@codesourcery.com>
51912         [BZ #11157]
51913         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
51914         (encrypt_r): Likewise.
51915         * malloc/obstack.h (obstack_free): Likewise.
51916         * posix/unistd.h (encrypt): Likewise.
51918 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
51920         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
51921         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
51922         DL_CALL_DT_FINI() that call the functions directly.
51923         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
51924         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
51925         * elf/dl-fini.c: Likewise.
51927 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
51929         * malloc/hooks.c (memalign_check): Add alignment rounding.
51930         * malloc/malloc.c (_mid_memalign): New function.
51931         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
51932         Implement by calling _mid_memalign.
51933         * manual/probes.texi (Memory Allocation Probes): Remove
51934         memory_valloc_retry and memory_pvalloc_retry.
51936 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51938         * locale/programs/locarchive.c (open_archive): Add const
51939         qualifier to ARCHIVEFNAME and copy default fname to
51940         DEFAULT_FNAME.
51942         [BZ #15601]
51943         * libio/tst-widetext.input: Rename Oriya to Odia.
51944         * locale/iso-639.def: Likewise.
51946         * manual/probes.texi (Mathematical Function Probes): Add
51947         documentation for sin, cos, asin and acos probes.
51948         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
51949         (__sin32): Add slowasin probe.
51950         (__cos32): Add slowacos probe.
51951         (__mpsin): Add slowsin probe.
51952         (__mpcos): Add slowcos probe.
51954 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
51956         [BZ #15483]
51957         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
51958         thread-local __sim_exceptions_thread and global
51959         __sim_exceptions_global.
51960         (__sim_disabled_exceptions): Change to thread-local
51961         __sim_disabled_exceptions_thread and global
51962         __sim_disabled_exceptions_global.
51963         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51964         and global __sim_round_mode_global.
51965         (__simulate_exceptions): Use thread-local floating-point state and
51966         set global state from it as needed.
51967         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
51968         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
51969         __sim_round_mode_thread.
51970         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
51971         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
51972         and global __sim_exceptions_global.
51973         (__sim_disabled_exceptions): Change to thread-local
51974         __sim_disabled_exceptions_thread and global
51975         __sim_disabled_exceptions_global.
51976         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51977         and global __sim_round_mode_global.
51978         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
51979         (SIM_SET_GLOBAL): Likewise.
51980         * sysdeps/powerpc/soft-fp/sfp-machine.h
51981         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
51982         __sim_round_mode_thread.
51983         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
51984         __sim_disabled_exceptions_thread.
51985         (__sim_exceptions): Change to __sim_exceptions_thread.
51986         (__sim_disabled_exceptions): Change to
51987         __sim_disabled_exceptions_thread.
51988         (__sim_round_mode): Change to __sim_round_mode_thread.
51989         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
51990         thread-local floating-point state and set global state from it as
51991         needed.
51992         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
51993         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
51994         (__sim_disabled_exceptions): Remove extern declaration.
51995         (feenableexcept): Use thread-local floating-point state and set
51996         global state from it as needed.
51997         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
51998         extern declaration.
51999         (__sim_disabled_exceptions): Likewise.
52000         (__sim_round_mode): Likewise.
52001         (__fegetenv): Use thread-local floating-point state.
52002         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
52003         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52004         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52005         floating-point state and set global state from it as needed.
52006         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
52007         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
52008         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
52009         Likewise.
52010         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
52011         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
52012         Likewise.
52013         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
52014         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
52015         Use __sim_round_mode_thread.
52016         * math/test-fenv-tls.c: New file.
52017         * math/Makefile (tests): Add test-fenv-tls.
52018         ($(objpfx)test-fenv-tls): Depend on
52019         $(common-objpfx)nptl/libpthread.so.
52021 2013-11-19  Andreas Schwab  <schwab@suse.de>
52023         * locale/programs/locale.c (show_info): Decode wordarray elements.
52024         * locale/categories.def (LC_MONETARY): Add element for
52025         _NL_MONETARY_CRNCYSTR.
52026         * locale/C-monetary.c (conversion_rate): New variable.
52027         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
52028         element.
52030 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
52032         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
52033         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
52035 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52037         * elf/Makefile (tst-auxv): New test.
52038         * elf/tst-auxv.c: New
52039         * elf/rtld.c (dl_main): Adjust AT_EXECFN
52041 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
52043         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
52044         (hidden_proto): Caller changed.
52045         (hidden_tls_proto): New macro.
52046         (libc_hidden_tls_proto): Likewise.
52047         (rtld_hidden_tls_proto): Likewise.
52048         (libm_hidden_tls_proto): Likewise.
52049         (libresolv_hidden_tls_proto): Likewise.
52050         (librt_hidden_tls_proto): Likewise.
52051         (libdl_hidden_tls_proto): Likewise.
52052         (libnss_files_hidden_tls_proto): Likewise.
52053         (libnsl_hidden_tls_proto): Likewise.
52054         (libnss_nisplus_hidden_tls_proto): Likewise.
52055         (libutil_hidden_tls_proto): Likewise.
52057 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
52059         [BZ #10253]
52060         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52061         (decompose_rpath): Defer expansion to fillin_rpath.
52062         (_dl_init_paths): Pass linkmap to fillin_rpath.
52064 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52066         * benchtests/Makefile: Add strsep.
52067         * benchtests/bench-strsep.c: New file: strsep benchtest.
52068         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52070 2013-11-18  Andreas Schwab  <schwab@suse.de>
52072         * locale/programs/locale.c (show_info) [case byte]: Check for
52073         '\377' instead of '\177'.
52074         * locale/C-monetary.c (not_available): Always use "\377".
52075         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52076         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52077         detect unavailable sign_posn locale elements.
52078         * locale/localeconv.c (__localeconv): For grouping and
52079         mon_grouping handle "\177" and "\377" like no grouping.
52080         (INT_ELEM): New macro.  Use it to set all numeric members.
52081         * locale/programs/ld-monetary.c (monetary_read)
52082         <tok_mon_grouping>: Normalize single -1 to the empty string.
52083         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52084         Likewise.
52086 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52088         [BZ #16055]
52089         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52090         when we match (nil).
52091         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52093 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52095         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52096         (NO_TEST_INLINE): Update value.
52097         (ERRNO_UNCHANGED): Likewise.
52098         (ERRNO_EDOM): Likewise.
52099         (ERRNO_ERANGE): Likewise.
52100         (IGNORE_RESULT): Likewise.
52101         (check_float_internal): Check signs of NaN results if
52102         TEST_NAN_SIGN used.
52103         (check_complex): Pass TEST_NAN_SIGN flag through to second
52104         check_float_internal call.
52105         (copysign_test_data): Add tests with quiet NaNs as second
52106         argument.  Use TEST_NAN_SIGN.
52107         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52108         TEST_NAN_SIGN.
52109         (signbit_test_data): Add tests of quiet NaN argument.
52110         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52112         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52113         $ignore_result.
52114         (parse_args): Handle function results specified as IGNORE.
52115         * math/libm-test.inc (IGNORE_RESULT): New macro.
52116         (check_float_internal): Do not check numerical result if flag
52117         IGNORE_RESULT set.
52118         (check_complex): Pass through IGNORE_RESULT to second
52119         check_float_internal call.
52120         (check_int): Do not check numerical result if flag IGNORE_RESULT
52121         set.
52122         (check_long): Likewise.
52123         (check_bool): Likewise.
52124         (check_longlong): Likewise.
52125         (lrint_test_data): Add tests of infinite and NaN arguments.
52126         (lrint_tonearest_test_data): Likewise.
52127         (lrint_towardzero_test_data): Likewise.
52128         (lrint_downward_test_data): Likewise.
52129         (lrint_upward_test_data): Likewise.
52130         (llrint_test_data): Likewise.
52131         (llrint_tonearest_test_data): Likewise.
52132         (llrint_towardzero_test_data): Likewise.
52133         (llrint_downward_test_data): Likewise.
52134         (llrint_upward_test_data): Likewise.
52135         (lround_test_data): Likewise.
52136         (llround_test_data): Likewise.
52138         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52139         (ERRNO_UNCHANGED): Update value.
52140         (ERRNO_EDOM): Likewise.
52141         (ERRNO_ERANGE): Likewise.
52142         (NO_TEST_INLINE_FLOAT): New macro.
52143         (NO_TEST_INLINE_DOUBLE): Likewise.
52144         (enable_test): New function.
52145         (RUN_TEST_f_f): Check enable_test before running test.
52146         (RUN_TEST_2_f): Likewise.
52147         (RUN_TEST_fff_f): Likewise.
52148         (RUN_TEST_c_f): Likewise.
52149         (RUN_TEST_f_f1): Likewise.
52150         (RUN_TEST_fF_f1): Likewise.
52151         (RUN_TEST_fI_f1): Likewise.
52152         (RUN_TEST_ffI_f1): Likewise.
52153         (RUN_TEST_c_c): Likewise.
52154         (RUN_TEST_cc_c): Likewise.
52155         (RUN_TEST_f_i): Likewise.
52156         (RUN_TEST_f_i_tg): Likewise.
52157         (RUN_TEST_ff_i_tg): Likewise.
52158         (RUN_TEST_f_b): Likewise.
52159         (RUN_TEST_f_b_tg): Likewise.
52160         (RUN_TEST_f_l): Likewise.
52161         (RUN_TEST_f_L): Likewise.
52162         (RUN_TEST_fFF_11): Likewise.
52163         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52164         conditionals.
52165         (cosh_test_data): Likewise.
52166         (exp_test_data): Likewise.
52167         (expm1_test_data): Likewise.
52168         (hypot_test_data): Likewise.
52169         (pow_test_data): Likewise.
52170         (sinh_test_data): Likewise.
52171         (tanh_test_data): Likewise.
52172         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52173         flags argument.
52175         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52176         tests with quiet NaN input and output.
52177         (acosh_test_data): Likewise.
52178         (asin_test_data): Likewise.
52179         (asinh_test_data): Likewise.
52180         (atan_test_data): Likewise.
52181         (atanh_test_data): Likewise.
52182         (atan2_test_data): Likewise.
52183         (cbrt_test_data): Likewise.
52184         (cos_test_data): Likewise.
52185         (cosh_test_data): Likewise.
52186         (erf_test_data): Likewise.
52187         (erfc_test_data): Likewise.
52188         (exp_test_data): Likewise.
52189         (exp10_test_data): Likewise.
52190         (exp2_test_data): Likewise.
52191         (expm1_test_data): Likewise.
52192         (hypot_test_data): Likewise.
52193         (j0_test_data): Likewise.
52194         (j1_test_data): Likewise.
52195         (jn_test_data): Likewise.
52196         (lgamma_test_data): Likewise.
52197         (log_test_data): Likewise.
52198         (log10_test_data): Likewise.
52199         (log1p_test_data): Likewise.
52200         (log2_test_data): Likewise.
52201         (pow_test_data): Likewise.
52202         (scalb_test_data): Likewise.
52203         (sin_test_data): Likewise.
52204         (sincos_test_data): Likewise.
52205         (sinh_test_data): Likewise.
52206         (tan_test_data): Likewise.
52207         (tanh_test_data): Likewise.
52208         (tgamma_test_data): Likewise.
52209         (y0_test_data): Likewise.
52210         (y1_test_data): Likewise.
52211         (yn_test_data): Likewise.
52213         [BZ #16167]
52214         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52215         argument being NaN and avoid computations with second argument in
52216         that case.
52217         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52218         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52219         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52221 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52223         * locale/iso-639.def: Add Chitwani Tharu (the).
52225 2013-11-14  Andreas Schwab  <schwab@suse.de>
52227         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52228         word instead of empty string.
52230 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52233         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52235         (__fe_nomask_env): Likewise.
52237 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52239         * benchtests/bench-timing.h: Include time.h.
52241 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52243         [BZ #15997]
52244         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52245         to 3.4.0 for x32.
52246         * sysdeps/unix/sysv/linux/configure: Regenerated.
52248 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52250         [BZ #16151]
52251         * stdlib/strtod_l.c (round_and_return): Do not consider
52252         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52253         exponent one less than half the least subnormal exponent.
52254         * stdlib/test-strtod-round-data: Add more tests.
52255         * stdlib/tst-strtod-round.c (tests): Regenerated.
52257 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52259         [BZ #14143]
52260         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52261         (__fe_mask_env): Likewise.
52262         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52263         libm_hidden_proto and add function prototype.
52264         (__fe_mask_env): Add function prototype.
52265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52266         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52268         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52270         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52272 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52274         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52275         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52277 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52279         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52280         of htab_find_slot().
52282 2013-11-11  David S. Miller  <davem@davemloft.net>
52284         [BZ #16150]
52285         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52286         symbol in the non-vis3 case in static builds.
52287         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52288         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52289         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52290         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52292 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52294         [BZ #387]
52295         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52296         it is empty.
52298 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52300         * benchtests/Makefile: Add bench-strtod.
52301         * benchtests/bench-strtod.c: New file: strtod benchtest
52303 2013-11-11  Andreas Schwab  <schwab@suse.de>
52305         [BZ #16153]
52306         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52307         terminating NUL in key length.
52309 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52311         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52312         Add artificial ODP entry for vDSO symbol for PPC64.
52313         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52314         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52316 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52318         [BZ #15374]
52319         * nss/getent.c (services_keys): Recognize services starting with digit.
52321 2013-11-06  David S. Miller  <davem@davemloft.net>
52323         [BZ #15985]
52324         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52325         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52327 2013-11-06  Will Newton  <will.newton@linaro.org>
52329         * manual/memory.texi (Malloc Examples): Remove register
52330         keyword from examples.
52332 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
52334         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52336 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
52338         [BZ #6981]
52339         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52340         depending on [__GCC_IEC_559 > 0].
52341         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52342         depending on [__GCC_IEC_559_COMPLEX > 0].
52344 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
52346         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52347         to iso-639.def.
52349 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
52351         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52353 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52355         [BZ #16112]
52356         * malloc/malloc (malloc_info): Do not handle first bin as
52357         special case.
52359 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52361         * locale/iso-639.def: Add Central Nahuatl (nhn).
52363 2013-11-01  Bruno Haible  <bruno@clisp.org>
52365         [BZ #7003]
52366         * manual/math.texi (BSD Random): Specify range upper bound as
52367         in POSIX.
52369 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
52371         * locale/iso-639.def: Add Meadow Mari (mhr).
52373 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
52375         [BZ #14752], [BZ #15763]
52376         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
52377         Validate name.
52378         * rt/tst_shm.c: Add test for escaping directory.
52380 2013-10-31  Andreas Schwab  <schwab@suse.de>
52382         [BZ #15917]
52383         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
52384         followed by 'x' as part of digit sequence.
52385         * stdio-common/tst-sscanf.c (double_tests2): New tests.
52387 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
52389         [BZ #16037]
52390         * configure.ac: allow GNU Make 4.0 and greater.
52391         * configure: Regenerated.
52393 2013-10-30  Will Newton  <will.newton@linaro.org>
52395         [BZ #16038]
52396         * malloc/hooks.c (memalign_check): Limit alignment to the
52397         maximum representable power of two.
52398         * malloc/malloc.c (__libc_memalign): Likewise.
52399         * malloc/tst-memalign.c (do_test): Add test for very
52400         large alignment values.
52401         * malloc/tst-posix_memalign.c (do_test): Likewise.
52403 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52405         [BZ #11087]
52406         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
52407         (munmap_chunk): Likewise.
52408         (mremap_chunk): Likewise.
52410 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52412         [BZ #15799]
52413         * stdlib/div.c (div): Remove obsolete code.
52414         * stdlib/ldiv.c (ldiv): Likewise.
52415         * stdlib/lldiv.c (lldiv): Likewise.
52417 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52419         [BZ #16071]
52420         * nss/nss_files/files-XXX.c (get_contents_ret): New
52421         enumerator.
52422         (get_contents): New function.
52423         (internal_getent): Use it.  Expand size of LINEBUFLEN.
52425 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
52427         * configure.in: Moved to ...
52428         * configure.ac: ... here. Change reference to configure.in
52429         to configure.ac.
52430         * sysdeps/arm/preconfigure.ac: ... here.
52431         configure.in to configure.ac.
52432         * sysdeps/gnu/configure.in: Moved to ...
52433         * sysdeps/gnu/configure.ac: ... here.
52434         * sysdeps/i386/configure.in: Moved to ...
52435         * sysdeps/i386/configure.ac: ... here.
52436         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
52437         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
52438         * sysdeps/mach/configure.in: Moved to ...
52439         * sysdeps/mach/configure.ac: ... here.
52440         * sysdeps/mach/hurd/configure.in: Moved to ...
52441         * sysdeps/mach/hurd/configure.ac: ... here.
52442         * sysdeps/powerpc/configure.in: Moved to ...
52443         * sysdeps/powerpc/configure.ac: ... here.
52444         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
52445         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
52446         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
52447         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
52448         * sysdeps/s390/s390-32/configure.in: Moved to ...
52449         * sysdeps/s390/s390-32/configure.ac: ... here.
52450         * sysdeps/s390/s390-64/configure.in: Moved to ...
52451         * sysdeps/s390/s390-64/configure.ac: ... here.
52452         * sysdeps/sh/configure.in: Moved to ...
52453         * sysdeps/sh/configure.ac: ... here.
52454         * sysdeps/sparc/configure.in: Moved to ...
52455         * sysdeps/sparc/configure.ac: ... here.
52456         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
52457         * sysdeps/unix/sysv/linux/configure.ac: ... here.
52458         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
52459         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
52460         * sysdeps/x86_64/configure.in: Moved to ...
52461         * sysdeps/x86_64/configure.ac: ... here.
52462         * sysdeps/x86_64/preconfigure.in: Moved to ...
52463         * sysdeps/x86_64/preconfigure.ac: ... here.
52464         * aclocal.m4: Change reference to configure.in to configure.ac.
52465         * config.h.in: Likewise.
52466         * manual/install.texi: Likewise.
52467         * manual/maint.texi: Likewise.
52468         * Makefile: Likewise.
52469         * malloc/Makefile: Likewise.
52470         * nscd/Makefile: Likewise.
52471         * Makeconfig: Change reference to configure.in and
52472         preconfigure.in to configure.ac and preconfigure.ac
52473         respectively.
52474         * INSTALL: Regenerated.
52475         * configure: Likewise.
52476         * sysdeps/gnu/configure: Likewise.
52477         * sysdeps/i386/configure: Likewise.
52478         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
52479         * sysdeps/mach/configure: Likewise.
52480         * sysdeps/mach/hurd/configure: Likewise.
52481         * sysdeps/powerpc/configure: Likewise.
52482         * sysdeps/powerpc/powerpc32/configure: Likewise.
52483         * sysdeps/powerpc/powerpc64/configure: Likewise.
52484         * sysdeps/s390/s390-32/configure: Likewise.
52485         * sysdeps/s390/s390-64/configure: Likewise.
52486         * sysdeps/sh/configure: Likewise.
52487         * sysdeps/sparc/configure: Likewise.
52488         * sysdeps/unix/sysv/linux/configure: Likewise.
52489         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
52490         * sysdeps/x86_64/configure: Likewise.
52491         * sysdeps/x86_64/preconfigure: Likewise.
52493 2013-10-29  Andreas Schwab  <schwab@suse.de>
52495         * stdio-common/Makefile (tst-swscanf-ENV): Define.
52497 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52499         * benchtests/pow-inputs: Add new inputs.
52501         * benchtests/exp-inputs: Add new inputs.
52503         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
52504         conditional check for return value.
52505         (__cos32): Likewise.
52507 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52509         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
52510         to provide a boost for large inputs with word alignment.
52511         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
52512         implementation based on optimized PPC64 strcpy.
52513         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
52514         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
52515         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
52516         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
52518 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52520         [BZ #2801]
52521         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
52523 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52525         [BZ #14876]
52526         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
52527         * time/tst-strptime.c (day_tests): Add testcase.
52529 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52531         [BZ #14029]
52532         * manual/pattern.texi: Acknowledge that fnmatch can fail.
52534 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
52536         [BZ #16074]
52537         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
52538         MAP_FAILED on error.
52540 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52542         [BZ #16072]
52543         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
52544         heap for large requests.
52546 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
52548         [BZ #9954]
52549         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
52550         result if the result has no associated interface.
52551         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
52552         interface for all 127.X.Y.Z addresses.
52554 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
52556         * locale/iso-639.def: Add Ligurian (lij)
52558 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
52560         [BZ #15825]
52561         * sunrpc/rpc_main.c: Document rpcgen -5.
52563 2013-10-19  Michael Stahl  <mstahl@redhat.com>
52565         * elf/rtld.c (do_preload): Print the reason why preloading failed.
52567 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
52569         [BZ #10278]
52570         * posix/glob.c: Match only directories when trailing slash is present.
52571         * posix/tst-gnuglob.c (my_opendir): Do not open files.
52572         (main): Add testcase.
52574 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
52576         [BZ #15670]
52577         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
52579 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
52581         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
52582         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
52583         AUTH_DES and cindex for FIPS 140-2.
52584         (DES Encryption): Add cindex FIPS 46-3.
52586         * locale/locarchive.h (struct locarhandle): Add fname.
52587         * locale/programs/localedef.c (main): Pass ARGV[remaining]
52588         if an optional argument was specified to --list-archive,
52589         otherwise NULL.
52590         * locale/programs/locarchive.c (show_archive_content): Take new
52591         argument fname and pass it via ah.fname to open_archive.
52592         * locale/programs/localedef.h: Update decl.
52593         (open_archive): If AH->fname is non-null, open that file
52594         rather than the default file name, and don't ignore ENOENT.
52595         (create_archive): Set AH.fname to NULL.
52596         (delete_locales_from_archive): Likewise.
52597         (add_locales_to_archive): Likewise.
52598         * locale/programs/locfile.c (write_all_categories): Likewise.
52600 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
52601             Aldy Hernandez  <aldyh@redhat.com>
52603         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
52604         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
52605         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
52606         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
52607         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
52608         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
52609         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
52610         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
52611         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
52612         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
52613         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
52614         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
52615         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
52616         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
52617         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
52618         Likewise.
52619         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
52620         Likewise.
52621         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
52622         Likewise.
52623         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
52624         Likewise.
52625         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
52626         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
52627         Likewise.
52628         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
52629         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
52630         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
52631         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
52632         Likewise.
52633         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
52634         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
52635         * sysdeps/powerpc/preconfigure: Likewise.
52636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
52637         Likewise.
52638         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
52639         Replace contents of file by #include of <fenv_libc.h>.
52640         * sysdeps/powerpc/soft-fp/sfp-machine.h
52641         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
52642         and <sys/prctl.h>.
52643         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
52644         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
52645         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
52646         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
52647         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
52648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
52649         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
52650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
52651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
52652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
52653         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
52654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
52655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52656         Allow copysignl PLT reference to be missing.
52658 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
52659             Joseph Myers  <joseph@codesourcery.com
52661         [BZ #15948]
52662         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
52663         single character.
52664         (add_to_tablewc): Assert sequence of wide characters is nonempty.
52666 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52668         * elf/tst-tls-dlinfo.c: Don't include tls.h.
52669         * elf/tst-tls1.c: Likewise.
52670         * elf/tst-tls10.h: Likewise.
52671         * elf/tst-tls14.c: Likewise.
52672         * elf/tst-tls2.c: Likewise.
52673         * elf/tst-tls3.c: Likewise.
52674         * elf/tst-tls4.c: Likewise.
52675         * elf/tst-tls5.c: Likewise.
52676         * elf/tst-tls6.c: Likewise.
52677         * elf/tst-tls7.c: Likewise.
52678         * elf/tst-tls8.c: Likewise.
52679         * elf/tst-tls9.c: Likewise.
52680         * elf/tst-tlsmod1.c: Likewise.
52681         * elf/tst-tlsmod13.c: Likewise.
52682         * elf/tst-tlsmod13a.c: Likewise.
52683         * elf/tst-tlsmod14a.c: Likewise.
52684         * elf/tst-tlsmod16a.c: Likewise.
52685         * elf/tst-tlsmod16b.c: Likewise.
52686         * elf/tst-tlsmod2.c: Likewise.
52687         * elf/tst-tlsmod3.c: Likewise.
52688         * elf/tst-tlsmod4.c: Likewise.
52689         * elf/tst-tlsmod5.c: Likewise.
52690         * elf/tst-tlsmod6.c: Likewise.
52692 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
52694         [BZ #12486]
52695         * malloc/malloc.c: remove checks for statistics.
52697 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
52699         [BZ #15277]
52700         * inet/inet_net.c (inet_network): Detect additional invalid strings.
52701         * inet/tst-network.c: Add testcase.
52703 2013-10-17  Andreas Schwab  <schwab@suse.de>
52705         [BZ #15218]
52706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
52707         to determine canonical name.
52709 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
52711         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
52712         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
52713         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52714         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52715         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52716         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52717         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52718         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52719         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52720         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52721         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52722         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52723         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52724         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52725         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52726         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52727         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52728         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52729         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52730         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52731         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52732         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52733         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52734         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
52735         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
52736         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52737         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52738         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
52739         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52740         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
52741         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52742         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52743         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52744         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52745         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52746         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52747         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52748         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52749         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52750         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52751         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52752         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52753         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52754         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52755         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52756         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52757         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52758         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52759         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52760         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52761         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52762         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52763         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52764         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52765         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52766         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52767         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52768         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52770 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
52772         [BZ #16041]
52773         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
52774         make result into a quiet NaN.
52776 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
52778         * soft-fp/adddf3.c: Fix horizontal whitespace.
52779         * soft-fp/addsf3.c: Likewise.
52780         * soft-fp/addtf3.c: Likewise.
52781         * soft-fp/divdf3.c: Likewise.
52782         * soft-fp/divsf3.c: Likewise.
52783         * soft-fp/divtf3.c: Likewise.
52784         * soft-fp/double.h: Likewise.
52785         * soft-fp/eqdf2.c: Likewise.
52786         * soft-fp/eqsf2.c: Likewise.
52787         * soft-fp/eqtf2.c: Likewise.
52788         * soft-fp/extenddftf2.c: Likewise.
52789         * soft-fp/extended.h: Likewise.
52790         * soft-fp/extendsfdf2.c: Likewise.
52791         * soft-fp/extendsftf2.c: Likewise.
52792         * soft-fp/extendxftf2.c: Likewise.
52793         * soft-fp/fixdfdi.c: Likewise.
52794         * soft-fp/fixdfsi.c: Likewise.
52795         * soft-fp/fixdfti.c: Likewise.
52796         * soft-fp/fixsfdi.c: Likewise.
52797         * soft-fp/fixsfsi.c: Likewise.
52798         * soft-fp/fixsfti.c: Likewise.
52799         * soft-fp/fixtfdi.c: Likewise.
52800         * soft-fp/fixtfsi.c: Likewise.
52801         * soft-fp/fixtfti.c: Likewise.
52802         * soft-fp/fixunsdfdi.c: Likewise.
52803         * soft-fp/fixunsdfsi.c: Likewise.
52804         * soft-fp/fixunsdfti.c: Likewise.
52805         * soft-fp/fixunssfdi.c: Likewise.
52806         * soft-fp/fixunssfsi.c: Likewise.
52807         * soft-fp/fixunssfti.c: Likewise.
52808         * soft-fp/fixunstfdi.c: Likewise.
52809         * soft-fp/fixunstfsi.c: Likewise.
52810         * soft-fp/fixunstfti.c: Likewise.
52811         * soft-fp/floatdidf.c: Likewise.
52812         * soft-fp/floatdisf.c: Likewise.
52813         * soft-fp/floatditf.c: Likewise.
52814         * soft-fp/floatsidf.c: Likewise.
52815         * soft-fp/floatsisf.c: Likewise.
52816         * soft-fp/floatsitf.c: Likewise.
52817         * soft-fp/floattidf.c: Likewise.
52818         * soft-fp/floattisf.c: Likewise.
52819         * soft-fp/floattitf.c: Likewise.
52820         * soft-fp/floatundidf.c: Likewise.
52821         * soft-fp/floatundisf.c: Likewise.
52822         * soft-fp/floatunditf.c: Likewise.
52823         * soft-fp/floatunsidf.c: Likewise.
52824         * soft-fp/floatunsisf.c: Likewise.
52825         * soft-fp/floatunsitf.c: Likewise.
52826         * soft-fp/floatuntidf.c: Likewise.
52827         * soft-fp/floatuntisf.c: Likewise.
52828         * soft-fp/floatuntitf.c: Likewise.
52829         * soft-fp/fmadf4.c: Likewise.
52830         * soft-fp/fmasf4.c: Likewise.
52831         * soft-fp/fmatf4.c: Likewise.
52832         * soft-fp/gedf2.c: Likewise.
52833         * soft-fp/gesf2.c: Likewise.
52834         * soft-fp/getf2.c: Likewise.
52835         * soft-fp/ledf2.c: Likewise.
52836         * soft-fp/lesf2.c: Likewise.
52837         * soft-fp/letf2.c: Likewise.
52838         * soft-fp/muldf3.c: Likewise.
52839         * soft-fp/mulsf3.c: Likewise.
52840         * soft-fp/multf3.c: Likewise.
52841         * soft-fp/negdf2.c: Likewise.
52842         * soft-fp/negsf2.c: Likewise.
52843         * soft-fp/negtf2.c: Likewise.
52844         * soft-fp/op-1.h: Likewise.
52845         * soft-fp/op-2.h: Likewise.
52846         * soft-fp/op-4.h: Likewise.
52847         * soft-fp/op-8.h: Likewise.
52848         * soft-fp/op-common.h: Likewise.
52849         * soft-fp/quad.h: Likewise.
52850         * soft-fp/single.h: Likewise.
52851         * soft-fp/soft-fp.h: Likewise.
52852         * soft-fp/sqrtdf2.c: Likewise.
52853         * soft-fp/sqrtsf2.c: Likewise.
52854         * soft-fp/sqrttf2.c: Likewise.
52855         * soft-fp/subdf3.c: Likewise.
52856         * soft-fp/subsf3.c: Likewise.
52857         * soft-fp/subtf3.c: Likewise.
52858         * soft-fp/truncdfsf2.c: Likewise.
52859         * soft-fp/trunctfdf2.c: Likewise.
52860         * soft-fp/trunctfsf2.c: Likewise.
52861         * soft-fp/trunctfxf2.c: Likewise.
52862         * soft-fp/unorddf2.c: Likewise.
52863         * soft-fp/unordsf2.c: Likewise.
52864         * soft-fp/unordtf2.c: Likewise.
52866 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
52868         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
52869         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
52871 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
52873         * elf/dl-libc.c: Clear initfini list after freeing.
52875 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
52877         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
52878         * soft-fp/addsf3.c: Likewise.
52879         * soft-fp/addtf3.c: Likewise.
52880         * soft-fp/divdf3.c: Likewise.
52881         * soft-fp/divsf3.c: Likewise.
52882         * soft-fp/divtf3.c: Likewise.
52883         * soft-fp/double.h: Likewise.
52884         * soft-fp/eqdf2.c: Likewise.
52885         * soft-fp/eqsf2.c: Likewise.
52886         * soft-fp/eqtf2.c: Likewise.
52887         * soft-fp/extenddftf2.c: Likewise.
52888         * soft-fp/extended.h: Likewise.
52889         * soft-fp/extendsfdf2.c: Likewise.
52890         * soft-fp/extendsftf2.c: Likewise.
52891         * soft-fp/extendxftf2.c: Likewise.
52892         * soft-fp/fixdfdi.c: Likewise.
52893         * soft-fp/fixdfsi.c: Likewise.
52894         * soft-fp/fixdfti.c: Likewise.
52895         * soft-fp/fixsfdi.c: Likewise.
52896         * soft-fp/fixsfsi.c: Likewise.
52897         * soft-fp/fixsfti.c: Likewise.
52898         * soft-fp/fixtfdi.c: Likewise.
52899         * soft-fp/fixtfsi.c: Likewise.
52900         * soft-fp/fixtfti.c: Likewise.
52901         * soft-fp/fixunsdfdi.c: Likewise.
52902         * soft-fp/fixunsdfsi.c: Likewise.
52903         * soft-fp/fixunsdfti.c: Likewise.
52904         * soft-fp/fixunssfdi.c: Likewise.
52905         * soft-fp/fixunssfsi.c: Likewise.
52906         * soft-fp/fixunssfti.c: Likewise.
52907         * soft-fp/fixunstfdi.c: Likewise.
52908         * soft-fp/fixunstfsi.c: Likewise.
52909         * soft-fp/fixunstfti.c: Likewise.
52910         * soft-fp/floatdidf.c: Likewise.
52911         * soft-fp/floatdisf.c: Likewise.
52912         * soft-fp/floatditf.c: Likewise.
52913         * soft-fp/floatsidf.c: Likewise.
52914         * soft-fp/floatsisf.c: Likewise.
52915         * soft-fp/floatsitf.c: Likewise.
52916         * soft-fp/floattidf.c: Likewise.
52917         * soft-fp/floattisf.c: Likewise.
52918         * soft-fp/floattitf.c: Likewise.
52919         * soft-fp/floatundidf.c: Likewise.
52920         * soft-fp/floatundisf.c: Likewise.
52921         * soft-fp/floatunsidf.c: Likewise.
52922         * soft-fp/floatunsisf.c: Likewise.
52923         * soft-fp/floatuntidf.c: Likewise.
52924         * soft-fp/floatuntisf.c: Likewise.
52925         * soft-fp/floatuntitf.c: Likewise.
52926         * soft-fp/fmadf4.c: Likewise.
52927         * soft-fp/fmasf4.c: Likewise.
52928         * soft-fp/fmatf4.c: Likewise.
52929         * soft-fp/gedf2.c: Likewise.
52930         * soft-fp/gesf2.c: Likewise.
52931         * soft-fp/getf2.c: Likewise.
52932         * soft-fp/ledf2.c: Likewise.
52933         * soft-fp/lesf2.c: Likewise.
52934         * soft-fp/letf2.c: Likewise.
52935         * soft-fp/muldf3.c: Likewise.
52936         * soft-fp/mulsf3.c: Likewise.
52937         * soft-fp/multf3.c: Likewise.
52938         * soft-fp/negdf2.c: Likewise.
52939         * soft-fp/negsf2.c: Likewise.
52940         * soft-fp/negtf2.c: Likewise.
52941         * soft-fp/op-1.h: Likewise.
52942         * soft-fp/op-2.h: Likewise.
52943         * soft-fp/op-4.h: Likewise.
52944         * soft-fp/op-8.h: Likewise.
52945         * soft-fp/op-common.h: Likewise.
52946         * soft-fp/quad.h: Likewise.
52947         * soft-fp/single.h: Likewise.
52948         * soft-fp/soft-fp.h: Likewise.
52949         * soft-fp/sqrtdf2.c: Likewise.
52950         * soft-fp/sqrtsf2.c: Likewise.
52951         * soft-fp/sqrttf2.c: Likewise.
52952         * soft-fp/subdf3.c: Likewise.
52953         * soft-fp/subsf3.c: Likewise.
52954         * soft-fp/subtf3.c: Likewise.
52955         * soft-fp/truncdfsf2.c: Likewise.
52956         * soft-fp/trunctfdf2.c: Likewise.
52957         * soft-fp/trunctfsf2.c: Likewise.
52958         * soft-fp/trunctfxf2.c: Likewise.
52959         * soft-fp/unorddf2.c: Likewise.
52960         * soft-fp/unordsf2.c: Likewise.
52961         * soft-fp/unordtf2.c: Likewise.
52963 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
52965         [BZ #15672]
52966         * misc/error.c (error_tail): Fix possible buffer overflow.
52968 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
52970         [BZ #13028]
52971         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
52972         address.
52974 2013-10-14  P. J. McDermott  <pj@pehjota.net>
52976         [BZ #832]
52977         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
52978         testing pipefail option.
52980 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
52982         * soft-fp/double.h: Indent preprocessor directives inside #if.
52983         * soft-fp/extended.h: Likewise.
52984         * soft-fp/op-2.h: Likewise.
52985         * soft-fp/op-4.h: Likewise.
52986         * soft-fp/op-common.h: Likewise.
52987         * soft-fp/quad.h: Likewise.
52988         * soft-fp/single.h: Likewise.
52989         * soft-fp/soft-fp.h: Likewise.
52991 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
52993         * iconv/iconv_prog.c: Fix typos.
52994         * stdio-common/psiginfo-data.h: Likewise.
52996 2013-10-12   Reuben Thomas <rrt@sc3d.org>
52998         [BZ #15764]
52999         * locale/setlocale.c: Fix typo.
53001 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53003         [BZ #16036]
53004         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
53005         signaling NaN arguments.
53006         * soft-fp/unordsf2.c (__unordsf2): Likewise.
53007         * soft-fp/unordtf2.c (__unordtf2): Likewise.
53009         [BZ #14910]
53010         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
53011         unordered operands.
53012         * soft-fp/gesf2.c (__gesf2): Likewise.
53013         * soft-fp/getf2.c (__getf2): Likewise.
53014         * soft-fp/ledf2.c (__ledf2): Likewise.
53015         * soft-fp/lesf2.c (__lesf2): Likewise.
53016         * soft-fp/letf2.c (__letf2): Likewise.
53018         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
53019         * soft-fp/eqsf2.c (__eqsf2): Likewise.
53020         * soft-fp/eqtf2.c (__eqtf2): Likewise.
53021         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
53022         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
53023         * soft-fp/fixdfti.c (__fixdfti): Likewise.
53024         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
53025         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
53026         * soft-fp/fixsfti.c (__fixsfti): Likewise.
53027         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
53028         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
53029         * soft-fp/fixtfti.c (__fixtfti): Likewise.
53030         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
53031         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53032         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
53033         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
53034         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
53035         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
53036         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
53037         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
53038         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
53039         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
53040         * soft-fp/floatdisf.c (__floatdisf): Likewise.
53041         * soft-fp/floatsisf.c (__floatsisf): Likewise.
53042         * soft-fp/floattidf.c (__floattidf): Likewise.
53043         * soft-fp/floattisf.c (__floattisf): Likewise.
53044         * soft-fp/floattitf.c (__floattitf): Likewise.
53045         * soft-fp/floatundidf.c (__floatundidf): Likewise.
53046         * soft-fp/floatundisf.c (__floatundisf): Likewise.
53047         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
53048         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
53049         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53050         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53051         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53052         * soft-fp/gesf2.c (__gesf2): Likewise.
53053         * soft-fp/getf2.c (__getf2): Likewise.
53054         * soft-fp/ledf2.c (__ledf2): Likewise.
53055         * soft-fp/lesf2.c (__lesf2): Likewise.
53056         * soft-fp/letf2.c (__letf2): Likewise.
53058         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53059         Undefine and redefine.
53060         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53061         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53062         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53063         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53064         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53065         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53066         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53067         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53068         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53069         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53070         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53071         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53072         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53073         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53074         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53076         [BZ #16032]
53077         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53078         without decrementing exponent if mantissa >= that for the
53079         denominator, not >.
53080         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53081         denominator, not >.  Decrement exponent in < case instead of
53082         incrementing in >= case.
53083         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53084         without decrementing exponent if mantissa >= that for the
53085         denominator, not >.
53087         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53088         computing saturated result for unsigned overflow.
53090 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53091             Jeff Law  <law@redhat.com>
53093         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53094         (atan2Mp): Add systemtap probe marker.
53095         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53096         (__ieee754_log): Add systemtap probe marker.
53097         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53098         (atanMp): Add systemtap probe marker.
53099         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53100         (tanMp): Add systemtap probe marker.
53101         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53102         (__slowexp): Add systemtap probe marker.
53103         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53104         (__slowpow): Add systemtap probe marker.
53105         * manual/probes.texi: Document probes.
53107 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53109         [BZ #15362]
53110         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53111         written.
53112         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53113         written.
53114         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53115         written to buffer but not flushed.
53116         * libio/iofwrite_u.c:  Likewise.
53117         * libio/iopadn.c:  Return bytes returned even if EOF was
53118         encountered.
53119         * libio/iowpadn.c:  Likewise.
53120         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53121         if _IO_padn does not write the whole buffer.
53122         [!COMPILE_WPRINTF] (PAD): Likewise.
53124 2013-10-10  David S. Miller  <davem@davemloft.net>
53126         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53127         directory block.
53129 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53131         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53132         instead of FSF address.
53133         * soft-fp/fixdfti.c: Likewise.
53134         * soft-fp/fixsfti.c: Likewise.
53135         * soft-fp/fixtfti.c: Likewise.
53136         * soft-fp/fixunsdfti.c: Likewise.
53137         * soft-fp/fixunssfti.c: Likewise.
53138         * soft-fp/fixunstfti.c: Likewise.
53139         * soft-fp/floattidf.c: Likewise.
53140         * soft-fp/floattisf.c: Likewise.
53141         * soft-fp/floattitf.c: Likewise.
53142         * soft-fp/floatuntidf.c: Likewise.
53143         * soft-fp/floatuntisf.c: Likewise.
53144         * soft-fp/floatuntitf.c: Likewise.
53145         * soft-fp/trunctfxf2.c: Likewise.
53147         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53148         * soft-fp/fixdfti.c: Likewise.
53149         * soft-fp/fixsfti.c: Likewise.
53150         * soft-fp/fixtfti.c: Likewise.
53151         * soft-fp/fixunsdfti.c: Likewise.
53152         * soft-fp/fixunssfti.c: Likewise.
53153         * soft-fp/fixunstfti.c: Likewise.
53154         * soft-fp/floattidf.c: Likewise.
53155         * soft-fp/floattisf.c: Likewise.
53156         * soft-fp/floattitf.c: Likewise.
53157         * soft-fp/floatuntidf.c: Likewise.
53158         * soft-fp/floatuntisf.c: Likewise.
53159         * soft-fp/floatuntitf.c: Likewise.
53160         * soft-fp/trunctfxf2.c: Likewise.
53162 2013-10-10  David S. Miller  <davem@davemloft.net>
53164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53166 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53168         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53169         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53170         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53171         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53172         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53173         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53174         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53176         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53177         for NaNs before doing comparisons on argument.
53178         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53179         Likewise.
53181 2013-10-10  Will Newton  <will.newton@linaro.org>
53183         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53184         passed to _int_memalign does not overflow.
53186 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53188         * scripts/bench.pl: Add include-sources directive.
53189         * benchtests/README: Update documentation.
53191 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53193         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53194         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53195         instead of FP_INIT_ROUNDMODE.
53196         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53197         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53199         [BZ #16034]
53200         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53201         copy class of input value.
53202         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53203         not handle exceptions.
53204         * soft-fp/negsf2.c (__negsf2): Likewise.
53205         * soft-fp/negtf2.c (__negtf2): Likewise.
53206         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53208 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53210         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53211         semicolon.  From Linux kernel.
53213 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53215         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53217 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53219         [BZ #156]
53220         * manual/socket.texi: Added statement about buffer
53221         for gethostbyname2_r.
53223 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53225         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53226         Use .p2align directive instead, throughout.
53227         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53228         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53229         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53230         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53231         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53232         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53233         * sysdeps/x86_64/strchr.S: Likewise.
53234         * sysdeps/x86_64/strrchr.S: Likewise.
53236 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53238         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53240         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53242         * sysdeps/generic/math_private.h (__mpsin1): Remove
53243         declaration.
53244         (__mpcos1): Likewise.
53245         (__mpsin): New argument __range_reduce.
53246         (__mpcos): Likewise.
53247         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53248         (slow): Use __mpsin and __mpcos.
53249         (slow1): Likewise.
53250         (slow2): Likewise.
53251         (sloww): Likewise.
53252         (sloww1): Likewise.
53253         (sloww2): Likewise.
53254         (bsloww): Likewise.
53255         (bsloww1): Likewise.
53256         (bsloww2): Likewise.
53257         (cslow2): Likewise.
53258         (csloww): Likewise.
53259         (csloww1): Likewise.
53260         (csloww2): Likewise.
53261         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53262         range_reduce.  Merge in __mpsin1.
53263         (__mpcos): Likewise.
53264         (__mpsin1): Remove.
53265         (__mpcos1): Likewise.
53267 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53269         * locale/loadlocale.c (_nl_intern_locale_data): Use
53270         LOCFILE_ALIGNED_P.
53271         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53272         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53273         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53274         obstack data is appropriately aligned.
53275         (obstack_int32_grow_fast): Likewise.
53276         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53277         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53278         (add_locale_uint32_array): Likewise.
53280 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53282         * benchtests/Makefile: Remove ARGLIST and RET variables.
53283         ($(objpfx)bench-%.c): Pass only function name to the script.
53284         * benchtests/README: Update documentation.
53285         * benchtests/acos-inputs: Add new directives.
53286         * benchtests/acosh-inputs: Likewise.
53287         * benchtests/asin-inputs: Likewise.
53288         * benchtests/asinh-inputs: Likewise.
53289         * benchtests/atan-inputs: Likewise.
53290         * benchtests/atanh-inputs: Likewise.
53291         * benchtests/cos-inputs: Likewise.
53292         * benchtests/cosh-inputs: Likewise.
53293         * benchtests/exp-inputs: Likewise.
53294         * benchtests/log-inputs: Likewise.
53295         * benchtests/pow-inputs: Likewise.
53296         * benchtests/rint-inputs: Likewise.
53297         * benchtests/sin-inputs: Likewise.
53298         * benchtests/sinh-inputs: Likewise.
53299         * benchtests/tan-inputs: Likewise.
53300         * benchtests/tanh-inputs: Likewise.
53301         * scripts/bench.pl: Add support for new directives.
53303 2013-10-07  Alan Modra  <amodra@gmail.com>
53305         * README: Fix careless merge.
53307 2013-10-05  Alan Modra  <amodra@gmail.com>
53309         * NEWS: Mention powerpc64le support and bugs fixed.
53310         * README: Both big-endian and little-endian powerpc64 supported.
53312 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53314         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53315         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53316         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53317         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53319 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53321         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53322         match prototype.
53324 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53326         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53327         Move -mhard-float appending from
53328         ports/sysdeps/powerpc/powerpc32/Makefile.
53329         [$(with-fp) = yes] (ASFLAGS): Likewise.
53330         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53331         * sysdeps/powerpc/nofpu: Move directory from
53332         ports/sysdeps/powerpc/nofpu.
53333         * sysdeps/powerpc/soft-fp: Move directory from
53334         ports/sysdeps/powerpc/soft-fp.
53335         * sysdeps/powerpc/powerpc32/405: Move directory from
53336         ports/sysdeps/powerpc/powerpc32/405.
53337         * sysdeps/powerpc/powerpc32/440: Move directory from
53338         ports/sysdeps/powerpc/powerpc32/440.
53339         * sysdeps/powerpc/powerpc32/464: Move directory from
53340         ports/sysdeps/powerpc/powerpc32/464.
53341         * sysdeps/powerpc/powerpc32/476: Move directory from
53342         ports/sysdeps/powerpc/powerpc32/476.
53343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53344         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53346         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53350         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53352         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53353         * README: Update for powerpc-*-linux-gnu software floating point
53354         support in libc.
53356         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53357         case to powerpc/powerpc32*.
53358         * sysdeps/unix/sysv/linux/configure: Regenerated.
53360         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53361         (_FPU_MASK_OM): Define as 0x04.
53362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53364         0x00c10080.
53365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
53366         0x0000003c.
53367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
53369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
53370         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53371         getcontext_e500.
53372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
53373         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53374         setcontext_e500.
53375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
53376         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
53377         and setcontext_e500.
53379 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
53381         * locale/iso-3166.def: Update iso-1366.def and related occurrences
53383 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53385         * manual/threads.texi (Default Thread Attributes): Fix typo.
53387 2013-10-04  Will Newton  <will.newton@linaro.org>
53389         * malloc/Makefile: Add tst-memalign.
53390         * malloc/tst-memalign.c: New file.
53392         * malloc/tst-posix_memalign.c: Add comments.
53393         (do_test): Add comments and call free on all potentially
53394         allocated pointers. Add space after cast.
53396         * malloc/tst-pvalloc.c: Add comments.
53397         (do_test): Add comments and call free on all potentially
53398         allocated pointers. Remove duplicate check for NULL pointer.
53399         Add space after cast.
53401         * malloc/tst-valloc.c: Add comments.
53402         (do_test): Add comments and call free on all potentially
53403         allocated pointers. Remove duplicate check for NULL pointer.
53404         Add space after cast.
53406 2013-10-04  Alan Modra  <amodra@gmail.com>
53408         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53409         Use stdint types in rather than __attribute__((mode())).
53410         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53412 2013-10-04  Alan Modra  <amodra@gmail.com>
53414         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53415         Correct handling of unaligned relocs for little-endian.
53416         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53418 2013-10-04  Alan Modra  <amodra@gmail.com>
53420         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
53421         * configure: Regenerate.
53422         * nptl/shlib-versions: Powerpc*le starts at 2.18.
53423         * shlib-versions: Likewise.
53425 2013-10-04  Alan Modra  <amodra@gmail.com>
53427         * string/tester.c (test_memrchr): Increment reported test cycle.
53429 2013-10-04  Alan Modra  <amodra@gmail.com>
53431         * string/test-memcpy.c (do_one_test): When reporting errors, print
53432         string address and don't overrun end of string.
53434 2013-10-04  Alan Modra  <amodra@gmail.com>
53436         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
53437         insrdi.  Make better use of reg selection to speed exit slightly.
53438         Schedule entry path a little better.  Remove useless "are we done"
53439         checks on entry to main loop.  Handle wrapping around zero address.
53440         Correct main loop count.  Handle single left-over word from main
53441         loop inline rather than by using loop_small.  Remove extra word
53442         case in loop_small caused by wrong loop count.  Add little-endian
53443         support.
53444         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53445         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
53446         cache hint.
53447         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53448         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
53449         support.  Avoid rlwimi.
53450         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
53452 2013-10-04  Alan Modra  <amodra@gmail.com>
53454         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
53455         insrdi.  Formatting.
53456         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
53457         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53458         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
53459         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53460         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53461         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
53463 2013-10-04  Alan Modra  <amodra@gmail.com>
53465         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
53466         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53467         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
53468         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
53469         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53470         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53471         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53472         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53473         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
53474         use of regs.  Use power7 mtocrf.  Tidy function tails.
53476 2013-10-04  Alan Modra  <amodra@gmail.com>
53478         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
53479         Formatting.  Consistently use rXXX register defines or rN defines.
53480         Use early exit labels that avoid restoring unused non-volatile regs.
53481         Make cr field use more consistent with rWORDn compares.  Rename
53482         regs used as shift registers for unaligned loop, using rN defines
53483         for short lifetime/multiple use regs.
53484         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53485         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
53486         addi 1,1,64 to pop stack frame.  Simplify return value code.
53487         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53489 2013-10-04  Alan Modra  <amodra@gmail.com>
53491         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
53492         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
53493         rather than rlwimi.
53494         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
53495         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
53496         little-endian support.  Correct typos.
53497         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
53498         rather than rlwimi.
53499         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
53500         in loop and entry code to keep "and." results.
53501         (strchr): Add little-endian support.  Comment.  Move cntlzd
53502         earlier in tail.
53503         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
53505 2013-10-04  Alan Modra  <amodra@gmail.com>
53507         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
53508         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
53509         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
53510         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
53512 2013-10-04  Alan Modra  <amodra@gmail.com>
53514         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
53515         (rTMP): Define as r11.
53516         (strcmp): Add little-endian support.  Optimise tail.
53517         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
53518         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53519         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53520         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53521         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53522         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53523         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53525 2013-10-04  Alan Modra  <amodra@gmail.com>
53527         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
53528         little-endian support.  Remove unnecessary "are we done" tests.
53529         Handle "s" wrapping around zero and extremely large "size".
53530         Correct main loop count.  Handle single left-over word from main
53531         loop inline rather than by using small_loop.  Correct comments.
53532         Delete "zero" tail, use "end_max" instead.
53533         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
53535 2013-10-04  Alan Modra  <amodra@gmail.com>
53537         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
53538         support.  Don't branch over align.
53539         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
53540         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
53541         support.  Rearrange tmp reg use to suit.  Comment.
53542         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
53544 2013-10-04  Alan Modra  <amodra@gmail.com>
53546         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
53548 2013-10-04  Alan Modra  <amodra@gmail.com>
53550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
53551         conditional form of branch and link when obtaining pc.
53552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
53554 2013-10-04  Alan Modra  <amodra@gmail.com>
53556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
53557         HIWORD/LOWORD.
53558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
53559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
53561 2013-10-04  Alan Modra  <amodra@gmail.com>
53563         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
53564         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
53565         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
53566         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
53567         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53568         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53569         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
53570         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53571         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
53572         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
53574 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53575             Alistair Popple <alistair@ozlabs.au.ibm.com>
53576             Alan Modra <amodra@gmail.com>
53578         [BZ #15723]
53579         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
53580         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
53581         _dl_hwcap access for little-endian.
53582         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
53583         destroy vmx regs when saving unaligned.
53584         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
53585         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
53586         destroy vmx regs when saving unaligned.
53588 2013-10-04  Alan Modra  <amodra@gmail.com>
53590         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
53591         Don't use a union to pack hi/low value.
53593 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53595         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
53596         for little-endian.
53597         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53598         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
53599         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53600         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53601         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53603 2013-10-04  Alan Modra  <amodra@gmail.com>
53605         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
53606         constants to usual value for .cst8 section, and remove redundant
53607         high address load.
53608         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
53609         constant for 0x1p52.  Load little-endian words of double from
53610         correct stack offsets.
53612 2013-10-04  Alan Modra  <amodra@gmail.com>
53614         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
53615         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
53616         words of double from correct stack offsets.
53617         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
53618         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
53619         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53620         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53621         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53622         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53623         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53624         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
53625         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
53626         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53627         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53628         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53629         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53630         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53631         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53632         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
53633         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
53635 2013-10-04  Alan Modra  <amodra@gmail.com>
53637         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
53638         64-bit int/double union.
53639         (_FPU_SETCW): Likewise.
53640         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
53641         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
53643 2013-10-04  Alan Modra  <amodra@gmail.com>
53645         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
53646         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
53648 2013-10-04  Alan Modra  <amodra@gmail.com>
53650         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
53651         use vector int constants.
53652         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
53654 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53656         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
53657         array with long long.
53658         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
53659         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
53660         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
53661         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
53662         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
53663         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
53664         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
53665         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
53666         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
53667         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
53668         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
53669         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
53670         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
53672 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53674         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
53675         (__signbit): Likewise.  Correct for little-endian.
53676         (__signbitl): Call __signbit.
53677         (lrint): Correct for little-endian.
53678         (lrintf): Call lrint.
53680 2013-10-04  Alan Modra  <amodra@gmail.com>
53682         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
53683         union 32-bit int array member with 64-bit int array.
53684         (t515, tm256): Double rather than long double.
53685         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
53687 2013-10-04  Alan Modra  <amodra@gmail.com>
53689         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
53690         Delete.
53691         (IEEE854_LONG_DOUBLE_BIAS): Delete.
53692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
53693         version of math_ldbl.h.
53695 2013-10-04  Alan Modra  <amodra@gmail.com>
53697         [BZ #15734], [BZ #15735]
53698         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
53699         all uses of ieee875 long double macros and unions.  Simplify test
53700         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
53701         ldbl_extract_mantissa value for ix,iy exponents.  Properly
53702         normalize after ldbl_extract_mantissa, and don't add hidden bit
53703         already handled.  Don't treat low word of ieee854 mantissa like
53704         low word of IBM long double and mask off bit when testing for
53705         zero.
53706         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
53707         all uses of ieee875 long double macros and unions.  Simplify tests
53708         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
53709         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
53710         two1022, instead use their values.  Recognise that tests for large
53711         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
53712         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
53713         Rewrite all uses of ieee875 long double macros and unions.  Simplify
53714         test for 0.0L and nan.  Correct negation.
53715         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
53716         ieee875 long double macros and unions.  Correct output for large
53717         magnitude x.  Correct absolute value calculation.
53718         (__erfcl): Likewise.
53719         * math/libm-test.inc: Add tests for errors discovered in IBM long
53720         double versions of fmodl, remainderl, erfl and erfcl.
53722 2013-10-04  Alan Modra  <amodra@gmail.com>
53724         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
53725         all uses of ieee854 long double macros and unions.  Simplify tests
53726         for long doubles that are fully specified by the high double.
53727         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
53728         Likewise.
53729         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
53730         Remove dead code too.
53731         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
53732         (__ieee754_ynl): Likewise.
53733         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
53734         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
53735         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
53736         Remove dead code too.
53737         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
53738         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
53739         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
53740         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
53741         Simplify.
53742         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
53743         Simplify.
53744         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
53745         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
53746         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
53747         Comment on variable precision.
53748         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
53749         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53750         Likewise.
53751         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
53752         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53753         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53754         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
53755         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
53757 2013-10-04  Alan Modra  <amodra@gmail.com>
53759         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
53760         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
53761         all uses of ieee854 long double macros and unions.
53762         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
53763         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53764         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
53765         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
53766         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
53767         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53768         Likewise.
53769         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
53770         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53771         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
53772         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53773         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
53774         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
53775         Simplify sign and nan test too.
53776         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
53777         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
53778         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
53779         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
53780         Likewise.
53781         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53782         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
53783         Likewise.
53784         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53785         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
53786         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
53787         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
53788         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
53789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
53791 2013-10-04  Alan Modra  <amodra@gmail.com>
53793         * stdio-common/printf_size.c (__printf_size): Don't use
53794         union ieee854_long_double in fpnum union.
53795         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
53796         signbit macro to retrieve sign from long double.
53797         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
53798         retrieve sign from long double.
53799         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
53800         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
53801         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
53802         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53803         * math/test-misc.c (main): Don't use union ieee854_long_double.
53805 2013-10-04  Alan Modra  <amodra@gmail.com>
53807         [BZ #15680]
53808         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
53809         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
53810         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
53811         calculation.  Remove unnecessary test for denormal exponent.
53812         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
53813         Correct handling of denormals.  Avoid undefined shift behaviour.
53814         Correct normalisation of low mantissa when low double is denormal.
53815         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
53816         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
53817         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
53818         Correct normalisation of low mantissa.  Test for overflow of high
53819         mantissa and normalise.
53820         (ldbl_nearbyint): Use more readable constant for two52.
53821         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
53822         (__mpn_construct_long_double): Fix test for overflow of high
53823         mantissa and correct normalisation.  Avoid undefined shift.
53825 2013-10-04  Alan Modra  <amodra@gmail.com>
53827         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53828         (union ibm_extended_long_double): Define as an array of ieee754_double.
53829         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
53830         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
53831         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
53832         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53833         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53834         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
53835         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53836         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53837         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53838         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
53839         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53841 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
53843         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
53844         page size instead of calling getpagesize.
53846         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
53847         (LOCFILE_ALIGN_MASK): Likewise.
53848         (LOCFILE_ALIGN_UP): Likewise.
53849         (LOCFILE_ALIGNED_P): Likewise.
53850         * locale/programs/ld-collate.c (collate_output): Use the new
53851         macros instead of __alignof__ (int32_t).
53852         * locale/weight.h (findidx): Likewise.
53854 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
53856         [BZ #431]
53857         * manual/string.texi: Fix strncat and wcsncat.
53859 2013-10-03  Brooks Moses  <bmoses@google.com>
53861         [BZ #15915]
53862         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
53863         * Makerules: ...here, and adjust associated comments.
53865 2013-10-02  Will Newton  <will.newton@linaro.org>
53867         * malloc/Makefile: Add tst-pvalloc.
53868         * malloc/tst-pvalloc.c: New file.
53870 2013-10-02  Will Newton  <will.newton@linaro.org>
53872         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
53873         improve test coverage.
53875 2013-10-02  Will Newton  <will.newton@linaro.org>
53877         * malloc/Makefile: Add tst-posix_memalign.
53878         * malloc/tst-posix_memalign.c: New file.
53880 2013-10-01  Eric Blake  <eblake@redhat.com>
53882         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
53883         Use __THROWNL rather than __THROW on static functions.
53885 2013-09-30  Petr Machata  <pmachata@redhat.com>
53887         * elf/elf.h (R_AARCH64_ABS16): New macro.
53888         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
53889         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
53890         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
53891         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
53892         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
53893         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
53894         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
53895         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
53896         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
53897         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
53898         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
53899         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
53900         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
53901         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
53902         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
53903         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
53904         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
53905         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
53906         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
53907         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
53908         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
53909         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
53910         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
53911         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
53912         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
53913         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
53914         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
53915         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
53916         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
53917         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
53918         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
53919         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
53920         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
53921         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
53922         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
53923         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
53924         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
53925         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
53926         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
53927         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
53928         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
53929         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
53930         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
53931         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
53932         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
53933         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
53934         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
53935         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
53936         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
53937         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
53938         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
53939         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
53940         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
53941         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
53942         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
53943         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
53944         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
53945         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
53946         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
53947         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
53948         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
53949         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
53950         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
53951         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
53952         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
53953         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
53954         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
53955         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
53956         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
53957         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
53958         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
53959         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
53960         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
53961         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
53962         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
53963         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
53964         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
53965         (R_AARCH64_TLSDESC_LDR): Likewise.
53966         (R_AARCH64_TLSDESC_ADD): Likewise.
53967         (R_AARCH64_TLSDESC_CALL): Likewise.
53969 2013-09-30  Andreas Schwab  <schwab@suse.de>
53971         [BZ #15048]
53972         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
53973         the nss database lookup.
53974         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53977 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
53979         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
53981 2013-09-28  P. J. McDermott  <pj@pehjota.net>
53983         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
53984         ${Bash-specific parameter/pattern/string} parameter expansion.
53985         * sysdeps/unix/make-syscalls.sh: Likewise.
53987 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53989         * sysdeps/sh/stackguard-macros.h: New file.
53991 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
53993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
53995         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
53996         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
53997         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53998         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
54000 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54002         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
54003         Fix thread ID register.
54005 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
54007         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
54008         [POSIX || UNIX98]: Require rather than permitting all symbols from
54009         <time.h>.
54010         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
54011         element of struct sched_param.
54012         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
54013         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
54014         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
54015         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
54016         constant.
54018 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
54020         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
54021         argument calculation.
54023 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54025         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
54026         Expect macro.
54027         [POSIX] (pthread_attr_t): Do not require type.
54028         [POSIX] (pthread_cond_t): Likewise.
54029         [POSIX] (pthread_condattr_t): Likewise.
54030         [POSIX] (pthread_key_t): Likewise.
54031         [POSIX] (pthread_mutex_t): Likewise.
54032         [POSIX] (pthread_mutexattr_t): Likewise.
54033         [POSIX] (pthread_once_t): Likewise.
54034         [POSIX] (pthread_t): Likewise.
54035         [POSIX-based standards] (pthread_atfork): Expect function.
54037 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54038             Richard Sandiford  <richard@codesourcery.com>
54040         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
54041         (swap_endianness_p): New extern variable.
54042         (set_big_endian): New inline function.
54043         (maybe_swap_uint32): Likewise.
54044         (maybe_swap_uint32_array): Likewise.
54045         (maybe_swap_uint32_obstack): Likewise.
54046         * locale/programs/locfile.c: Include <stdbool.h>.
54047         (swap_endianness_p): New variable.
54048         (add_locale_uint32): Call maybe_swap_uint32.
54049         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54050         (write_locale_data): Call maybe_swap_uint32_array.
54051         * locale/programs/ld-collate.c (obstack_int32_grow): Call
54052         maybe_swap_uint32.
54053         (obstack_int32_grow_fast): Likewise.
54054         (output_weightwc): Call maybe_swap_uint32_obstack.
54055         (collate_output): Likewise.
54056         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54057         (OPT_LITTLE_ENDIAN): Likewise.
54058         (options): Add --little-endian and --big-endian options.
54059         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54060         * locale/programs/locarchive.c: Include "locfile.h".
54061         (GET): New macro.
54062         (SET): Likewise.
54063         (INC): Likewise.
54064         (create_archive): Use the new macros to access fields of
54065         structures directly mapped from or written to locale archives.
54066         (oldlocrecentcmp): Likewise.
54067         (enlarge_archive): Likewise.
54068         (insert_name): Likewise.
54069         (add_alias): Likewise.
54070         (add_locale): Likewise.
54071         (delete_locales_from_archive): Likewise.
54072         (show_archive_content): Likewise.
54073         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54074         locale data.
54076 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54078         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54079         http://www.gnu.org/doc/freemanuals.texi.
54080         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54082 2013-09-24  Will Newton  <will.newton@linaro.org>
54084         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54085         macro.
54087 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54089         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54090         unsigned char.
54092 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54094         * manual/threads.texi (POSIX Threads): Fix a typo.
54096 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54098         [BZ #14547]
54099         * string/tst-strcoll-overflow.c: New test case.
54100         * string/Makefile (xtests): Add tst-strcoll-overflow.
54101         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54102         cache if string sizes may cause integer overflow.
54104         [BZ #14547]
54105         * string/strcoll_l.c (coll_seq): New members rule, idx,
54106         save_idx and back_us.
54107         (get_next_seq_nocache): New function.
54108         (do_compare_nocache): New function.
54109         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54110         when malloc fails.
54112 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54114         [BZ #15754]
54115         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54116         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54117         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54119         [BZ #15754]
54120         * elf/Makefile (tests): Add tst-ptrguard1.
54121         (tests-static): Add tst-ptrguard1-static.
54122         (tst-ptrguard1-ARGS): Define.
54123         (tst-ptrguard1-static-ARGS): Define.
54124         * elf/tst-ptrguard1.c: New file.
54125         * elf/tst-ptrguard1-static.c: New file.
54126         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54127         * sysdeps/i386/stackguard-macros.h: Likewise.
54128         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54129         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54130         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54131         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54132         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54133         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54135 2013-09-23  Hector Marco  <hecmargi@upv.es>
54136             Ismael Ripoll  <iripoll@disca.upv.es>
54137             Carlos O'Donell  <carlos@redhat.com>
54139         [BZ #15754]
54140         * sysdeps/generic/stackguard-macros.h: Define
54141         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54142         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54143         Define __pointer_chk_guard_local.
54144         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54145         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54147 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54149         [BZ #15859]
54150         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54152 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54154         * include/string.h (__ffs): Declare as hidden.
54155         * string/ffs.c (__ffs): Define as hidden.
54156         * sysdeps/i386/ffs.c (__ffs): Likewise.
54157         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54158         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54159         * sysdeps/s390/ffs.c (__ffs): Likewise.
54160         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54162 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54164         * NEWS: Mention malloc probes.
54166         * malloc/arena.c (new_heap): New memory_heap_new probe.
54167         (grow_heap): New memory_heap_more probe.
54168         (shrink_heap): New memory_heap_less probe.
54169         (heap_trim): New memory_heap_free probe.
54170         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54171         (systrim): New memory_sbrk_less probe.
54172         * manual/probes.texi: Document them.
54174         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54175         * manual/probes.texi: Document it.
54177         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54178         (__libc_realloc): Add memory_realloc_retry probe.
54179         (__libc_memalign): Add memory_memalign_retry probe.
54180         (__libc_valloc): Add memory_valloc_retry probe.
54181         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54182         (__libc_calloc): Add memory_calloc_retry probe.
54183         * manual/probes.texi: Document them.
54185         * malloc/arena.c (get_free_list): Add probe
54186         memory_arena_reuse_free_list.
54187         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54188         and memory_arena_reuse.
54189         (arena_get2) [!PER_THREAD]: Likewise.
54190         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54191         memory_arena_reuse_realloc.
54192         * manual/probes.texi: Document them.
54194         * malloc/malloc.c (__libc_free): Add
54195         memory_mallopt_free_dyn_thresholds probe.
54196         (__libc_mallopt): Add multiple memory_mallopt probes.
54197         * manual/probes.texi: Document them.
54199         * malloc/malloc.c: Include stap-probe.h.
54200         (__libc_mallopt): Add memory_mallopt probe.
54201         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54202         * manual/probes.texi: New.
54203         * manual/Makefile (chapters): Add probes.
54204         * manual/threads.texi: Set next node.
54206 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54208         [BZ #15963, #13985]
54209         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54210         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54211         Add `Chinese' to `nan' entry name.
54213 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54215         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54216         (POLYNOMIAL): Likewise.
54217         (TAYLOR_SINCOS): Likewise.
54218         (TAYLOR_SLOW): Likewise.
54219         (__sin): Use TAYLOR_SINCOS.
54220         (__cos): Likewise.
54221         (slow): Use TAYLOR_SLOW.
54222         (sloww): Likewise.
54223         (bsloww): Likewise.
54224         (csloww): Likewise.
54226 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54228         * stdlib/strtod_l.c: Fix buffer overrun.
54230 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54232         * benchtests/Makefile (bench): Add sincos.
54233         * benchtests/bench-sincos.c: New file.
54235         * math/libm-test.inc (cos_test_data): New test inputs.
54236         (sin_test_data): Likewise.
54238         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54239         macro.
54240         (__sin): Use it.
54241         (__cos): Likewise.
54242         (slow1): Likewise.
54243         (slow2): Likewise.
54244         (sloww1): Likewise.
54245         (sloww2): Likewise.
54246         (bsloww1): Likewise.
54247         (bsloww2): Likewise.
54248         (cslow2): Likewise.
54249         (csloww1): Likewise.
54250         (csloww2): Likewise.
54252         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54253         function.
54254         (__sin): Use it.
54255         (__cos): Likewise.
54257         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54258         gotos.
54259         (__cos): Likewise.
54261 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54263         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54264         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54265         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54266         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54267         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54268         * elf/cache.c (print_entry): Handle the new cache flags.
54270 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54271             Aldy Hernandez  <aldyh@redhat.com>
54273         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54274         Change condition to [_SOFT_FLOAT].
54275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54287         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54290         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54291         declaration.
54293 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54295         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54296         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54297         (__longjmp): Use LOAD_GP to load saved GPRs.
54298         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54299         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54300         (__sigsetjmp): Use SAVE_GP to save GPRs.
54302         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54303         Do not append -msoft-float.
54304         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54306 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54308         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54310 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54312         [BZ #15966]
54313         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54314         (_FPU_GETCW): Use initial "__" on variable and field names but not
54315         on macro parameter name.
54316         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54317         parentheses around reference to macro parameter.
54319 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54321         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54322         prototype.
54323         (ctype_startup): Use uint32_t in cast and sizeof for
54324         ctype->charnames.
54326 2013-09-11  Jia Liu  <proljc@gmail.com>
54328         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54329         __daddr_t_defined.
54330         [__FreeBSD__]: Likewise.
54332 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
54334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54335         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54336         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54337         (strchr): Remove __strchr_sse42 ifunc selection.
54338         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54339         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54341 2013-09-11  Will Newton  <will.newton@linaro.org>
54343         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54344         parameter to RES. Remove hardcoded 1000 value.
54345         * benchtests/bench-skeleton.c (main): Pass RES parameter
54346         to TIMING_INIT and multiply result by 1000.
54348 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54352 2013-09-11  Andreas Schwab  <schwab@suse.de>
54354         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54355         if not defined.
54356         (O_TMPFILE) [__USE_GNU]: Define.
54357         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54358         Define.
54360 2013-09-11  Will Newton  <will.newton@linaro.org>
54362         [BZ #15857]
54363         * malloc/malloc.c (__libc_memalign): Check the value of bytes
54364         does not overflow.
54366 2013-09-11  Will Newton  <will.newton@linaro.org>
54368         [BZ #15856]
54369         * malloc/malloc.c (__libc_valloc): Check the value of bytes
54370         does not overflow.
54372 2013-09-11  Will Newton  <will.newton@linaro.org>
54374         [BZ #15855]
54375         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
54376         does not overflow.
54378 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
54380         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
54381         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54382         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54383         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54384         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54386 2013-09-10  Allan McRae  <allan@archlinux.org>
54388         [BZ #15748]
54389         * manual/arith.texi (Parsing of Floats): Clarify
54390         cross-reference.
54392         [BZ #15849]
54393         * manual/install.texi (Running make install): Mention
54394         --enable-pt-chown.
54395         * INSTALL: Regenerated.
54397 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
54399         * csu/init-first.c (_init): Remove the !SHARED condition around
54400         FPU control word initialization.
54401         * elf/dl-support.c (_dl_fpu_control): New variable.
54402         (_dl_aux_init) <AT_FPUCW>: Initialize it.
54403         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
54404         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
54405         * math/test-fpucw-static.c: New file.
54406         * math/test-fpucw-ieee.c: New file.
54407         * math/test-fpucw-ieee-static.c: New file.
54408         * math/Makefile (tests): Add `test-fpucw-ieee' and
54409         `$(tests-static)'.
54410         (tests-static): New variable.
54411         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
54412         dependency to...
54413         [($(build-shared),yes)]
54414         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
54415         ... this.
54416         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
54417         New dependency.
54419 2013-09-09  Allan McRae  <allan@archlinux.org>
54421         [BZ #15939]
54422         * manual/string.texi (Collation Functions): Fix typo in
54423         strcoll example.
54424         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
54426         [BZ #15893]
54427         * stdlib/isomac.c (get_null_defines): Fix memory leak.
54429         [BZ #15892]
54430         * libio/memstream.c (open_memstream): Fix memory leak.
54431         * libio/wmemstream.c (open_wmemstream): Likewise.
54433         [BZ #15895]
54434         * nscd/netgroupcache.c: Fix nesting of ifdefs.
54436 2013-09-09  Will Newton  <will.newton@linaro.org>
54438         * malloc/Makefile: Add tst-realloc to tests.
54439         * malloc/tst-realloc.c: New file.
54441 2013-09-09  Allan McRae  <allan@archlinux.org>
54443         [BZ #15844]
54444         * COPYING: Update from GNU website to fix FSF address.
54445         * COPYING.LIB: Likewise.
54447 2013-09-06  David S. Miller  <davem@davemloft.net>
54449         * po/zh_TW.po: Update Chinese (traditional) translation from
54450         translation project.
54452 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
54453             Joseph Myers  <joseph@codesourcery.com>
54455         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
54456         "localeinfo.h".
54457         (obstack_chunk_alloc): New macro.
54458         (obstack_chunk_free): Likewise.
54459         (record_offset): New function.
54460         (init_locale_data): Likewise.
54461         (align_locale_data): Likewise.
54462         (add_locale_empty): Likewise.
54463         (add_locale_raw_data): Likewise.
54464         (add_locale_raw_obstack): Likewise.
54465         (add_locale_string): Likewise.
54466         (add_locale_wstring): Likewise.
54467         (add_locale_uint32): Likewise.
54468         (add_locale_uint32_array): Likewise.
54469         (add_locale_char): Likewise.
54470         (start_locale_structure): Likewise.
54471         (end_locale_structure): Likewise.
54472         (start_locale_prelude): Likewise.
54473         (end_locale_prelude): Likewise.
54474         (write_locale_data): Take locale_file structure rather than an
54475         iovec.
54476         * locale/programs/locfile.h: Include "obstack.h".
54477         (struct locale_file): Change to store locale file contents instead
54478         of header.
54479         (init_locale_data): New prototype.
54480         (align_locale_data): Likewise.
54481         (add_locale_empty): Likewise.
54482         (add_locale_raw_data): Likewise.
54483         (add_locale_raw_obstack): Likewise.
54484         (add_locale_string): Likewise.
54485         (add_locale_wstring): Likewise.
54486         (add_locale_uint32): Likewise.
54487         (add_locale_uint32_array): Likewise.
54488         (add_locale_char): Likewise.
54489         (start_locale_structure): Likewise.
54490         (end_locale_structure): Likewise.
54491         (start_locale_prelude): Likewise.
54492         (end_locale_prelude): Likewise.
54493         (write_locale_data): Update prototype.
54494         * locale/programs/3level.h (struct TABLE): Remove result field.
54495         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
54496         Use new locale_file interface.
54497         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
54498         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
54499         * locale/programs/ld-address.c (address_output): Use new
54500         locale_file interface.
54501         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
54502         NO_ADD_LOCALE.
54503         (collate_finish): Don't call collseq_table_finalize.
54504         (collate_output): Use new locale_file interface.
54505         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
54506         in file.
54507         (NO_FINALIZE): Change to NO_ADD_LOCALE.
54508         (TABLE): Move defines earlier in file.
54509         (ELEMENT): Likewise.
54510         (DEFAULT): Likewise.
54511         (wctrans_table_add): Move macro and inline function earlier in
54512         file.
54513         (struct wctype_table): Move type earlier in file.
54514         (add_locale_wctype_table): New static prototype.
54515         (struct locale_ctype_t): Use logical types instead of struct iovec
54516         pointers for members.
54517         (ctype_output): Use new locale_file interface.
54518         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
54519         new locale_file interface.
54520         (allocate_arrays): Update for use of new locale_file interface.
54521         * locale/programs/ld-identification.c (identification_output): Use
54522         new locale_file interface.
54523         * locale/programs/ld-measurement.c (measurement_output): Likewise.
54524         * locale/programs/ld-messages.c (messages_output): Likewise.
54525         * locale/programs/ld-monetary.c (monetary_output): Likewise.
54526         * locale/programs/ld-name.c (name_output): Likewise.
54527         * locale/programs/ld-numeric.c (numeric_output): Likewise.
54528         * locale/programs/ld-paper.c (paper_output): Likewise.
54529         * locale/programs/ld-telephone.c (telephone_output): Likewise.
54530         * locale/programs/ld-time.c (time_output): Likewise.
54532 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54534         * benchtests/Makefile: Add memrchr benchmark.
54535         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
54536         benchmark as memrchr.
54537         * benchtests/bench-memrchr-ifunc.c: New file.
54538         * benchtests/bench-memrchr.c: New file.
54540 2013-09-06   Will Newton  <will.newton@linaro.org>
54542         * benchtests/Makefile (string-bench): Add memcpy.
54544 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
54545             Cong Wang  <amwang@redhat.com>
54547         [BZ #15850]
54548         * sysdeps/unix/sysv/linux/bits/in.h
54549         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
54550         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
54551         before __USE_KERNEL_IPV6_DEFS uses.
54552         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
54553         IPPROTO_BEETPH.
54554         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
54555         sockaddr_in6, or ipv6_mreq.
54557 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54559         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
54560         memory access for final bytes in some large inputs.
54561         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
54563 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54565         * string/test-memrchr.c: New file.
54566         * string/test-memrchr-ifunc.c: New file.
54567         * string/Makefile: Add new memrchr testcase.
54569 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
54571         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
54572         fanotify_init returns EPERM.
54574 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
54576         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
54577         errors.
54578         (top level): Treat second token from macro or constant entries for
54579         allowed headers as allowed.
54580         * include/complex.h: Condition internal declarations on
54581         [!_ISOMAC].
54582         * include/fenv.h: Condition include of <stdbool.h> and internal
54583         declarations on [!_ISOMAC].
54585 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
54587         [BZ #15923]
54588         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
54590 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
54592         * configure.in (--enable-versioning): Remove configure option.
54593         (libc_cv_asm_symver_directive): Remove configure test.
54594         (libc_cv_ld_version_script_option): Likewise.
54595         (VERSIONING): Remove variable and AC_SUBST.
54596         (DO_VERSIONING): Remove AC_DEFINE.
54597         * configure: Regenerated.
54598         * config.h.in (DO_VERSIONING): Remove macro.
54599         * Makerules [$(versioning) = yes]: Change conditionals to
54600         [$(build-shared) = yes].
54601         * config.make.in (versioning): Remove variable.
54602         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
54603         [$(build-shared) = yes].
54604         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
54605         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
54606         * elf/Makefile [$(versioning) = yes]: Change conditionals to
54607         [$(build-shared) = yes].
54608         * extra-lib.mk [$(versioning) = yes]: Likewise.
54609         * hurd/Makefile [$(versioning) = yes]: Likewise.
54610         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
54611         [SHARED].
54612         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
54613         [SHARED].
54614         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54615         [SHARED && !NO_HIDDEN].
54616         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
54617         [SHARED].
54618         [SHARED && DO_VERSIONING]: Likewise..
54619         * libio/Makefile [$(versioning) = yes]: Change conditionals to
54620         [$(build-shared) = yes].
54621         * manual/install.texi (--disable-versioning): Remove
54622         documentation.
54623         * INSTALL: Regenerated.
54624         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
54625         to [SHARED].
54626         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
54627         [$(build-shared) = yes].
54628         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
54629         * sysdeps/i386/i686/multiarch/strstr-c.c
54630         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54631         [SHARED && !NO_HIDDEN].
54632         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
54633         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
54634         * sysdeps/powerpc/powerpc32/dl-machine.c
54635         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
54636         * sysdeps/powerpc/powerpc32/sysdep.h
54637         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
54638         to [SHARED && PIC && !NO_HIDDEN].
54639         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
54640         conditional to [SHARED].
54642 2013-09-04   Will Newton  <will.newton@linaro.org>
54644         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
54645         * benchtests/bench-string.h: Include bench-timing.h instead
54646         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
54647         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
54648         call to HP_TIMING_DIFF_INIT.
54649         * benchtests/bench-memccpy.c: Use bench-timing.h macros
54650         instead of hp-timing.h macros.
54651         * benchtests/bench-memchr.c: Likewise.
54652         * benchtests/bench-memcmp.c: Likewise.
54653         * benchtests/bench-memcpy.c: Likewise.
54654         * benchtests/bench-memmem.c: Likewise.
54655         * benchtests/bench-memmove.c: Likewise.
54656         * benchtests/bench-memset.c: Likewise.
54657         * benchtests/bench-rawmemchr.c: Likewise.
54658         * benchtests/bench-strcasecmp.c: Likewise.
54659         * benchtests/bench-strcasestr.c: Likewise.
54660         * benchtests/bench-strcat.c: Likewise.
54661         * benchtests/bench-strchr.c: Likewise.
54662         * benchtests/bench-strcmp.c: Likewise.
54663         * benchtests/bench-strcpy.c: Likewise.
54664         * benchtests/bench-strcpy_chk.c: Likewise.
54665         * benchtests/bench-strlen.c: Likewise.
54666         * benchtests/bench-strncasecmp.c: Likewise.
54667         * benchtests/bench-strncat.c: Likewise.
54668         * benchtests/bench-strncmp.c: Likewise.
54669         * benchtests/bench-strncpy.c: Likewise.
54670         * benchtests/bench-strnlen.c: Likewise.
54671         * benchtests/bench-strpbrk.c: Likewise.
54672         * benchtests/bench-strrchr.c: Likewise.
54673         * benchtests/bench-strspn.c: Likewise.
54674         * benchtests/bench-strstr.c: Likewise.
54676 2013-09-04  Will Newton  <will.newton@linaro.org>
54678         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
54680 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
54682         [BZ #15427]
54683         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
54684         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
54685         * math/libm-test.inc (lgamma_test_data): Add more tests.
54686         * sysdeps/i386/fpu/libm-test-ulps: Update.
54687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54689 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
54691         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
54692         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54693         Add ifunc.
54694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54695         Add strcmp-sse2-unaligned
54696         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
54698 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
54700         * Versions.def (libc): Add GLIBC_2.19.
54702 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
54704         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
54705         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
54707 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
54709         [BZ #14155]
54710         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
54711         intermediate calculations in recurrence.
54712         (__ieee754_ynf): Likewise.
54713         * math/libm-test.inc (jn_test_data): Do not allow spurious
54714         underflow exception.  Add more tests.
54715         (yn_test_data): Add more tests.
54716         * sysdeps/i386/fpu/libm-test-ulps: Update.
54717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54719 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
54721         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
54723 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
54725         * csu/init-first.c: Fix then/than typos.
54726         * locale/programs/ld-collate.c: Likewise.
54727         * locale/programs/linereader.h: Likewise.
54728         * manual/charset.texi: Likewise.
54729         * manual/filesys.texi: Likewise.
54730         * manual/stdio.texi: Likewise.
54731         * manual/string.texi: Likewise.
54732         * stdlib/fmtmsg.c: Likewise.
54733         * sysdeps/i386/stpncpy.S: Likewise.
54734         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54735         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54736         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54737         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54739 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
54741         * elf/dl-open.c: Fix typos.
54742         * iconvdata/gbbig5.c: Likewise.
54743         * iconvdata/iso-2022-jp.c: Likewise.
54744         * iconv/gconv_int.h: Likewise.
54745         * iconv/loop.c: Likewise.
54746         * nis/rpcsvc/nis.h: Likewise.
54747         * resolv/ns_name.c: Likewise.
54748         * stdio-common/vfscanf.c: Likewise.
54749         * streams/stropts.h: Likewise.
54750         * sunrpc/rpc_thread.c: Likewise.
54751         * sysdeps/i386/strpbrk.S: Likewise.
54752         * sysdeps/ieee754/k_standard.c: Likewise.
54753         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54754         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54755         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
54756         * sysdeps/mach/hurd/profil.c: Likewise.
54757         * sysdeps/s390/dl-procinfo.h: Likewise.
54758         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
54759         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
54760         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
54761         * sysdeps/x86_64/dl-trampoline.S: Likewise.
54762         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54764 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
54766         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
54767         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
54769 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
54771         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
54772         aix specific files.
54773         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
54774         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
54775         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
54776         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
54777         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
54778         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
54779         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
54780         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
54782 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
54783             Roland McGrath  <roland@hack.frob.com>
54785         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
54786         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
54788 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54790         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
54791         __executable_start symbol instead of _start.
54793 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
54795         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
54796         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
54797         Move macros to...
54798         * sysdeps/gnu/ldsodefs.h: ... this new file.
54800         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
54801         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
54802         instead of ELFOSABI_LINUX.
54804         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
54805         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
54806         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
54807         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
54808         Likewise.
54809         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
54810         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
54811         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
54812         Likewise.
54813         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54814         (ibm_extended_long_double): Add ieee_nan member.
54815         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
54816         (do_test): New function.
54818         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
54819         TEST_TRUNC.
54820         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
54821         functions, renamed from truncdfsf_test, trunctfsf_test,
54822         trunctfdf_test.
54823         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
54824         functions.
54825         (do_test): Run all these.
54827 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
54829         * argp/argp-help.c: Fix typos.
54830         * argp/argp-parse.c: Likewise.
54831         * debug/backtracesyms.c: Likewise.
54832         * elf/elf.h: Likewise.
54833         * malloc/malloc.c: Likewise.
54834         * nis/nis_print.c: Likewise.
54835         * resolv/res_comp.c: Likewise.
54836         * stdlib/stdlib.h: Likewise.
54837         * sunrpc/clnt_tcp.c: Likewise.
54838         * sunrpc/clnt_udp.c: Likewise.
54839         * sunrpc/clnt_unix.c: Likewise.
54840         * sysdeps/unix/bsd/ptsname.c: Likewise.
54841         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
54842         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
54843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
54844         Likewise.
54845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
54846         Likewise.
54847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
54848         Likewise.
54849         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54851 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54853         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
54854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54856 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
54858         [BZ #15897]
54859         * dlfcn/Makefile (tests): Add bug-dl-leaf.
54860         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
54861         ($(objpfx)bug-dl-leaf): New rule.
54862         ($(objpfx)bug-dl-leaf.so): Likewise.
54863         ($(objpfx)bug-dl-leaf.out): Likewise.
54864         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
54865         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
54866         * dlfcn/bug-dl-leaf.c: New test.
54867         * dlfcn/bug-dl-leaf-lib.c: Likewise.
54868         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
54869         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
54870         (dlclose): Likewise.
54871         (dlmopen): Likewise.
54873 2013-08-27  Roland McGrath  <roland@hack.frob.com>
54875         * include/netdb.h [!_ISOMAC]:
54876         Don't include <tls.h>.
54877         (h_errno, __libc_h_errno): Move declaration and macros out of
54878         [_LIBC_REENTRANT].
54880         * include/resolv.h [_RESOLV_H_]:
54881         Don't include <tls.h>.
54882         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
54883         * resolv/res_libc.c: Don't include <tls.h>.
54884         (_res): Use __attribute__ ((nocommon)) in place of
54885         __attribute__ ((section (".bss"))).
54887         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
54888         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
54890         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
54892         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
54893         only under [SIOCGIFCONF && SIOCGIFNETMASK].
54895         * resolv/res_mkquery.c: Include <sys/time.h>.
54897         * inet/ifreq.c: Moved to ...
54898         * sysdeps/unix/ifreq.c: ... here.
54899         * inet/ifreq.c: New file, true stub version.
54901         * socket/sa_len.c: New file.
54902         * socket/Makefile (aux): Add it.
54903         * sysdeps/unix/sysv/linux/Makefile
54904         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
54905         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
54906         and #include <socket/sa_len.c>.
54907         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
54908         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
54910         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
54911         * bits/socket.h: ... here.
54913         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
54914         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
54915         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
54917 2013-08-27  Andreas Schwab  <schwab@suse.de>
54919         [BZ #15736]
54920         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
54921         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
54922         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
54923         * string/test-strcasecmp.c (test_main): Run tests in several
54924         locales.
54925         * string/test-strncasecmp.c (test_main): Likewise.
54927         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
54928         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
54929         to __strcasecmp_nonascii and __strncasecmp_nonascii.
54930         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
54931         (__strncasecmp_ssse3) [PIC]: Likewise.
54933 2013-08-26  Roland McGrath  <roland@hack.frob.com>
54935         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
54937         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
54938         instead of explicitly declaring xdecrypt.
54939         * nis/nss_nis/nis-publickey.c: Likewise.
54941 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54943         [BZ #15890]
54944         * nscd/aicache.c: Include res_hconf.h.
54945         (addhstaiX): Initialize res_hconf.
54947 2013-08-26  Andreas Schwab  <schwab@suse.de>
54949         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
54950         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
54952 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54954         * nscd/aicache.c (addhstaiX): Fix indentation.
54956 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
54958         * configure.ac: Quote $build_pt_chown test.
54959         * configure: Regenerated.
54961 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
54963         [BZ #15532]
54964         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
54965         * math/s_cexpf.c (__cexpf): Likewise.
54966         * math/s_cexpl.c (__cexpl): Likewise.
54967         * math/libm-test.inc (cexp_test_data): Correct expected return
54968         value for NaN + i0.  Add another test.
54970 2013-08-22  David S. Miller  <davem@davemloft.net>
54972         * po/ca.po: Update Catalan translation from translation project.
54973         * po/uk.po: Add Ukrainian translations from translation project.
54975 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
54977         [BZ #15797]
54978         * math/s_fdim.c (__fdim): Check for infinite arguments if result
54979         is infinite, not alongside NaN test.
54980         * math/s_fdimf.c (__fdimf): Likewise.
54981         * math/s_fdiml.c (__fdiml): Likewise.
54982         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
54983         errno is unchanged.
54985 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
54987         * argp/argp-help.c: Fix typos.
54988         * crypt/speeds.c: Likewise.
54989         * csu/check_fds.c: Likewise.
54990         * elf/dl-load.c: Likewise.
54991         * elf/dl-open.c: Likewise.
54992         * elf/reldep3.c: Likewise.
54993         * elf/reldep.c: Likewise.
54994         * elf/sprof.c: Likewise.
54995         * iconv/iconv_charmap.c: Likewise.
54996         * iconv/skeleton.c: Likewise.
54997         * iconv/strtab.c: Likewise.
54998         * io/lockf64.c: Likewise.
54999         * libio/libioP.h: Likewise.
55000         * resolv/gai_notify.c: Likewise.
55001         * resolv/ns_name.c: Likewise.
55002         * resolv/ns_samedomain.c: Likewise.
55003         * resolv/res_send.c: Likewise.
55004         * stdlib/random.c: Likewise.
55005         * sunrpc/rpc/xdr.h: Likewise.
55006         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
55007         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55008         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55009         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55010         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55011         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55012         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55013         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55014         * sysdeps/mach/hurd/check_fds.c: Likewise.
55015         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55016         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55017         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55018         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55019         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55020         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55021         * sysdeps/pthread/aio_notify.c: Likewise.
55022         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
55023         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55024         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
55025         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55026         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55028 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55030         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
55031         version if bit_Slow_SSE4_2 is set.
55032         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55033         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55035 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55037         [BZ #15867]
55038         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55039         trampoline stack frame information.
55040         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
55041         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
55042         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
55043         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
55044         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
55045         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55046         (_libc_vdso_platform_setup): Initialize the signal trampolines.
55047         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
55048         sa_flags value.
55049         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55050         interrupting a syscall and set with option SA_SIGINFO.
55052 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55054         [BZ #15531]
55055         * math/s_cproj.c (__cproj): Only return an infinity if one part of
55056         argument is infinite.
55057         * math/s_cprojf.c (__cprojf): Likewise.
55058         * math/s_cprojl.c (__cprojl): Likewise.
55059         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55060         * math/libm-test.inc (cproj_test_data): Add more tests.
55062         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55064         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55065         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55066         size.  Use __ffs to determine corresponding shift.
55068 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55069             Roland McGrath  <roland@hack.frob.com>
55071         * Makefile (INSTALL): Remove trailing blank lines from output of
55072         makeinfo.
55074 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55076         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55077         Align 32 bit compat elf_greg to 8 bytes.
55079 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55081         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55083 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55085         * string/strcoll_l.c (coll_seq): New structure.
55086         (get_next_seq_cached): New function.
55087         (get_next_seq): New function.
55088         (do_compare): New function.
55089         (STRCOLL): Use GNU style definition.  Simplify implementation
55090         by using get_next_seq, get_next_seq_cached and do_compare.
55092 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55094         [BZ #14699]
55095         CVE-2013-4237
55096         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55097         member.
55098         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55099         member.
55100         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55101         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55102         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55103         conditional.
55104         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55105         GETDENTS_64BIT_ALIGNED.
55106         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55107         * manual/filesys.texi (Reading/Closing Directory): Document
55108         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55109         strongly.
55110         * manual/conf.texi (Limits for Files): Add portability note to
55111         NAME_MAX, PATH_MAX.
55112         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55114 2013-08-13  Andreas Schwab  <schwab@suse.de>
55116         [BZ #15749]
55117         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55118         of fabs.
55119         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55120         LDBL_MAX_EXP >= 16384]: Add tests for it.
55122 2013-08-12  David S. Miller  <davem@davemloft.net>
55124         * version.h (RELEASE): Set to "development".
55125         (VERSION): Set to "2.18.90".
55126         * NEWS: Add 2.19 section.
55128 2013-08-03  David S. Miller  <davem@davemloft.net>
55130         * po/ko.po: Update Korean translation from translation project.
55132 2013-08-01  David S. Miller  <davem@davemloft.net>
55134         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55135         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55136         Bilka.
55138 2013-07-30  David S. Miller  <davem@davemloft.net>
55140         * po/fr.po: Update French translation from translation project.
55142 2013-07-28  David S. Miller  <davem@davemloft.net>
55144         * po/cs.po: Update Czech translation from translation project.
55146         * po/sv.po: Update Swedish translation from translation project.
55148 2013-07-27  David S. Miller  <davem@davemloft.net>
55150         * po/eo.po: Update Esperanto translation from translation project.
55152         * po/vi.po: Update Vietnamese translation from translation project.
55154         * po/de.po: Update German translation from translation project.
55156 2013-07-26  David S. Miller  <davem@davemloft.net>
55158         * po/bg.po: Update Bulgarian translation from translation project.
55160         * po/nl.po: Update Dutch translation from translation project.
55161         * po/pl.po: Update Polish translation from translation project.
55162         * po/ru.po: Update Russian translation from translation project.
55164 2013-07-24  David S. Miller  <davem@davemloft.net>
55166         * po/libc.pot: Update.
55168 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55170         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55171         variable page size.
55172         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55173         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55174         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55176 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55178         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55180 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55181             Andreas Schwab  <schwab@suse.de>
55182             Roland McGrath  <roland@hack.frob.com>
55183             Joseph Myers  <joseph@codesourcery.com>
55184             Carlos O'Donell  <carlos@redhat.com>
55186         [BZ #15755]
55187         * config.h.in: Define HAVE_PT_CHOWN.
55188         * config.make.in (build-pt-chown): New variable.
55189         * configure.in (--enable-pt_chown): New configure option.
55190         * configure: Regenerate.
55191         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55192         build-pt-chown is enabled.
55193         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55194         pt_chown to fix pty ownership.
55195         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55196         CLOSE_ALL_FDS.
55197         * manual/install.texi (Configuring and compiling): Mention
55198         --enable-pt_chown. Add @findex for grantpt.
55199         * INSTALL: Regenerate.
55201 2013-07-20  David S. Miller  <davem@davemloft.net>
55203         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55204         difference between 32-bit and 64-bit.
55206 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55208         [BZ #15711]
55209         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55210         Avoid system header dependency with -ffreestanding.
55211         ($(objpfx)bits/syscall%d): Likewise.
55213 2013-07-13  David S. Miller  <davem@davemloft.net>
55215         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55216         underflows from atanl/atan2l due to bug 15319.
55217         (casinh_test_data): Likewise.
55219 2013-07-07  David S. Miller  <davem@davemloft.net>
55221         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55223 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55225         * sysdeps/i386/fpu/libm-test-ulps: Update.
55226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55228 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55230         * configure.in (--enable-lock-elision): Fix message text.
55231         * INSTALL: Regenerate.
55232         * configure: Regenerate.
55234 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55238 2013-07-03  Andreas Jaeger  <aj@suse.de>
55240         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55241         define.
55242         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55243         (ptrace_peeksiginfo_args): Add.
55244         (__ptrace_peeksiginfo_flags): Add.
55245         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55246         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55247         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55249 2013-07-03  Allan McRae  <allan@archlinux.org>
55251         * sysdeps/i386/fpu/libm-test-ulps: Update.
55253 2013-07-02  David S. Miller  <davem@davemloft.net>
55255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55257 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55261 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55263         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55266 2013-07-02  Andi Kleen <ak@linux.intel.com>
55268         * config.h.in (ENABLE_LOCK_ELISION): Add.
55269         * configure.in (--enable-lock-elision): Add option.
55270         * manual/install.texi: Document --enable lock elision.
55271         * configure: Regenerate
55272         * INSTALL: Regenerate.
55274 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55276         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55277         SSE4.2 strcasecmp for libc.a.
55278         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55280 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55282         [BZ #13304]
55283         * soft-fp/op-common.h (_FP_FMA): New macro.
55284         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55285         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55286         (_FP_MUL_MEAT_1_imm): ... here.
55287         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55288         (_FP_MUL_MEAT_1_wide): ... here.
55289         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55290         (_FP_MUL_MEAT_1_hard): ... here.
55291         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55292         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55293         (_FP_MUL_MEAT_2_wide): ... here.
55294         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55295         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55296         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55297         (_FP_MUL_MEAT_2_gmp): ... here.
55298         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55299         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55300         (_FP_MUL_MEAT_4_wide): ... here.
55301         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55302         (_FP_MUL_MEAT_4_gmp): ... here.
55303         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55304         (_FP_WFRACBITS_DW_S): Likewise.
55305         (_FP_WFRACXBITS_DW_S): Likewise.
55306         (_FP_HIGHBIT_DW_S): Likewise.
55307         (FP_FMA_S): Likewise.
55308         (_FP_FRAC_HIGH_DW_S): Likewise.
55309         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55310         (_FP_WFRACBITS_DW_D): Likewise.
55311         (_FP_WFRACXBITS_DW_D): Likewise.
55312         (_FP_HIGHBIT_DW_D): Likewise.
55313         (FP_FMA_D): Likewise.
55314         (_FP_FRAC_HIGH_DW_D): Likewise.
55315         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55316         (_FP_WFRACBITS_DW_E): Likewise.
55317         (_FP_WFRACXBITS_DW_E): Likewise.
55318         (_FP_HIGHBIT_DW_E): Likewise.
55319         (FP_FMA_E): Likewise.
55320         (_FP_FRAC_HIGH_DW_E): Likewise.
55321         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55322         (_FP_WFRACBITS_DW_Q): Likewise.
55323         (_FP_WFRACXBITS_DW_Q): Likewise.
55324         (_FP_HIGHBIT_DW_Q): Likewise.
55325         (FP_FMA_Q): Likewise.
55326         (_FP_FRAC_HIGH_DW_Q): Likewise.
55327         * soft-fp/fmasf4.c: New file.
55328         * soft-fp/fmadf4.c: Likewise.
55329         * soft-fp/fmatf4.c: Likewise.
55331 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55334         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55335         Silvermont.
55336         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55337         macro.
55338         (index_Slow_SSE4_2): Likewise.
55339         (index_Prefer_PMINUB_for_stringop): Likewise.
55340         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55341         bit_Slow_SSE4_2 is set.
55342         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55343         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55345 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55347         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55348         rtld_global._dl_hwcap2.
55349         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55350         POWER8.
55351         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55352         POWER8 feature descriptions defined in _dl_hwcap2.
55353         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55354         string handling for POWER8 feature bits.
55355         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55356         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55357         _dl_powerpc_cap_flags.
55358         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55359         * sysdeps/powerpc/rtld-global-offsets.sym
55360         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55361         _dl_hwcap2 in the rtld_global_ro structure.
55363 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55365         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
55366         hardware capabilities in support of AT_HWCAP2.
55367         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
55368         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
55369         GLRO(dl_hwcap2).
55370         (_dl_show_auxv): Add support for calling _dl_procinfo to display
55371         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
55372         explicitly the unknown a_type display mechanism is used.
55373         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
55374         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
55375         struct member.
55376         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
55377         to macro prototype for AT_HWCAP2 support.
55378         * sysdeps/i386/dl-procinfo.h: Likewise.
55379         * sysdeps/s390/dl-procinfo.h: Likewise.
55380         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
55381         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
55382         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
55383         return -1 for unknown a_type display fallback.
55384         * sysdeps/sparc/dl-procinfo.h: Likewise.
55385         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
55386         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
55388 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
55390         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
55391         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
55393 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
55395         [BZ #12492]
55396         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
55397         mprotect making __stack_prot writable.
55399 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
55400             Joseph Myers  <joseph@codesourcery.com>
55402         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
55403         as being properly aligned.
55405 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
55407         * dlfcn/modstatic5.c: New file.
55408         * dlfcn/tststatic5.c: New file.
55409         * dlfcn/Makefile (tests): Add tststatic5.
55410         (tests-static): Likewise.
55411         (modules-names): Add modstatic5.
55412         (tststatic5-ENV): New variable.
55413         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
55415         [BZ #15022]
55416         * elf/dl-support.c (_dl_main_map): New variable.
55417         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
55418         (_dl_nns, _dl_load_adds): Set to 1.
55419         (_dl_initial_searchlist): Refer to _dl_main_map.
55420         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
55421         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
55422         call to _dl_get_origin.
55423         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
55424         around call_map.
55425         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
55426         * dlfcn/modstatic3.c: New file.
55427         * dlfcn/tststatic3.c: New file.
55428         * dlfcn/tststatic4.c: New file.
55429         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
55430         (tests-static): Likewise.
55431         (modules-names): Add modstatic3.
55432         (tststatic3-ENV, tststatic4-ENV): New variables.
55433         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
55434         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
55436 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
55438         * configure.in (CC): Require GCC version 4.4 or later.
55439         * configure: Regenerated.
55440         * manual/install.texi (Tools for Compilation): Update GCC version
55441         requirement.
55442         * INSTALL: Regenerated.
55444 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55446         [BZ #15674]
55447         * string/test-memcmp.c (check2): New.
55448         (main): Call check2.
55450         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
55452 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
55454         [BZ #15022]
55455         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
55456         over to...
55457         (dl_open_worker) [!SHARED]: ... here.
55459 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55461         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
55463 2013-06-25  Richard Henderson  <rth@redhat.com>
55465         * locale/programs/locarchive.c: Include <libc-internal.h>
55467 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
55469         * manual/texinfo.tex: Update to version 2013-06-21.17, with
55470         trailing whitespace removed.
55472 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55474         [BZ #10283]
55475         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
55476         * locale/programs/locarchive.c: Include libc-mmap.h.
55477         (prepare_address_space): Take two new outputs (the mmap base and len).
55478         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
55479         values.
55480         (create_archive): Declare new mmap base and len values for
55481         prepare_address_space, and store the result in ah.
55482         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
55483         (enlarge_archive): If ah->mmap_base is not NULL, use that and
55484         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55485         Declare new mmap base and len values for
55486         prepare_address_space, and store the result in new_ah.
55487         (open_archive): Declare new mmap base and len values for
55488         prepare_address_space, and store the result in ah.
55489         (close_archive): If ah->mmap_base is not NULL, use that and
55490         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55491         * sysdeps/generic/libc-mmap.h: New file.
55493 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55495         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
55496         (ALIGN_UP): Likewise.
55497         (PTR_ALIGN_DOWN): Likewise.
55498         (PTR_ALIGN_UP): Likewise.
55500 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55502         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
55503         entry mapped to PPC_PLATFORM_POWER8.
55504         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
55505         POWER8.
55506         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
55507         (_dl_string_platform): Add case for exporting platform position for
55508         POWER8.
55509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
55510         search path to sysdeps/powerpc/powerpc32/power8 directory.
55511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
55512         search path to sysdeps/powerpc/powerpc64/power8 directory.
55513         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
55514         power7 directories.
55515         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
55516         power7 directories.
55518 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55520         * INSTALL: Regenerate.
55522         * nscd/connections.c (nscd_init): Fix comment.
55524 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
55526         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
55528         [BZ #15667]
55529         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
55530         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
55532 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
55534         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
55535         DL_DST_REQ_STATIC.
55536         (DL_DST_REQ_STATIC): Remove macro.
55538 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
55540         [BZ #7006]
55541         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
55542         with a shift of 0 bits.
55544 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
55546         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
55547         $(tststatic-ENV).
55549 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55551         [BZ #15655]
55552         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
55554 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55556         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
55557         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
55558         accepts -fno-tree-loop-distribute-patterns.
55559         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
55560         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
55561         recursive call.
55562         * string/memset.c (memset): Likewise.
55563         * string/test-memmove.c (simple_memmove): Disable loop transformation
55564         to library calls.
55565         * string/test-memset.c (simple_memset): Likewise.
55566         * benchtests/bench-memmove.c (simple_memmove): Likewise.
55567         * benchtests/bench-memset.c (simple_memset): Likewise.
55568         * configure: Regenerated.
55570 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
55572         * math/test-misc.c (main): Ignore fesetround failure when failures
55573         of subsequent rounding tests would be ignored.
55575         [BZ #15654]
55576         * math/fedisblxcpt.c (fedisableexcept): Return 0.
55577         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
55578         * math/fegetenv.c (__fegetenv): Return 0.
55579         * math/fegetexcept.c (fegetexcept): Return 0.
55580         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
55581         FE_TONEAREST.
55582         * math/feholdexcpt.c (feholdexcept): Return 0.
55583         * math/fesetenv.c (__fesetenv): Return 0.
55584         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
55585         argument FE_TONEAREST.
55586         * math/feupdateenv.c (__feupdateenv): Return 0.
55587         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
55589 2013-06-18  Roland McGrath  <roland@hack.frob.com>
55591         * elf/rtld-Rules (rtld-compile-command.S): New variable.
55592         (rtld-compile-command.s, rtld-compile-command.c): New variables.
55593         ($(objpfx)rtld-%.os rules): Use them.
55595 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55597         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
55598         fields.
55600 2013-06-17  Roland McGrath  <roland@hack.frob.com>
55602         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
55603         length of target pattern, then descending length of dependency pattern.
55604         * configure.in (AWK): Require gawk 3.1.2 or newer.
55605         * manual/install.texi (Tools for Compilation): Say that we do.
55606         * configure: Regenerated.
55608         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
55609         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
55610         * scripts/sysd-rules.awk: ... this new script.
55611         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
55612         than a glob-style pattern.
55614 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
55616         * math/test-misc.c (main): Do not treat incorrectly rounded
55617         conversions as failure unless ROUNDING_TESTS passes.
55619 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
55621         [BZ #15631]
55622         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
55623         restore exception state around main square root computation, then
55624         check for inexactness explicitly.
55626         * math/libm-test.inc (fma_test_data): Add another test.
55628 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55630         * manual/threads.texi (Non-POSIX Extensions): New document
55631         node.  Document pthread_getattr_default_np and
55632         pthread_setattr_default_np.
55634         * Versions.def (libpthread): Add GLIBC_2.18.
55635         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
55636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
55637         Likewise.
55638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55639         Likewise.
55640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55641         Likewise.
55642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55643         Likewise.
55644         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
55645         Likewise.
55646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
55647         Likewise.
55648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
55649         Likewise.
55650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55651         Likewise.
55652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55653         Likewise.
55655 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55658         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
55660 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55661             H.J. Lu  <hjl.tools@gmail.com>
55663         [BZ #15627]
55664         * sysdeps/x86_64/rtld-memset.c: Remove file.
55665         * sysdeps/x86_64/rtld-memset.S: New file.
55667 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
55669         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
55670         (test_in_one_mode): Take arguments for whether the rounding mode
55671         is supported for each floating-point type.
55672         (do_test): Pass new arguments to test_in_one_mode using
55673         ROUNDING_TESTS.
55675 2013-06-13  Roland McGrath  <roland@hack.frob.com>
55677         * posix/tst-waitid.c (do_test): Distinguish different instances of
55678         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
55679         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
55680         before entering the kernel for waitpid.
55682 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55684         * NEWS: Fix note on clock function precision.  Text by Roland
55685         McGrath.
55687 2013-06-13  Roland McGrath  <roland@hack.frob.com>
55689         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
55690         it into place only when and if the sanity check passes.
55692 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
55694         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
55695         output for whether conversion result is exact.  Take argument
55696         indicating whether type is IBM long double.
55697         (round_for_all): Change need_exact field to ibm_ld.
55698         * stdlib/tst-strtod-round.c (struct exactness): New type.
55699         (struct test): Change bool ld_ok field to struct exactness exact.
55700         (TEST): Update all definitions for change to field.
55701         (tests): Regenerate array contents.
55702         (test_in_one_mode): Take pointer to new field instead of old ld_ok
55703         field value.  Check for IBM long double here.
55704         (do_test): Update calls to test_in_one_mode.
55706 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55708         [BZ #12515]
55709         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
55710         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
55712 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55714         [BZ #15605]
55715         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
55716         generated by the compiler on loop optimizations.
55717         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
55718         general definitions.
55720 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
55722         * math/bug-nextafter.c: Include <math-tests.h>.
55723         (main): Only test for exceptions if EXCEPTION_TESTS is true for
55724         the relevant type.
55725         * math/bug-nexttoward.c: Include <math-tests.h>.
55726         (main): Only test for exceptions if EXCEPTION_TESTS is true for
55727         the relevant type.
55728         * math/test-misc.c: Include <math-tests.h>.
55729         (main): Only test for exceptions if EXCEPTION_TESTS is true for
55730         the relevant type.
55732 2013-06-12  Andreas Jaeger  <aj@suse.de>
55734         * po/ia.po: Update Interlingua translation from translation
55735         project.
55737 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55739         * include/fenv.h: Include stdbool.h.
55740         (struct rm_ctx): New structure.
55741         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
55742         Define macro.
55743         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
55744         (SET_RESTORE_ROUNDF): Likewise.
55745         (SET_RESTORE_ROUNDL): Likewise.
55746         (SET_RESTORE_ROUND_NOEX): Likewise.
55747         (SET_RESTORE_ROUND_NOEXF): Likewise.
55748         (SET_RESTORE_ROUND_NOEXL): Likewise.
55749         (SET_RESTORE_ROUND_53BIT): Likewise.
55750         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
55751         (libc_feresetround_noexf_ctx): Likewise.
55752         (libc_feresetround_noexl_ctx): Likewise.
55753         (libc_feholdsetround_53bit_ctx): Likewise.
55754         (libc_feresetround_53bit_ctx): Likewise.
55755         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
55756         (libc_feholdexcept_setround_sse_ctx): New function.
55757         (libc_fesetenv_sse_ctx): Likewise.
55758         (libc_feupdateenv_sse_ctx): Likewise.
55759         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
55760         (libc_feholdexcept_setround_387_ctx): Likewise.
55761         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
55762         (libc_feholdsetround_387_prec_ctx): Likewise.
55763         (libc_feholdsetround_387_ctx): Likewise.
55764         (libc_feholdsetround_387_53bit_ctx): Likewise.
55765         (libc_feholdsetround_sse_ctx): Likewise.
55766         (libc_feresetround_sse_ctx): Likewise.
55767         (libc_feresetround_387_ctx): Likewise.
55768         (libc_feupdateenv_387_ctx): Likewise.
55769         (libc_feholdexcept_setroundf_ctx): Define macro.
55770         (libc_fesetenvf_ctx): Likewise.
55771         (libc_feupdateenvf_ctx): Likewise.
55772         (libc_feholdsetroundf_ctx): Likewise.
55773         (libc_feresetroundf_ctx): Likewise.
55774         (libc_feholdexcept_setround_ctx): Likewise.
55775         (libc_fesetenv_ctx): Likewise.
55776         (libc_feupdateenv_ctx): Likewise.
55777         (libc_feholdsetround_ctx): Likewise.
55778         (libc_feresetround_ctx): Likewise.
55779         (libc_feholdexcept_setroundl_ctx): Likewise.
55780         (libc_feupdateenvl_ctx): Likewise.
55781         (libc_feholdsetroundl_ctx): Likewise.
55782         (libc_feresetroundl_ctx): Likewise.
55783         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
55784         (libc_feresetround_53bit_ctx): Likewise.
55786 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55788         * locale/iso-639.def: Convert to UTF-8.
55790 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
55792         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
55793         (EXCEPTION_TESTS_double): Likewise.
55794         (EXCEPTION_TESTS_long_double): Likewise.
55795         (EXCEPTION_TESTS): Likewise.
55796         * math/libm-test.inc (test_exceptions): Only test exceptions if
55797         EXCEPTION_TESTS (FLOAT).
55799 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55801         * benchtests/Makefile (string-bench): Add strcpy_chk and
55802         stpcpy_chk.
55803         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
55804         * benchtests/bench-stpcpy_chk.c: New file.
55805         * benchtests/bench-strcpy_chk-ifunc.c: New file.
55806         * benchtests/bench-strcpy_chk.c: New file.
55807         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
55808         code.
55809         (do_test): Likewise.
55811 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55813         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
55814         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
55815         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
55816         with tabs where appropriate.
55817         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
55818         dl-procinfo.h.
55819         [PPC_PLATFORM_PPC440]: Likewise.
55820         [PPC_PLATFORM_PPC464]: Likewise.
55821         [PPC_PLATFORM_PPC476]: Likewise.
55822         (_dl_string_platform): Add support for detecting ppc405, ppc440,
55823         ppc464, and ppc476 platform strings merging from ports/
55824         dl-procinfo.h.
55826 2013-06-11  Andreas Schwab  <schwab@suse.de>
55828         [BZ #14991]
55829         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
55830         (from_ucs4_idx): Regenerate.
55831         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
55832         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
55833         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
55834         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
55835         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
55836         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
55837         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
55838         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
55839         from FROM_LOOP and TO_LOOP specific macros.
55840         (BODY): Handle combining characters.
55841         * iconvdata/BIG5HKSCS.irreversible: Update.
55842         * iconvdata/BIG5HKSCS.precomposed: New file.
55843         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
55844         characters.
55845         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
55847 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55849         * include/sys/time.h: Fix indentation and add copyright header.
55851         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
55852         (do_test): Likewise.
55853         * string/test-memchr.c (do_one_test): Likewise.
55854         (do_test): Likewise.
55855         * string/test-memcmp.c (do_one_test): Likewise.
55856         (do_test): Likewise.
55857         * string/test-memcpy.c (do_one_test): Likewise.
55858         (do_test): Likewise.
55859         * string/test-memmem.c (do_one_test): Likewise.
55860         (do_test): Likewise.
55861         (do_random_tests): Likewise.
55862         * string/test-memmove.c (do_one_test): Likewise.
55863         (do_test): Likewise.
55864         * string/test-memset.c (do_one_test): Likewise.
55865         (do_test): Likewise.
55866         * string/test-rawmemchr.c (do_one_test): Likewise.
55867         (do_test): Likewise.
55868         * string/test-strcasecmp.c (do_one_test): Likewise.
55869         (do_test): Likewise.
55870         * string/test-strcasestr.c (do_one_test): Likewise.
55871         (do_test): Likewise.
55872         * string/test-strcat.c (do_one_test): Likewise.
55873         (do_test): Likewise.
55874         * string/test-strchr.c (do_one_test): Likewise.
55875         (do_test): Likewise.
55876         * string/test-strcmp.c (do_one_test): Likewise.
55877         (do_test): Likewise.
55878         * string/test-strcpy.c (do_one_test): Likewise.
55879         (do_test): Likewise.
55880         * string/test-string.h: Likewise.
55881         (test_init): Likewise.
55882         * string/test-strlen.c (do_one_test): Likewise.
55883         (do_test): Likewise.
55884         * string/test-strncasecmp.c (do_one_test): Likewise.
55885         (do_test): Likewise.
55886         * string/test-strncat.c (do_one_test): Likewise.
55887         (do_test): Likewise.
55888         * string/test-strncmp.c (do_one_test): Likewise.
55889         (do_test_limit): Likewise.
55890         (do_test): Likewise.
55891         * string/test-strncpy.c (do_one_test): Likewise.
55892         (do_test): Likewise.
55893         * string/test-strnlen.c (do_one_test): Likewise.
55894         (do_test): Likewise.
55895         * string/test-strpbrk.c (do_one_test): Likewise.
55896         (do_test): Likewise.
55897         * string/test-strrchr.c (do_one_test): Likewise.
55898         (do_test): Likewise.
55899         * string/test-strspn.c (do_one_test): Likewise.
55900         (do_test): Likewise.
55901         * string/test-strstr.c (do_one_test): Likewise.
55902         (do_test): Likewise.
55904         * benchtests/Makefile (string-bench): Add string benchmarks.
55905         * benchtests/bench-bcopy-ifunc.c: New file.
55906         * benchtests/bench-bcopy.c: New file.
55907         * benchtests/bench-bzero-ifunc.c: New file.
55908         * benchtests/bench-bzero.c: New file.
55909         * benchtests/bench-memccpy-ifunc.c: New file.
55910         * benchtests/bench-memccpy.c: New file.
55911         * benchtests/bench-memchr-ifunc.c: New file.
55912         * benchtests/bench-memchr.c: New file.
55913         * benchtests/bench-memcmp-ifunc.c: New file.
55914         * benchtests/bench-memcmp.c: New file.
55915         * benchtests/bench-memmem-ifunc.c: New file.
55916         * benchtests/bench-memmem.c: New file.
55917         * benchtests/bench-memmove-ifunc.c: New file.
55918         * benchtests/bench-memmove.c: New file.
55919         * benchtests/bench-mempcpy-ifunc.c: New file.
55920         * benchtests/bench-mempcpy.c: New file.
55921         * benchtests/bench-memset-ifunc.c: New file.
55922         * benchtests/bench-memset.c: New file.
55923         * benchtests/bench-rawmemchr-ifunc.c: New file.
55924         * benchtests/bench-rawmemchr.c: New file.
55925         * benchtests/bench-stpcpy-ifunc.c: New file.
55926         * benchtests/bench-stpcpy.c: New file.
55927         * benchtests/bench-stpncpy-ifunc.c: New file.
55928         * benchtests/bench-stpncpy.c: New file.
55929         * benchtests/bench-strcasecmp-ifunc.c: New file.
55930         * benchtests/bench-strcasecmp.c: New file.
55931         * benchtests/bench-strcasestr-ifunc.c: New file.
55932         * benchtests/bench-strcasestr.c: New file.
55933         * benchtests/bench-strcat-ifunc.c: New file.
55934         * benchtests/bench-strcat.c: New file.
55935         * benchtests/bench-strchr-ifunc.c: New file.
55936         * benchtests/bench-strchr.c: New file.
55937         * benchtests/bench-strchrnul-ifunc.c: New file.
55938         * benchtests/bench-strchrnul.c: New file.
55939         * benchtests/bench-strcmp-ifunc.c: New file.
55940         * benchtests/bench-strcmp.c: New file.
55941         * benchtests/bench-strcpy-ifunc.c: New file.
55942         * benchtests/bench-strcpy.c: New file.
55943         * benchtests/bench-strcspn-ifunc.c: New file.
55944         * benchtests/bench-strcspn.c: New file.
55945         * benchtests/bench-strlen-ifunc.c: New file.
55946         * benchtests/bench-strlen.c: New file.
55947         * benchtests/bench-strncasecmp-ifunc.c: New file.
55948         * benchtests/bench-strncasecmp.c: New file.
55949         * benchtests/bench-strncat-ifunc.c: New file.
55950         * benchtests/bench-strncat.c: New file.
55951         * benchtests/bench-strncmp-ifunc.c: New file.
55952         * benchtests/bench-strncmp.c: New file.
55953         * benchtests/bench-strncpy-ifunc.c: New file.
55954         * benchtests/bench-strncpy.c: New file.
55955         * benchtests/bench-strnlen-ifunc.c: New file.
55956         * benchtests/bench-strnlen.c: New file.
55957         * benchtests/bench-strpbrk-ifunc.c: New file.
55958         * benchtests/bench-strpbrk.c: New file.
55959         * benchtests/bench-strrchr-ifunc.c: New file.
55960         * benchtests/bench-strrchr.c: New file.
55961         * benchtests/bench-strspn-ifunc.c: New file.
55962         * benchtests/bench-strspn.c: New file.
55963         * benchtests/bench-strstr-ifunc.c: New file.
55964         * benchtests/bench-strstr.c: New file.
55966         * benchtests/Makefile: Disable parallel execution of targets.
55967         (string-bench): Add memcpy.
55968         (benchset): New variable to store a list of benchmark sets.
55969         (bench-func): Renamed from bench.
55970         (bench-set): New target.
55971         (bench): Depend on bench-func and bench-set.
55972         * benchtests/README: Add section on benchmark sets.
55973         * benchtests/bench-memcpy-ifunc.c: New file.
55974         * benchtests/bench-memcpy.c: New file.
55975         * benchtests/bench-string.h: New file.
55977 2013-06-11  Andreas Schwab  <schwab@suse.de>
55979         [BZ #15577]
55980         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
55981         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
55982         values in the triple.
55983         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
55984         terminator in the group key.
55986 2013-06-11  Andreas Jaeger  <aj@suse.de>
55988         * po/zh_TW.po: Update Chinese (traditional) translation from
55989         translation project.
55991 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55993         * include/time.h (__clock_gettime): Add libc_hidden_proto.
55994         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
55995         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
55996         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55997         (clock_getcpuclockid): Likewise.
55998         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
55999         Add weak_alias and libc_hidden_def.
56000         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
56001         * rt/clock_gettime.c (clock_gettime): Rename to
56002         __clock_gettime.  Add weak_alias and libc_hidden_def.
56003         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
56004         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
56005         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
56006         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
56007         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
56008         Likewise.
56009         * rt/clock_settime.c (clock_settime): Rename to
56010         __clock_settime.  Add weak_alias and libc_hidden_def.
56011         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
56013 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
56015         * mach/err_boot.sub: Remove trailing whitespace.
56016         * mach/err_ipc.sub: Likewise.
56017         * mach/err_mach.sub: Likewise.
56019         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
56020         (ROUNDING_TESTS_double): Likewise.
56021         (ROUNDING_TESTS_long_double): Likewise.
56022         (ROUNDING_TESTS): Likewise.
56023         * math/libm-test.inc: Include <math-tests.h>.
56024         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
56025         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56026         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56027         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56029 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56031         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56032         of assigning.
56034 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
56036         * sysdeps/gnu/errlist.awk: Do not generate space at end of
56037         otherwise empty TRANS lines.
56038         * sysdeps/gnu/errlist.c: Regenerated.
56040         * catgets/gencat.c (error_print): Use (void) in function
56041         definition.
56042         * crypt/crypt_util.c (__init_des): Likewise.
56043         * crypt/speeds.c (Stop): Likewise.
56044         (main): Likewise.
56045         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56046         * inet/ruserpass.c (token): Likewise.
56047         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
56048         * intl/localealias.c (extend_alias_table): Likewise.
56049         * intl/plural-exp.c (init_germanic_plural): Likewise.
56050         * libio/fcloseall.c (__fcloseall): Likewise.
56051         * libio/genops.c (_IO_flush_all): Likewise.
56052         (_IO_flush_all_linebuffered): Likewise.
56053         (_IO_cleanup): Likewise.
56054         (_IO_iter_begin): Likewise.
56055         (_IO_iter_end): Likewise.
56056         (_IO_list_lock): Likewise.
56057         (_IO_list_unlock): Likewise.
56058         (_IO_list_resetlock): Likewise.
56059         * libio/getchar.c (getchar): Likewise.
56060         * libio/getchar_u.c (getchar_unlocked): Likewise.
56061         * libio/getwchar.c (getwchar): Likewise.
56062         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56063         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56064         * login/getpt.c (__getpt): Likewise.
56065         * login/tst-utmp.c (main): Likewise.
56066         * malloc/hooks.c (__malloc_check_init): Likewise.
56067         * malloc/malloc.c (__malloc_stats): Likewise.
56068         * malloc/mtrace.c (tr_break): Likewise.
56069         (mtrace): Likewise.
56070         (muntrace): Likewise.
56071         * misc/fstab.c (endfsent): Likewise.
56072         * misc/getclktck.c (__getclktck): Likewise.
56073         * misc/getdtsz.c (__getdtablesize): Likewise.
56074         * misc/gethostid.c (gethostid): Likewise.
56075         * misc/getpagesize.c (__getpagesize): Likewise.
56076         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56077         (__get_nprocs): Likewise.
56078         (__get_phys_pages): Likewise.
56079         (__get_avphys_pages): Likewise.
56080         * misc/getttyent.c (getttyent): Likewise.
56081         (setttyent): Likewise.
56082         (endttyent): Likewise.
56083         * misc/getusershell.c (getusershell): Likewise.
56084         (endusershell): Likewise.
56085         (setusershell): Likewise.
56086         (initshells): Likewise.
56087         * misc/hsearch.c (__hdestroy): Likewise.
56088         * misc/sync.c (sync): Likewise.
56089         * misc/syslog.c (closelog_internal): Likewise.
56090         (closelog): Likewise.
56091         * misc/ttyslot.c (ttyslot): Likewise.
56092         * misc/vhangup.c (vhangup): Likewise.
56093         * posix/fork.c (__fork): Likewise.
56094         * posix/getegid.c (__getegid): Likewise.
56095         * posix/geteuid.c (__geteuid): Likewise.
56096         * posix/getgid.c (__getgid): Likewise.
56097         * posix/getpid.c (__getpid): Likewise.
56098         * posix/getppid.c (__getppid): Likewise.
56099         * posix/getuid.c (__getuid): Likewise.
56100         * posix/pause.c (pause): Likewise.
56101         * posix/setpgrp.c (setpgrp): Likewise.
56102         * posix/setsid.c (__setsid): Likewise.
56103         * posix/test-vfork.c (noop): Likewise.
56104         * resolv/gethnamaddr.c (_endhtent): Likewise.
56105         (_gethtent): Likewise.
56106         (ht_endhostent): Likewise.
56107         (gethostent): Likewise.
56108         (dns_service): Likewise.
56109         * stdlib/drand48.c (drand48): Likewise.
56110         * stdlib/lrand48.c (lrand48): Likewise.
56111         * stdlib/mrand48.c (mrand48): Likewise.
56112         * stdlib/rand.c (rand): Likewise.
56113         * stdlib/random.c (__random): Likewise.
56114         * stdlib/setenv.c (clearenv): Likewise.
56115         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56116         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56117         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56118         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56119         (__get_nprocs): Likewise.
56120         (__get_phys_pages): Likewise.
56121         (__get_avphys_pages): Likewise.
56122         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56123         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56124         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56125         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56126         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56127         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56128         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56129         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56130         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56131         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56132         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56133         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56134         * sysdeps/posix/clock.c (clock): Likewise.
56135         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56136         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56137         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56138         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56139         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56140         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56141         (__get_nprocs_conf): Likewise.
56142         (__get_phys_pages): Likewise.
56143         (__get_avphys_pages): Likewise.
56144         * time/clock.c (clock): Likewise.
56145         * time/tzset.c (__tzname_max): Likewise.
56147 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56149         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56150         (__bswap_32): Do not use "register".
56151         * crypt/crypt.c (_ufc_doit_r): Likewise.
56152         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56153         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56154         * gmon/gmon.c (__monstartup): Likewise.
56155         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56156         * hurd/hurdmalloc.c (more_memory): Likewise.
56157         (malloc): Likewise.
56158         (free): Likewise.
56159         (realloc): Likewise.
56160         (malloc_fork_prepare): Likewise.
56161         (malloc_fork_parent): Likewise.
56162         (malloc_fork_child): Likewise.
56163         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56164         (_svcauth_des): Likewise.
56165         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56166         * inet/inet_net.c (inet_network): Likewise.
56167         * inet/inet_netof.c (inet_netof): Likewise.
56168         * inet/rcmd.c (__validuser2_sa): Likewise.
56169         * io/fts.c (fts_open): Likewise.
56170         (fts_load): Likewise.
56171         (fts_close): Likewise.
56172         (fts_read): Likewise.
56173         (fts_children): Likewise.
56174         (fts_build): Likewise.
56175         (fts_stat): Likewise.
56176         (fts_sort): Likewise.
56177         (fts_alloc): Likewise.
56178         (fts_lfree): Likewise.
56179         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56180         (_IO_file_xsgetn): Likewise.
56181         (_IO_file_xsgetn_mmap): Likewise.
56182         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56183         (_IO_cookie_write): Likewise.
56184         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56185         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56186         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56187         * malloc/obstack.c (_obstack_begin): Likewise.
56188         (_obstack_begin_1): Likewise.
56189         (_obstack_newchunk): Likewise.
56190         (_obstack_allocated_p): Likewise.
56191         (obstack_free): Likewise.
56192         (_obstack_memory_used): Likewise.
56193         * misc/getttyent.c (getttynam): Likewise.
56194         (getttyent): Likewise.
56195         (skip): Likewise.
56196         (value): Likewise.
56197         * misc/getusershell.c (initshells): Likewise.
56198         * misc/syslog.c (__vsyslog_chk): Likewise.
56199         * misc/ttyslot.c (ttyslot): Likewise.
56200         * nis/nis_hash.c (__nis_hash): Likewise.
56201         * posix/fnmatch_loop.c (FCT): Likewise.
56202         * posix/getconf.c (print_all): Likewise.
56203         (main): Likewise.
56204         * posix/getopt.c (exchange): Likewise.
56205         * posix/glob.c (globfree): Likewise.
56206         (prefix_array): Likewise.
56207         (__glob_pattern_type): Likewise.
56208         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56209         (NS_GET32): Likewise.
56210         (NS_PUT16): Likewise.
56211         (NS_PUT32): Likewise.
56212         * resolv/gethnamaddr.c (getanswer): Likewise.
56213         (gethostbyname2): Likewise.
56214         (gethostbyaddr): Likewise.
56215         (_gethtent): Likewise.
56216         (_gethtbyname2): Likewise.
56217         (_gethtbyaddr): Likewise.
56218         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56219         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56220         * resolv/res_init.c (__res_vinit): Likewise.
56221         (net_mask): Likewise.
56222         * resolv/res_mkquery.c (outchar): Likewise.
56223         (PRINT): Likewise.
56224         * stdio-common/printf_fp.c (outchar): Likewise.
56225         (PRINT): Likewise.
56226         * stdio-common/printf_fphex.c (outchar): Likewise.
56227         (PRINT): Likewise.
56228         * stdio-common/printf_size.c (outchar): Likewise.
56229         (PRINT): Likewise.
56230         * stdio-common/test_rdwr.c (main): Likewise.
56231         * stdio-common/tfformat.c (matches): Likewise.
56232         * stdio-common/vfprintf.c (outchar): Likewise.
56233         (printf_unknown): Likewise.
56234         (buffered_vfprintf): Likewise.
56235         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56236         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56237         (ReadFile): Likewise.
56238         * stdlib/qsort.c (SWAP): Likewise.
56239         (_quicksort): Likewise.
56240         * stdlib/setenv.c (__add_to_environ): Likewise.
56241         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56242         * stdlib/strtol_l.c (__strtol_l): Likewise.
56243         * stdlib/tst-strtod.c (main): Likewise.
56244         * stdlib/tst-strtol.c (main): Likewise.
56245         * stdlib/tst-strtoll.c (main): Likewise.
56246         * string/bits/string2.h (__strcmp_cc): Likewise.
56247         (__strcmp_cg): Likewise.
56248         (__strcspn_c1): Likewise.
56249         (__strcspn_c2): Likewise.
56250         (__strcspn_c3): Likewise.
56251         (__strspn_c1): Likewise.
56252         (__strspn_c2): Likewise.
56253         (__strspn_c3): Likewise.
56254         (__strsep_1c): Likewise.
56255         (__strsep_2c): Likewise.
56256         (__strsep_3c): Likewise.
56257         * string/memccpy.c (__memccpy): Likewise.
56258         * string/stpcpy.c (__stpcpy): Likewise.
56259         * string/strcmp.c (strcmp): Likewise.
56260         * string/strrchr.c (strrchr): Likewise.
56261         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56262         Likewise.
56263         * sysdeps/mach/hurd/getcwd.c
56264         (_hurd_canonicalize_directory_name_internal): Likewise.
56265         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56266         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56267         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56268         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56269         Likewise, in both definitions.
56270         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56271         definitions.
56272         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56273         64] (__bswap_64): Likewise.
56274         * time/test_time.c (main): Likewise.
56275         * time/tzfile.c (__tzfile_read): Likewise.
56276         (__tzfile_compute): Likewise.
56277         * time/tzset.c (__tzset_parse_tz): Likewise.
56278         (tzset_internal): Likewise.
56279         (compute_change): Likewise.
56280         * wcsmbs/wcscat.c (__wcscat): Likewise.
56281         * wcsmbs/wcschr.c (wcschr): Likewise.
56282         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56283         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56284         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56285         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56286         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56287         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56288         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56289         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56290         * wcsmbs/wmemset.c (wmemset): Likewise.
56292 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56294         * scripts/config.guess: Update to version 2013-05-16.
56295         * scripts/config.sub: Update to version 2013-04-24.
56296         * scripts/install-sh: Update to version 2011-11-20.07.
56297         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56298         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56300 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56302         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56303         * elf/sln.c: Likewise.
56304         * hurd/hurd/ioctl.h: Likewise.
56305         * hurd/hurdmalloc.c: Likewise.
56306         * hurd/xattr.c: Likewise.
56307         * include/shlib-compat.h: Likewise.
56308         * inet/ruserpass.c: Likewise.
56309         * libio/iofgets_u.c: Likewise.
56310         * libio/iofgetws_u.c: Likewise.
56311         * locale/programs/ld-identification.c: Likewise.
56312         * locale/programs/ld-time.c: Likewise.
56313         * mach/msg-destroy.c: Likewise.
56314         * nss/nss_files/files-netgrp.c: Likewise.
56315         * resolv/res_data.c: Likewise.
56316         * soft-fp/op-1.h: Likewise.
56317         * soft-fp/op-2.h: Likewise.
56318         * soft-fp/op-4.h: Likewise.
56319         * soft-fp/op-common.h: Likewise.
56320         * stdio-common/printf_fphex.c: Likewise.
56321         * stdlib/strtod_l.c: Likewise.
56322         * sunrpc/rpc/clnt.h: Likewise.
56323         * sysdeps/generic/framestate.c: Likewise.
56324         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56325         * sysdeps/i386/bsd-setjmp.S: Likewise.
56326         * sysdeps/i386/__longjmp.S: Likewise.
56327         * sysdeps/i386/setjmp.S: Likewise.
56328         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56329         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56330         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56331         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56332         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56333         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56334         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56335         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56336         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56337         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56338         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56339         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56340         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56341         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56342         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56343         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56344         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56345         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56346         * sysdeps/ieee754/support.c: Likewise.
56347         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56348         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56349         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56350         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56351         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56352         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56353         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56354         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56355         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56356         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56357         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56358         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56359         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56360         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56361         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56362         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56363         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
56366 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
56368         * posix/transbug.c: Remove executable mode.
56370 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
56372         * crypt/speeds.c: Remove trailing whitespace.
56373         * dlfcn/default.c: Likewise.
56374         * elf/ifuncdep2.c: Likewise.
56375         * elf/ifuncmain1.c: Likewise.
56376         * elf/ifuncmain1vis.c: Likewise.
56377         * elf/testobj.h: Likewise.
56378         * elf/tst-stackguard1.c: Likewise.
56379         * gmon/sys/gmon.h: Likewise.
56380         * hurd/hurdmsg.c: Likewise.
56381         * hurd/new-fd.c: Likewise.
56382         * hurd/ports-get.c: Likewise.
56383         * iconvdata/ibm1008_420.c: Likewise.
56384         * inet/tst-getni1.c: Likewise.
56385         * inet/tst-getni2.c: Likewise.
56386         * libio/ioungetc.c: Likewise.
56387         * libio/wfiledoalloc.c: Likewise.
56388         * manual/libm-err-tab.pl: Likewise.
56389         * math/w_dremf.c: Likewise.
56390         * misc/ftruncate.c: Likewise.
56391         * posix/bug-glob2.c: Likewise.
56392         * posix/tst-pcre.c: Likewise.
56393         * posix/wait4.c: Likewise.
56394         * resolv/README: Likewise.
56395         * resolv/res_debug.h: Likewise.
56396         * resolv/tst-inet_ntop.c: Likewise.
56397         * setjmp/bug269-setjmp.c: Likewise.
56398         * soft-fp/extended.h: Likewise.
56399         * soft-fp/op-1.h: Likewise.
56400         * soft-fp/op-2.h: Likewise.
56401         * soft-fp/op-4.h: Likewise.
56402         * soft-fp/op-8.h: Likewise.
56403         * soft-fp/testit.c: Likewise.
56404         * stdio-common/bug16.c: Likewise.
56405         * stdlib/random.c: Likewise.
56406         * sunrpc/rpcsvc/rquota.x: Likewise.
56407         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
56408         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56409         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56410         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56411         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56412         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56413         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56414         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56415         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56416         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56417         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56418         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56419         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56420         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56421         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56422         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56423         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56424         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56425         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56426         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56427         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56428         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56429         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
56430         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56431         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56432         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56433         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56434         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56435         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56436         * sysdeps/ieee754/s_lib_version.c: Likewise.
56437         * sysdeps/mach/hurd/check_fds.c: Likewise.
56438         * sysdeps/mach/hurd/getsockname.c: Likewise.
56439         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
56440         * sysdeps/mach/hurd/recvfrom.c: Likewise.
56441         * sysdeps/powerpc/bits/link.h: Likewise.
56442         * sysdeps/powerpc/dl-procinfo.c: Likewise.
56443         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
56444         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
56445         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
56446         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56447         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56448         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
56449         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56450         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
56451         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56452         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
56453         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56454         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
56455         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56456         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56457         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56458         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56459         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56460         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56461         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56462         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56463         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
56464         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56465         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56466         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
56467         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56468         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56469         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56470         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56471         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56472         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56473         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56474         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56475         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56476         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
56477         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56478         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
56479         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56480         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
56481         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
56482         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
56483         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
56484         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
56485         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
56486         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56487         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
56488         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
56489         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56490         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
56491         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
56492         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56493         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56494         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56495         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56496         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
56497         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
56498         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
56499         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56500         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
56501         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
56502         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
56503         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
56504         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
56505         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56506         * sysdeps/powerpc/sysdep.h: Likewise.
56507         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56508         * sysdeps/s390/s390-64/sub_n.S: Likewise.
56509         * sysdeps/sh/dl-trampoline.S: Likewise.
56510         * sysdeps/sh/memset.S: Likewise.
56511         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
56512         * sysdeps/sh/strlen.S: Likewise.
56513         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
56514         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
56515         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
56516         * sysdeps/sparc/sparc32/rem.S: Likewise.
56517         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
56518         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
56519         * sysdeps/sparc/sparc32/strchr.S: Likewise.
56520         * sysdeps/sparc/sparc32/udiv.S: Likewise.
56521         * sysdeps/sparc/sparc32/urem.S: Likewise.
56522         * sysdeps/sparc/sparc64/add_n.S: Likewise.
56523         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
56524         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
56525         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
56526         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
56527         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
56528         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
56529         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
56530         * sysdeps/unix/bsd/times.c: Likewise.
56531         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
56532         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
56533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
56534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
56535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
56536         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
56537         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56538         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
56539         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
56540         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
56541         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
56542         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56543         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
56544         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56545         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56546         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
56547         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56548         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
56549         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
56550         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
56551         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
56552         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
56553         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56554         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
56555         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
56556         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
56557         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
56558         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56559         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
56560         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
56561         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
56562         * sysdeps/x86_64/strcspn.S: Likewise.
56564 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56566         * locale/C-translit.h: Revert #include <stdint.h> because this is a
56567         generated file.  Regenerate properly from gen-translit.pl.
56568         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
56569         locale/C-translit.h.
56571 2013-06-05  Andreas Schwab  <schwab@suse.de>
56573         [BZ #15100]
56574         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
56575         week as 6 instead of -1.
56576         * time/tst-strptime.c (day_tests): Add test case.
56578 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56580         * sysdeps/generic/math_private.h
56581         (libc_feholdexcept_setround_53bit): Replace with
56582         libc_feholdsetround_53bit.
56583         (libc_feupdateenv_53bit): Replace with
56584         libc_feresetround_53bit.
56585         (SET_RESTORE_ROUND_53BIT): Adjust.
56587 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56589         * string/test-strchrnul.c: Add copyright header.
56591         * posix/tst-getaddrinfo4.c: Increase test timeout.
56593 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
56595         [BZ #15536]
56596         * math/libm-test.inc (MAX_EXP): Remove
56597         (MIN_EXP): Define.
56598         (ulp): Use MIN_EXP - MANT_DIG.
56599         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
56601 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
56603         * po/be.po: Revert last change.
56604         * po/zh_CN.po: Likewise.
56605         * po/header.pot: Likewise.
56607 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
56609         * Makefile ($(common-objpfx)linkobj/libc.so): Define
56610         link-libc-deps to empty as target-specific variable.
56611         * Makerules (link-libc-args): New variable.
56612         (libc-for-link): Likewise.
56613         (link-libc-deps): Likewise.
56614         (lib%.so): Depend on $(link-libc-deps).  Link with
56615         $(link-libc-args).
56616         (build-module): Link with $(link-libc-args).
56617         (build-module-asneeded): Likewise.
56618         (build-module-helper-objlist): Filter out $(link-libc-deps) from
56619         list of objects.
56620         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
56621         target-specific variable.
56622         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
56623         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
56624         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
56625         libc.
56626         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
56627         libc and ld.so.
56628         ($(objpfx)libpcprofile.so): Likewise.
56629         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
56630         libc_nonshared.a.
56631         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
56632         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
56633         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
56634         $(link-libc-deps).
56635         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
56636         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
56637         * login/Makefile ($(objpfx)libutil.so): Likewise.
56638         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
56639         * math/Makefile ($(objpfx)libm.so): Likewise.
56640         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
56641         $(objpfx)libnsl.so): Define libc-for-link as target-specific
56642         variable instead of depending directly on libc.
56643         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
56644         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
56645         $(link-libc-deps).
56646         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
56647         libc.
56648         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
56649         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
56650         ($(objpfx)libanl.so): Likewise.
56651         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
56652         ld.so.
56653         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
56654         $(link-libc-deps).
56655         * sysdeps/i386/fpu/Makefile: Remove file.
56656         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
56657         ($(objpfx)libm.so): Remove dependency on ld.so.
56659 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
56661         [BZ # 15553]
56662         * nis/yp_xdr.c (XDRMAXNAME): Define.
56663         (XDRMAXRECORD): Define.
56664         (xdr_domainname): Use XDRMAXNAME.
56665         (xdr_mapname): Likewise.
56666         (xdr_peername): Likewise.
56667         (xdr_keydat): Use XDRMAXRECORD.
56668         (xdr_valdat): Likewise.
56670 2013-05-30  Jeff Law  <law@redhat.com>
56672         [BZ #14256]
56673         * manual/errno.texi (ESTALE): Update to account for more than
56674         just NFS file systems.
56675         * sysdeps/gnu/errlist.c: Regenerated.
56677 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56679         [BZ #15465]
56680         * elf/Makefile (tests): Add tst-null-argv.
56681         (modules-names):  Add tst-null-argv-lib.
56682         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
56683         (tst-null-argv-ENV): Set environment for tst-null-argv.
56684         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
56685         (RTLD_PROGNAME): New macro.
56686         * elf/tst-null-argv.c: New test case.
56687         * elf/tst-null-argv-lib.c: Library for test case.
56688         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
56689         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
56690         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
56691         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
56692         * elf/dl-init.c (call_init): Likewise.
56693         (_dl_init): Likewise.
56694         * elf/dl-load.c (print_search_path): Likewise.
56695         (_dl_map_object): Likewise.
56696         * elf/dl-lookup.c (do_lookup_x): Likewise.
56697         (add_dependency): Likewise.
56698         (_dl_lookup_symbol_x): Likewise.
56699         (_dl_debug_bindings): Likewise.
56700         * elf/dl-open.c (_dl_show_scope): Likewise.
56701         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56702         * elf/dl-version.c (match_symbol): Likewise.
56703         (_dl_check_map_versions): Likewise.
56704         * elf/rtld.c (dl_main): Likewise.
56705         (print_unresolved): Use RTLD_PROGNAME.
56706         (print_missing_version): Likewise.
56707         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
56708         (elf_machine_rela): Likewise.
56709         * sysdeps/powerpc/powerpc32/dl-machine.c
56710         (__process_machine_rela): Likewise.
56711         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56712         Likewise.
56713         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56714         Likewise.
56715         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
56716         Likewise.
56717         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56718         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
56719         Likewise.
56720         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
56721         Likewise.
56722         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56724 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
56726         * po/be.po: Add descriptive title.
56727         * po/zh_CN.po: Likewise.
56728         * po/header.pot: Likewise.
56730 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
56732         * locale/programs/locarchive.c (create_archive): Inlucde fname in
56733         error message.
56734         (enlarge_archive): Likewise.
56736 2013-05-28  Ben North  <ben@redfrontdoor.org>
56738         * manual/arith.texi (frexp): It is the magnitude of the return
56739         value which lies in [0.5, 1), not the return value itself.
56741 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56745 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
56747         * stdio-common/bug26.c (main): Correct fscanf template.
56749         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
56750         declare _dl_skip_args.
56752         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
56753         Don't declare.
56755         * manual/platform.texi: Add missing @end deftypefun.
56757 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
56759         [BZ #15529]
56760         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
56761         bit of mantissa of 2^16382.
56762         * math/libm-test.inc (hypot_test_data): Add more tests.
56764         * math/libm-test.inc: Add drem and pow10 to list of tested
56765         functions.
56766         (pow10_test): New function.
56767         (drem_test): Likewise.
56768         (drem_test_tonearest): Likewise.
56769         (drem_test_towardzero): Likewise.
56770         (drem_test_downward): Likewise.
56771         (drem_test_upward): Likewise.
56772         (main): Call the new functions.
56774         * math/libm-test.inc (finite_test_data): Remove.
56775         (finite_test): Run tests from isfinite_test_data.
56776         (gamma_test_data): Remove.
56777         (gamma_test): Run tests from lgamma_test_data.
56778         * sysdeps/i386/fpu/libm-test-ulps: Update.
56779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56781 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56783         * manual/platform.texi: Add PowerPC PPR function set documentation.
56784         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
56785         implementation.
56787 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
56789         * math/libm-test.inc (MAX_EXP): Define.
56790         (ULPDIFF): Define.
56791         (ulp): New function.
56792         (check_float_internal): Use ULPDIFF.
56793         (cpow_test): Disable failing test.
56794         (check_ulp): Test ulp() implementation.
56795         (main): Call check_ulp before starting tests.
56797 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
56799         * math/gen-libm-test.pl (generate_testfile): Do not handle
56800         START_DATA and END_DATA.
56801         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
56802         END_DATA.
56803         (acos_tonearest_test_data): Likewise.
56804         (acos_towardzero_test_data): Likewise.
56805         (acos_downward_test_data): Likewise.
56806         (acos_upward_test_data): Likewise.
56807         (acosh_test_data): Likewise.
56808         (asin_test_data): Likewise.
56809         (asin_tonearest_test_data): Likewise.
56810         (asin_towardzero_test_data): Likewise.
56811         (asin_downward_test_data): Likewise.
56812         (asin_upward_test_data): Likewise.
56813         (asinh_test_data): Likewise.
56814         (atan_test_data): Likewise.
56815         (atanh_test_data): Likewise.
56816         (atan2_test_data): Likewise.
56817         (cabs_test_data): Likewise.
56818         (cacos_test_data): Likewise.
56819         (cacosh_test_data): Likewise.
56820         (carg_test_data): Likewise.
56821         (casin_test_data): Likewise.
56822         (casinh_test_data): Likewise.
56823         (catan_test_data): Likewise.
56824         (catanh_test_data): Likewise.
56825         (cbrt_test_data): Likewise.
56826         (ccos_test_data): Likewise.
56827         (ccosh_test_data): Likewise.
56828         (ceil_test_data): Likewise.
56829         (cexp_test_data): Likewise.
56830         (cimag_test_data): Likewise.
56831         (clog_test_data): Likewise.
56832         (clog10_test_data): Likewise.
56833         (conj_test_data): Likewise.
56834         (copysign_test_data): Likewise.
56835         (cos_test_data): Likewise.
56836         (cos_tonearest_test_data): Likewise.
56837         (cos_towardzero_test_data): Likewise.
56838         (cos_downward_test_data): Likewise.
56839         (cos_upward_test_data): Likewise.
56840         (cosh_test_data): Likewise.
56841         (cosh_tonearest_test_data): Likewise.
56842         (cosh_towardzero_test_data): Likewise.
56843         (cosh_downward_test_data): Likewise.
56844         (cosh_upward_test_data): Likewise.
56845         (cpow_test_data): Likewise.
56846         (cproj_test_data): Likewise.
56847         (creal_test_data): Likewise.
56848         (csin_test_data): Likewise.
56849         (csinh_test_data): Likewise.
56850         (csqrt_test_data): Likewise.
56851         (ctan_test_data): Likewise.
56852         (ctan_tonearest_test_data): Likewise.
56853         (ctan_towardzero_test_data): Likewise.
56854         (ctan_downward_test_data): Likewise.
56855         (ctan_upward_test_data): Likewise.
56856         (ctanh_test_data): Likewise.
56857         (ctanh_tonearest_test_data): Likewise.
56858         (ctanh_towardzero_test_data): Likewise.
56859         (ctanh_downward_test_data): Likewise.
56860         (ctanh_upward_test_data): Likewise.
56861         (erf_test_data): Likewise.
56862         (erfc_test_data): Likewise.
56863         (exp_test_data): Likewise.
56864         (exp_tonearest_test_data): Likewise.
56865         (exp_towardzero_test_data): Likewise.
56866         (exp_downward_test_data): Likewise.
56867         (exp_upward_test_data): Likewise.
56868         (exp10_test_data): Likewise.
56869         (exp2_test_data): Likewise.
56870         (expm1_test_data): Likewise.
56871         (fabs_test_data): Likewise.
56872         (fdim_test_data): Likewise.
56873         (finite_test_data): Likewise.
56874         (floor_test_data): Likewise.
56875         (fma_test_data): Likewise.
56876         (fma_towardzero_test_data): Likewise.
56877         (fma_downward_test_data): Likewise.
56878         (fma_upward_test_data): Likewise.
56879         (fmax_test_data): Likewise.
56880         (fmin_test_data): Likewise.
56881         (fmod_test_data): Likewise.
56882         (fpclassify_test_data): Likewise.
56883         (frexp_test_data): Likewise.
56884         (gamma_test_data): Likewise.
56885         (hypot_test_data): Likewise.
56886         (ilogb_test_data): Likewise.
56887         (isfinite_test_data): Likewise.
56888         (isgreater_test_data): Likewise.
56889         (isgreaterequal_test_data): Likewise.
56890         (isinf_test_data): Likewise.
56891         (isless_test_data): Likewise.
56892         (islessequal_test_data): Likewise.
56893         (islessgreater_test_data): Likewise.
56894         (isnan_test_data): Likewise.
56895         (isnormal_test_data): Likewise.
56896         (issignaling_test_data): Likewise.
56897         (isunordered_test_data): Likewise.
56898         (j0_test_data): Likewise.
56899         (j1_test_data): Likewise.
56900         (jn_test_data): Likewise.
56901         (ldexp_test_data): Likewise.
56902         (lgamma_test_data): Likewise.
56903         (lrint_test_data): Likewise.
56904         (lrint_tonearest_test_data): Likewise.
56905         (lrint_towardzero_test_data): Likewise.
56906         (lrint_downward_test_data): Likewise.
56907         (lrint_upward_test_data): Likewise.
56908         (llrint_test_data): Likewise.
56909         (llrint_tonearest_test_data): Likewise.
56910         (llrint_towardzero_test_data): Likewise.
56911         (llrint_downward_test_data): Likewise.
56912         (llrint_upward_test_data): Likewise.
56913         (log_test_data): Likewise.
56914         (log10_test_data): Likewise.
56915         (log1p_test_data): Likewise.
56916         (log2_test_data): Likewise.
56917         (logb_test_data): Likewise.
56918         (logb_downward_test_data): Likewise.
56919         (lround_test_data): Likewise.
56920         (llround_test_data): Likewise.
56921         (modf_test_data): Likewise.
56922         (nearbyint_test_data): Likewise.
56923         (nextafter_test_data): Likewise.
56924         (nexttoward_test_data): Likewise.
56925         (pow_test_data): Likewise.
56926         (pow_tonearest_test_data): Likewise.
56927         (pow_towardzero_test_data): Likewise.
56928         (pow_downward_test_data): Likewise.
56929         (pow_upward_test_data): Likewise.
56930         (remainder_test_data): Likewise.
56931         (remainder_tonearest_test_data): Likewise.
56932         (remainder_towardzero_test_data): Likewise.
56933         (remainder_downward_test_data): Likewise.
56934         (remainder_upward_test_data): Likewise.
56935         (remquo_test_data): Likewise.
56936         (rint_test_data): Likewise.
56937         (rint_tonearest_test_data): Likewise.
56938         (rint_towardzero_test_data): Likewise.
56939         (rint_downward_test_data): Likewise.
56940         (rint_upward_test_data): Likewise.
56941         (round_test_data): Likewise.
56942         (scalb_test_data): Likewise.
56943         (scalbn_test_data): Likewise.
56944         (scalbln_test_data): Likewise.
56945         (signbit_test_data): Likewise.
56946         (sin_test_data): Likewise.
56947         (sin_tonearest_test_data): Likewise.
56948         (sin_towardzero_test_data): Likewise.
56949         (sin_downward_test_data): Likewise.
56950         (sin_upward_test_data): Likewise.
56951         (sincos_test_data): Likewise.
56952         (sinh_test_data): Likewise.
56953         (sinh_tonearest_test_data): Likewise.
56954         (sinh_towardzero_test_data): Likewise.
56955         (sinh_downward_test_data): Likewise.
56956         (sinh_upward_test_data): Likewise.
56957         (sqrt_test_data): Likewise.
56958         (tan_test_data): Likewise.
56959         (tan_tonearest_test_data): Likewise.
56960         (tan_towardzero_test_data): Likewise.
56961         (tan_downward_test_data): Likewise.
56962         (tan_upward_test_data): Likewise.
56963         (tanh_test_data): Likewise.
56964         (tgamma_test_data): Likewise.
56965         (trunc_test_data): Likewise.
56966         (y0_test_data): Likewise.
56967         (y1_test_data): Likewise.
56968         (yn_test_data): Likewise.
56969         (significand_test_data): Likewise.
56971         * math/gen-libm-test.pl (@functions): Remove variable.
56972         (generate_testfile): Don't handle START and END lines.
56973         * math/libm-test.inc (START): New macro.
56974         (END): Likewise.
56975         (END_COMPLEX): Likewise.
56976         (acos_test): Use END macro without arguments.
56977         (acos_test_tonearest): Likewise.
56978         (acos_test_towardzero): Likewise.
56979         (acos_test_downward): Likewise.
56980         (acos_test_upward): Likewise.
56981         (acosh_test): Likewise.
56982         (asin_test): Likewise.
56983         (asin_test_tonearest): Likewise.
56984         (asin_test_towardzero): Likewise.
56985         (asin_test_downward): Likewise.
56986         (asin_test_upward): Likewise.
56987         (asinh_test): Likewise.
56988         (atan_test): Likewise.
56989         (atanh_test): Likewise.
56990         (atan2_test): Likewise.
56991         (cabs_test): Likewise.
56992         (cacos_test): Use END_COMPLEX macro without arguments.
56993         (cacosh_test): Likewise.
56994         (carg_test): Use END macro without arguments.
56995         (casin_test): Use END_COMPLEX macro without arguments.
56996         (casinh_test): Likewise.
56997         (catan_test): Likewise.
56998         (catanh_test): Likewise.
56999         (cbrt_test): Use END macro without arguments.
57000         (ccos_test): Use END_COMPLEX macro without arguments.
57001         (ccosh_test): Likewise.
57002         (ceil_test): Use END macro without arguments.
57003         (cexp_test): Use END_COMPLEX macro without arguments.
57004         (cimag_test): Use END macro without arguments.
57005         (clog_test): Use END_COMPLEX macro without arguments.
57006         (clog10_test): Likewise.
57007         (conj_test): Likewise.
57008         (copysign_test): Use END macro without arguments.
57009         (cos_test): Likewise.
57010         (cos_test_tonearest): Likewise.
57011         (cos_test_towardzero): Likewise.
57012         (cos_test_downward): Likewise.
57013         (cos_test_upward): Likewise.
57014         (cosh_test): Likewise.
57015         (cosh_test_tonearest): Likewise.
57016         (cosh_test_towardzero): Likewise.
57017         (cosh_test_downward): Likewise.
57018         (cosh_test_upward): Likewise.
57019         (cpow_test): Use END_COMPLEX macro without arguments.
57020         (cproj_test): Likewise.
57021         (creal_test): Use END macro without arguments.
57022         (csin_test): Use END_COMPLEX macro without arguments.
57023         (csinh_test): Likewise.
57024         (csqrt_test): Likewise.
57025         (ctan_test): Likewise.
57026         (ctan_test_tonearest): Likewise.
57027         (ctan_test_towardzero): Likewise.
57028         (ctan_test_downward): Likewise.
57029         (ctan_test_upward): Likewise.
57030         (ctanh_test): Likewise.
57031         (ctanh_test_tonearest): Likewise.
57032         (ctanh_test_towardzero): Likewise.
57033         (ctanh_test_downward): Likewise.
57034         (ctanh_test_upward): Likewise.
57035         (erf_test): Use END macro without arguments.
57036         (erfc_test): Likewise.
57037         (exp_test): Likewise.
57038         (exp_test_tonearest): Likewise.
57039         (exp_test_towardzero): Likewise.
57040         (exp_test_downward): Likewise.
57041         (exp_test_upward): Likewise.
57042         (exp10_test): Likewise.
57043         (exp2_test): Likewise.
57044         (expm1_test): Likewise.
57045         (fabs_test): Likewise.
57046         (fdim_test): Likewise.
57047         (finite_test): Likewise.
57048         (floor_test): Likewise.
57049         (fma_test): Likewise.
57050         (fma_test_towardzero): Likewise.
57051         (fma_test_downward): Likewise.
57052         (fma_test_upward): Likewise.
57053         (fmax_test): Likewise.
57054         (fmin_test): Likewise.
57055         (fmod_test): Likewise.
57056         (fpclassify_test): Likewise.
57057         (frexp_test): Likewise.
57058         (gamma_test): Likewise.
57059         (hypot_test): Likewise.
57060         (ilogb_test): Likewise.
57061         (isfinite_test): Likewise.
57062         (isgreater_test): Likewise.
57063         (isgreaterequal_test): Likewise.
57064         (isinf_test): Likewise.
57065         (isless_test): Likewise.
57066         (islessequal_test): Likewise.
57067         (islessgreater_test): Likewise.
57068         (isnan_test): Likewise.
57069         (isnormal_test): Likewise.
57070         (issignaling_test): Likewise.
57071         (isunordered_test): Likewise.
57072         (j0_test): Likewise.
57073         (j1_test): Likewise.
57074         (jn_test): Likewise.
57075         (ldexp_test): Likewise.
57076         (lgamma_test): Likewise.
57077         (lrint_test): Likewise.
57078         (lrint_test_tonearest): Likewise.
57079         (lrint_test_towardzero): Likewise.
57080         (lrint_test_downward): Likewise.
57081         (lrint_test_upward): Likewise.
57082         (llrint_test): Likewise.
57083         (llrint_test_tonearest): Likewise.
57084         (llrint_test_towardzero): Likewise.
57085         (llrint_test_downward): Likewise.
57086         (llrint_test_upward): Likewise.
57087         (log_test): Likewise.
57088         (log10_test): Likewise.
57089         (log1p_test): Likewise.
57090         (log2_test): Likewise.
57091         (logb_test): Likewise.
57092         (logb_test_downward): Likewise.
57093         (lround_test): Likewise.
57094         (llround_test): Likewise.
57095         (modf_test): Likewise.
57096         (nearbyint_test): Likewise.
57097         (nextafter_test): Likewise.
57098         (nexttoward_test): Likewise.
57099         (pow_test): Likewise.
57100         (pow_test_tonearest): Likewise.
57101         (pow_test_towardzero): Likewise.
57102         (pow_test_downward): Likewise.
57103         (pow_test_upward): Likewise.
57104         (remainder_test): Likewise.
57105         (remainder_test_tonearest): Likewise.
57106         (remainder_test_towardzero): Likewise.
57107         (remainder_test_downward): Likewise.
57108         (remainder_test_upward): Likewise.
57109         (remquo_test): Likewise.
57110         (rint_test): Likewise.
57111         (rint_test_tonearest): Likewise.
57112         (rint_test_towardzero): Likewise.
57113         (rint_test_downward): Likewise.
57114         (rint_test_upward): Likewise.
57115         (round_test): Likewise.
57116         (scalb_test): Likewise.
57117         (scalbn_test): Likewise.
57118         (scalbln_test): Likewise.
57119         (signbit_test): Likewise.
57120         (sin_test): Likewise.
57121         (sin_test_tonearest): Likewise.
57122         (sin_test_towardzero): Likewise.
57123         (sin_test_downward): Likewise.
57124         (sin_test_upward): Likewise.
57125         (sincos_test): Likewise.
57126         (sinh_test): Likewise.
57127         (sinh_test_tonearest): Likewise.
57128         (sinh_test_towardzero): Likewise.
57129         (sinh_test_downward): Likewise.
57130         (sinh_test_upward): Likewise.
57131         (sqrt_test): Likewise.
57132         (tan_test): Likewise.
57133         (tan_test_tonearest): Likewise.
57134         (tan_test_towardzero): Likewise.
57135         (tan_test_downward): Likewise.
57136         (tan_test_upward): Likewise.
57137         (tanh_test): Likewise.
57138         (tgamma_test): Likewise.
57139         (trunc_test): Likewise.
57140         (y0_test): Likewise.
57141         (y1_test): Likewise.
57142         (yn_test): Likewise.
57143         (significand_test): Likewise.
57145 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57147         [BZ #15381]
57148         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57150 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57152         [BZ #14894]
57153         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57154         __ppc_mdoio and __ppc_mdoom.
57155         * manual/platform.texi: Document new functions __ppc_yield,
57156         __ppc_mdoio and __ppc_mdoom.
57158 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57160         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57161         (main): Mention "tls" pseudo-hwcap is legacy.
57162         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57164 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57166         * math/gen-libm-test.pl (parse_args): Output only string of
57167         arguments as text for test name, not full call or descriptions of
57168         tests for extra outputs.
57169         (generate_testfile): Do not pass function name to parse_args.
57170         Generate this_func variable from START.
57171         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57172         field to arg_str.
57173         (struct test_ff_f_data): Likewise.
57174         (test_ff_f_data_nexttoward): Likewise.
57175         (struct test_fi_f_data): Likewise.
57176         (struct test_fl_f_data): Likewise.
57177         (struct test_if_f_data): Likewise.
57178         (struct test_fff_f_data): Likewise.
57179         (struct test_c_f_data): Likewise.
57180         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57181         (struct test_fF_f1_data): Likewise.
57182         (struct test_ffI_f1_data): Likewise.
57183         (struct test_c_c_data): Rename test_name field to arg_str.
57184         (struct test_cc_c_data): Likewise.
57185         (struct test_f_i_data): Likewise.
57186         (struct test_ff_i_data): Likewise.
57187         (struct test_f_l_data): Likewise.
57188         (struct test_f_L_data): Likewise.
57189         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57190         and extra2_name.
57191         (COMMON_TEST_SETUP): New macro.
57192         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57193         (COMMON_TEST_CLEANUP): Likewise.
57194         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57195         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57196         macros.
57197         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57198         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57199         macros.
57200         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57201         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57202         cleanup macros.
57203         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57204         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57205         macros.
57206         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57207         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57208         macros.
57209         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57210         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57211         cleanup macros.
57212         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57213         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57214         cleanup macros.
57215         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57216         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57217         cleanup macros.
57218         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57219         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57220         macros.
57221         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57222         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57223         macros.
57224         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57225         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57226         macros.
57227         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57228         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57229         cleanup macros.
57230         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57231         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57232         cleanup macros.
57233         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57234         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57235         macros.
57236         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57237         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57238         cleanup macros.
57239         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57240         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57241         macros.
57242         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57243         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57244         macros.
57245         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57246         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57247         cleanup macros.
57248         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57250 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57252         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57253         to _sifields.sigfault.
57254         (si_addr_lsb): Define new macro.
57255         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57256         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57257         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57259 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57261         [BZ #15441]
57262         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57263         returns -1.
57264         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57265         null return -1.
57266         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57267         loading the domain.
57269 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57271         * math/gen-libm-test.pl (parse_args): Do not include expected
57272         result in test name.
57273         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57274         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57275         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57276         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57277         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57280 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57282         * benchtests/Makefile: Sort function entries.
57284         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57285         tanh, asinh, acosh, atanh.
57286         * benchtests/acos-inputs: New file.
57287         * benchtests/acosh-inputs: New file.
57288         * benchtests/asin-inputs: New file.
57289         * benchtests/asinh-inputs: New file.
57290         * benchtests/atanh-inputs: New file.
57291         * benchtests/cosh-inputs: New file.
57292         * benchtests/log-inputs: New file.
57293         * benchtests/sinh-inputs: New file.
57294         * benchtests/tanh-inputs: New file.
57296 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57298         [BZ #15339]
57299         * posix/tst-getaddrinfo4.c: New test.
57300         * posix/Makefile (tests): Add it.
57302 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57304         [BZ #15339]
57305         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57306         when no services were used.
57307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57308         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57310 2013-05-21  Andreas Schwab  <schwab@suse.de>
57312         [BZ #15014]
57313         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57314         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57315         successful.
57316         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57317         redundant variable declarations and reallocation of buffer when
57318         parsing as IPv6 address.  Always set NSS status when called from
57319         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57320         buffer too small.  Correct computation of needed size.
57321         * nss/Makefile (tests): Add test-digits-dots.
57322         * nss/test-digits-dots.c: New test.
57324 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57326         * benchtests/Makefile: Remove instructions for adding
57327         benchmark tests.
57328         * benchtests/README: New file to explain how to execute and
57329         enhance the benchmark tests.
57331 2013-05-21  Andreas Schwab  <schwab@suse.de>
57333         [BZ #15493]
57334         * setjmp/Makefile (tests): Add tst-sigsetjmp.
57335         * setjmp/tst-sigsetjmp.c: New test.
57337 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57339         * sysdeps/x86_64/memset.S (memset): New implementation.
57340         (__bzero): Likewise.
57341         (__memset_tail): New function.
57343 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57345         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57346         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57347         __memcpy_sse2_unaligned ifunc selection.
57348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57349         Add memcpy-sse2-unaligned.S.
57350         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57351         Add: __memcpy_sse2_unaligned.
57353 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
57355         [BZ #15490]
57356         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57357         math_force_eval before restoring floating-point envrionment.
57358         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57359         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57360         Likewise.
57361         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57362         <math_private.h>.
57363         (__nearbyintl): Use math_force_eval before restoring
57364         floating-point environment.
57365         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
57367         * math/gen-libm-test.pl (special_functions): Remove.
57368         (parse_args): Don't handle TEST_extra.  Handle functions with no
57369         return value.
57370         * math/libm-test.inc (struct test_sincos_data): Replace with
57371         struct test_fFF_11_data.
57372         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
57373         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
57374         (sincos_test_data): Change element type to struct
57375         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
57376         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
57377         RUN_TEST_LOOP_sincos.
57378         * math/README.libm-test: Don't mention special handling of
57379         individual functions.
57380         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
57381         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57382         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57383         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57384         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57387         * math/gen-libm-test.pl (get_variable): Remove function.
57388         (parse_args): Don't show pointer parameters to call in test
57389         names.  Use "extra output N" in test names for extra outputs
57390         rather than naming variables.
57392 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
57394         [BZ #15488]
57395         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
57396         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
57397         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
57398         double tests.
57399         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
57400         disable.
57401         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
57402         check_long_double.
57404         * math/gen-libm-test.pl (@tests): Remove variable.
57405         ($count): Likewise.
57406         (new_test): Remove function.
57407         (show_exceptions): New function.
57408         (special_functions): Use show_exceptions instead of new_test.
57409         (parse_args): Likewise.
57410         (generate_testfile): Pass only function name in generated call to
57411         print_max_error or print_complex_max_error.
57412         (get_ulps): Do not handle complex tests specially.
57413         (output_test): Rename to ...
57414         (get_all_ulps_for_test): ... this.  Return a string rather than
57415         printing to a file.  Require ulps to be present.
57416         (output_ulps): Generate arrays rather than #defines.
57417         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
57418         (struct ulp_data): New type.
57419         (BUILD_COMPLEX_ULP): Remove macro.
57420         (compare_ulp_data): New function.
57421         (find_ulps): Likewise.
57422         (find_test_ulps): Likewise.
57423         (find_function_ulps): Likewise.
57424         (find_complex_function_ulps): Likewise.
57425         (print_max_error): Determine allowed ulps using
57426         find_function_ulps.
57427         (print_complex_max_error): Determine allowed ulps using
57428         find_complex_function_ulps.
57429         (check_float_internal): Determine max ulps using find_test_ulps.
57430         (check_float): Do not take max_ulp parameter.  Update call to
57431         check_float_internal.
57432         (check_complex): Likewise.
57433         (check_int): Do not take max_ulp parameter.
57434         (check_long): Likewise.
57435         (check_bool): Likewise.
57436         (check_longlong): Likewise.
57437         (struct test_f_f_data): Remove max_ulp field.
57438         (struct test_ff_f_data): Likewise.
57439         (struct test_ff_f_data_nexttoward): Likewise.
57440         (struct test_fi_f_data): Likewise.
57441         (struct test_fl_f_data): Likewise.
57442         (struct test_if_f_data): Likewise.
57443         (struct test_fff_f_data): Likewise.
57444         (struct test_c_f_data): Likewise.
57445         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
57446         (struct test_fF_f1_data): Likewise.
57447         (struct test_ffI_f1_data): Likewise.
57448         (struct test_c_c_data): Remove max_ulp field.
57449         (struct test_cc_c_data): Likewise.
57450         (struct test_f_i_data): Likewise.
57451         (struct test_ff_i_data): Likewise.
57452         (struct test_f_l_data): Likewise.
57453         (struct test_f_L_data): Likewise.
57454         (struct test_sincos_data): Likewise.
57455         (RUN_TEST_f_f): Do not handle ulps.
57456         (RUN_TEST_LOOP_f_f): Likewise.
57457         (RUN_TEST_2_f): Likewise.
57458         (RUN_TEST_LOOP_2_f): Likewise.
57459         (RUN_TEST_fff_f): Likewise.
57460         (RUN_TEST_LOOP_fff_f): Likewise.
57461         (RUN_TEST_c_f): Likewise.
57462         (RUN_TEST_LOOP_c_f): Likewise.
57463         (RUN_TEST_f_f1): Likewise.
57464         (RUN_TEST_LOOP_f_f1): Likewise.
57465         (RUN_TEST_fF_f1): Likewise.
57466         (RUN_TEST_LOOP_fF_f1): Likewise.
57467         (RUN_TEST_fI_f1): Likewise.
57468         (RUN_TEST_LOOP_fI_f1): Likewise.
57469         (RUN_TEST_ffI_f1): Likewise.
57470         (RUN_TEST_LOOP_ffI_f1): Likewise.
57471         (RUN_TEST_c_c): Likewise.
57472         (RUN_TEST_LOOP_c_c): Likewise.
57473         (RUN_TEST_cc_c): Likewise.
57474         (RUN_TEST_LOOP_cc_c): Likewise.
57475         (RUN_TEST_f_i): Likewise.
57476         (RUN_TEST_LOOP_f_i): Likewise.
57477         (RUN_TEST_f_i_tg): Likewise.
57478         (RUN_TEST_LOOP_f_i_tg): Likewise.
57479         (RUN_TEST_ff_i_tg): Likewise.
57480         (RUN_TEST_LOOP_ff_i_tg): Likewise.
57481         (RUN_TEST_f_b): Likewise.
57482         (RUN_TEST_LOOP_f_b): Likewise.
57483         (RUN_TEST_f_b_tg): Likewise.
57484         (RUN_TEST_LOOP_f_b_tg): Likewise.
57485         (RUN_TEST_f_l): Likewise.
57486         (RUN_TEST_LOOP_f_l): Likewise.
57487         (RUN_TEST_f_L): Likewise.
57488         (RUN_TEST_LOOP_f_L): Likewise.
57489         (RUN_TEST_sincos): Likewise.
57490         (RUN_TEST_LOOP_sincos): Likewise.
57492 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
57494         [BZ #15480]
57495         [BZ #15485]
57496         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
57497         main case of finite arguments, set rounding mode to FE_TONEAREST
57498         and discard exceptions.
57499         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
57500         exceptions.
57501         (remainder_tonearest_test_data): New variable.
57502         (remainder_test_tonearest): New function.
57503         (remainder_towardzero_test_data): New variable.
57504         (remainder_test_towardzero): New function.
57505         (remainder_downward_test_data): New variable.
57506         (remainder_test_downward): New function.
57507         (remainder_upward_test_data): New variable.
57508         (remainder_test_upward): New function.
57509         (main): Call the new test functions.
57511         * math/libm-test.inc (struct test_f_f1_data): Remove field
57512         extra_init.
57513         (struct test_fF_f1_data): Likewise.
57514         (struct test_ffI_f1_data): Likewise.
57515         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
57516         based on value of EXTRA_EXPECTED.
57517         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57518         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
57519         EXTRA_VAR based on value of EXTRA_EXPECTED.
57520         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57521         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
57522         EXTRA_VAR based on value of EXTRA_EXPECTED.
57523         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57524         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
57525         EXTRA_VAR based on value of EXTRA_EXPECTED.
57526         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57527         * math/gen-libm-test.pl (parse_args): Don't output initializers
57528         for extra output values.
57530         * math/libm-test.inc (check_int): Expect result to be exactly
57531         equal to expected value and do not handle ulps.
57532         (check_long): Likewise.
57533         (check_longlong): Likewise.
57535         * math/libm-test.inc (ceil_test_data): Test for "inexact"
57536         exceptions.
57537         (cimag_test_data): Likewise.
57538         (conj_test_data): Likewise.
57539         (copysign_test_data): Likewise.
57540         (cproj_test_data): Likewise.
57541         (creal_test_data): Likewise.
57542         (fabs_test_data): Likewise.
57543         (fdim_test_data): Likewise.
57544         (finite_test_data): Likewise.
57545         (floor_test_data): Likewise.
57546         (fmax_test_data): Likewise.
57547         (fmin_test_data): Likewise.
57548         (fmod_test_data): Likewise.
57549         (fpclassify_test_data): Likewise.
57550         (frexp_test_data): Likewise.
57551         (ilogb_test_data): Likewise.
57552         (isfinite_test_data): Likewise.
57553         (isgreater_test_data): Likewise.
57554         (isgreaterequal_test_data): Likewise.
57555         (isinf_test_data): Likewise.
57556         (isless_test_data): Likewise.
57557         (islessequal_test_data): Likewise.
57558         (islessgreater_test_data): Likewise.
57559         (isnan_test_data): Likewise.
57560         (isnormal_test_data): Likewise.
57561         (issignaling_test_data): Likewise.
57562         (isunordered_test_data): Likewise.
57563         (ldexp_test_data): Likewise.
57564         (lrint_test_data): Likewise.
57565         (lrint_test_data) [TEST_FLOAT]: Disable one test.
57566         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
57567         (lrint_tonearest_test_data): Test for "inexact" exceptions.
57568         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57569         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
57570         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57571         test input.
57572         (lrint_towardzero_test_data): Test for "inexact" exceptions.
57573         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57574         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
57575         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
57576         that test input.
57577         (lrint_downward_test_data): Test for "inexact" exceptions.
57578         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57579         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
57580         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57581         test input.
57582         (lrint_upward_test_data): Test for "inexact" exceptions.
57583         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
57584         test input.
57585         (llrint_test_data): Test for "inexact" exceptions.
57586         (llrint_test_data) [TEST_FLOAT]: Disable one test.
57587         (llrint_tonearest_test_data): Test for "inexact" exceptions.
57588         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57589         (llrint_towardzero_test_data): Test for "inexact" exceptions.
57590         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57591         (llrint_downward_test_data): Test for "inexact" exceptions.
57592         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57593         (llrint_upward_test_data): Test for "inexact" exceptions.
57594         (logb_test_data): Likewise.
57595         (logb_downward_test_data): Likewise.
57596         (nextafter_test_data): Likewise.
57597         (nexttoward_test_data): Likewise.
57598         (remainder_test_data): Likewise.
57599         (remquo_test_data): Likewise.
57600         (scalbn_test_data): Likewise.
57601         (scalbln_test_data): Likewise.
57602         (signbit_test_data): Likewise.
57603         (sqrt_test_data): Likewise.
57604         (significand_test_data): Likewise.
57606 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57608         [BZ #15424]
57609         * benchtests/bench-modf.c (struct args): Mark arg0 as
57610         volatile.
57611         * scripts/bench.pl: Mark members of struct args as volatile.
57613 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57615         [BZ # 15497]
57616         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
57617         negative infinity on POWER6 or lower.
57618         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
57620 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
57622         [BZ #15442]
57623         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
57624         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
57625         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
57626         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
57627         (_FP_SETQNAN): New macro.
57628         (_FP_SETQNAN_SEMIRAW): Likewise.
57629         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
57630         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
57631         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
57632         (FP_EXTEND): Use _FP_FRAC_SNANP.
57633         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
57634         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
57635         into account.
57636         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57637         New macro.
57638         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57639         Likewise.
57641 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57643         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
57644         with DIVIDE_BY_ZERO_EXCEPTION.
57645         (gamma_test_data): Likewise.
57646         (lgamma_test_data): Likewise.
57647         (log_test_data): Likewise.
57648         (log10_test_data): Likewise.
57649         (log2_test_data): Likewise.
57650         (tgamma_test_data): Likewise.
57652         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
57653         (acos_test_tonearest): Likewise.
57654         (acos_test_towardzero): Likewise.
57655         (acos_test_downward): Likewise.
57656         (acos_test_upward): Likewise.
57657         (acosh_test): Likewise.
57658         (asin_test): Likewise.
57659         (asin_test_tonearest): Likewise.
57660         (asin_test_towardzero): Likewise.
57661         (asin_test_downward): Likewise.
57662         (asin_test_upward): Likewise.
57663         (asinh_test): Likewise.
57664         (atan_test): Likewise.
57665         (atanh_test): Likewise.
57666         (atan2_test): Likewise.
57667         (cabs_test): Likewise.
57668         (cacos_test): Likewise.
57669         (cacosh_test): Likewise.
57670         (casin_test): Likewise.
57671         (casinh_test): Likewise.
57672         (catan_test): Likewise.
57673         (catanh_test): Likewise.
57674         (cbrt_test): Likewise.
57675         (ccos_test): Likewise.
57676         (ccosh_test): Likewise.
57677         (cexp_test): Likewise.
57678         (clog_test): Likewise.
57679         (clog10_test): Likewise.
57680         (cos_test): Likewise.
57681         (cos_test_tonearest): Likewise.
57682         (cos_test_towardzero): Likewise.
57683         (cos_test_downward): Likewise.
57684         (cos_test_upward): Likewise.
57685         (cosh_test): Likewise.
57686         (cosh_test_tonearest): Likewise.
57687         (cosh_test_towardzero): Likewise.
57688         (cosh_test_downward): Likewise.
57689         (cosh_test_upward): Likewise.
57690         (cpow_test): Likewise.
57691         (csin_test): Likewise.
57692         (csinh_test): Likewise.
57693         (csqrt_test): Likewise.
57694         (ctan_test): Likewise.
57695         (ctan_test_tonearest): Likewise.
57696         (ctan_test_towardzero): Likewise.
57697         (ctan_test_downward): Likewise.
57698         (ctan_test_upward): Likewise.
57699         (ctanh_test): Likewise.
57700         (ctanh_test_tonearest): Likewise.
57701         (ctanh_test_towardzero): Likewise.
57702         (ctanh_test_downward): Likewise.
57703         (ctanh_test_upward): Likewise.
57704         (erf_test): Likewise.
57705         (erfc_test): Likewise.
57706         (exp_test): Likewise.
57707         (exp_test_tonearest): Likewise.
57708         (exp_test_towardzero): Likewise.
57709         (exp_test_downward): Likewise.
57710         (exp_test_upward): Likewise.
57711         (exp10_test): Likewise.
57712         (exp2_test): Likewise.
57713         (expm1_test): Likewise.
57714         (fmod_test): Likewise.
57715         (gamma_test): Likewise.
57716         (hypot_test): Likewise.
57717         (j0_test): Likewise.
57718         (j1_test): Likewise.
57719         (jn_test): Likewise.
57720         (lgamma_test): Likewise.
57721         (log_test): Likewise.
57722         (log10_test): Likewise.
57723         (log1p_test): Likewise.
57724         (log2_test): Likewise.
57725         (logb_test_downward): Likewise.
57726         (pow_test): Likewise.
57727         (pow_test_tonearest): Likewise.
57728         (pow_test_towardzero): Likewise.
57729         (pow_test_downward): Likewise.
57730         (pow_test_upward): Likewise.
57731         (remainder_test): Likewise.
57732         (remquo_test): Likewise.
57733         (sin_test): Likewise.
57734         (sin_test_tonearest): Likewise.
57735         (sin_test_towardzero): Likewise.
57736         (sin_test_downward): Likewise.
57737         (sin_test_upward): Likewise.
57738         (sincos_test): Likewise.
57739         (sinh_test): Likewise.
57740         (sinh_test_tonearest): Likewise.
57741         (sinh_test_towardzero): Likewise.
57742         (sinh_test_downward): Likewise.
57743         (sinh_test_upward): Likewise.
57744         (sqrt_test): Likewise.
57745         (tan_test): Likewise.
57746         (tan_test_tonearest): Likewise.
57747         (tan_test_towardzero): Likewise.
57748         (tan_test_downward): Likewise.
57749         (tan_test_upward): Likewise.
57750         (tanh_test): Likewise.
57751         (tgamma_test): Likewise.
57752         (y0_test): Likewise.
57753         (y1_test): Likewise.
57754         (yn_test): Likewise.
57756         * math/gen-libm-test.pl (adjust_arg): Remove function.
57757         (special_function): Remove argument $in_func.  Only handle
57758         generating output for tables of tests, not inside functions.
57759         (parse_args): Likewise.
57760         (generate_testfile): Remove variable $in_func.  Update call to
57761         parse_args.
57762         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
57763         (MINUS_ZERO_INIT): Rename macro to minus_zero.
57764         (PLUS_INFTY_INIT): Rename macro to plus_infty.
57765         (MINUS_INFTY_INIT): Rename macro to minus_infty.
57766         (QNAN_VALUE_INIT): Rename macro to qnan_value.
57767         (MAX_VALUE_INIT): Rename macro to max_value.
57768         (MIN_VALUE_INIT): Rename macro to min_value.
57769         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
57770         (plus_zero): Remove variable.
57771         (minus_zero): Likewise.
57772         (plus_infty): Likewise.
57773         (minus_infty): Likewise.
57774         (qnan_value): Likewise.
57775         (max_value): Likewise.
57776         (min_value): Likewise.
57777         (min_subnorm_value): Likewise.
57779 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57781         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
57782         uint64_t or uint32_t usage.
57783         * crypt/sha256-block.c: Likewise.
57784         * crypt/sha256-crypt.c: Likewise.
57785         * crypt/sha256.c: Likewise.
57786         * crypt/sha512-block.c: Likewise.
57787         * crypt/sha512-crypt.c: Likewise.
57788         * crypt/sha512.c: Likewise.
57789         * debug/backtrace-tst.c: Likewise.
57790         * debug/pcprofiledump.c: Likewise.
57791         * elf/cache.c: Likewise.
57792         * elf/dl-cache.c: Likewise.
57793         * elf/dl-misc.c: Likewise.
57794         * elf/dl-profile.c: Likewise.
57795         * elf/dl-support.c: Likewise.
57796         * elf/ldconfig.c: Likewise.
57797         * elf/sprof.c: Likewise.
57798         * iconv/dummy-repertoire.c: Likewise.
57799         * iconv/iconv_charmap.c: Likewise.
57800         * iconv/skeleton.c: Likewise.
57801         * iconvdata/8bit-generic.c: Likewise.
57802         * iconvdata/cp737.h: Likewise.
57803         * iconvdata/cp775.h: Likewise.
57804         * iconvdata/ibm1008.h: Likewise.
57805         * iconvdata/ibm1025.h: Likewise.
57806         * iconvdata/ibm1046.h: Likewise.
57807         * iconvdata/ibm1097.h: Likewise.
57808         * iconvdata/ibm1112.h: Likewise.
57809         * iconvdata/ibm1122.h: Likewise.
57810         * iconvdata/ibm1123.h: Likewise.
57811         * iconvdata/ibm1124.h: Likewise.
57812         * iconvdata/ibm1129.h: Likewise.
57813         * iconvdata/ibm1130.h: Likewise.
57814         * iconvdata/ibm1132.h: Likewise.
57815         * iconvdata/ibm1133.h: Likewise.
57816         * iconvdata/ibm1137.h: Likewise.
57817         * iconvdata/ibm1140.h: Likewise.
57818         * iconvdata/ibm1141.h: Likewise.
57819         * iconvdata/ibm1142.h: Likewise.
57820         * iconvdata/ibm1143.h: Likewise.
57821         * iconvdata/ibm1144.h: Likewise.
57822         * iconvdata/ibm1145.h: Likewise.
57823         * iconvdata/ibm1146.h: Likewise.
57824         * iconvdata/ibm1147.h: Likewise.
57825         * iconvdata/ibm1148.h: Likewise.
57826         * iconvdata/ibm1149.h: Likewise.
57827         * iconvdata/ibm1153.h: Likewise.
57828         * iconvdata/ibm1154.h: Likewise.
57829         * iconvdata/ibm1155.h: Likewise.
57830         * iconvdata/ibm1156.h: Likewise.
57831         * iconvdata/ibm1157.h: Likewise.
57832         * iconvdata/ibm1158.h: Likewise.
57833         * iconvdata/ibm1160.h: Likewise.
57834         * iconvdata/ibm1161.h: Likewise.
57835         * iconvdata/ibm1162.h: Likewise.
57836         * iconvdata/ibm1163.h: Likewise.
57837         * iconvdata/ibm1164.h: Likewise.
57838         * iconvdata/ibm1166.h: Likewise.
57839         * iconvdata/ibm1167.h: Likewise.
57840         * iconvdata/ibm12712.h: Likewise.
57841         * iconvdata/ibm1390.h: Likewise.
57842         * iconvdata/ibm1399.h: Likewise.
57843         * iconvdata/ibm16804.h: Likewise.
57844         * iconvdata/ibm4517.h: Likewise.
57845         * iconvdata/ibm4899.h: Likewise.
57846         * iconvdata/ibm4909.h: Likewise.
57847         * iconvdata/ibm4971.h: Likewise.
57848         * iconvdata/ibm5347.h: Likewise.
57849         * iconvdata/ibm803.h: Likewise.
57850         * iconvdata/ibm856.h: Likewise.
57851         * iconvdata/ibm901.h: Likewise.
57852         * iconvdata/ibm902.h: Likewise.
57853         * iconvdata/ibm9030.h: Likewise.
57854         * iconvdata/ibm9066.h: Likewise.
57855         * iconvdata/ibm921.h: Likewise.
57856         * iconvdata/ibm922.h: Likewise.
57857         * iconvdata/ibm9448.h: Likewise.
57858         * iconvdata/isiri-3342.h: Likewise.
57859         * iconvdata/jis0201.h: Likewise.
57860         * include/link.h: Likewise.
57861         * include/netdb.h: Likewise.
57862         * inet/check_native.c: Likewise.
57863         * inet/check_pf.c: Likewise.
57864         * inet/getipv4sourcefilter.c: Likewise.
57865         * inet/getnameinfo.c: Likewise.
57866         * inet/getsourcefilter.c: Likewise.
57867         * inet/htonl.c: Likewise.
57868         * inet/setipv4sourcefilter.c: Likewise.
57869         * inet/setsourcefilter.c: Likewise.
57870         * inet/test-inet6_opt.c: Likewise.
57871         * inet/tst-network.c: Likewise.
57872         * locale/C-collate.c: Likewise.
57873         * locale/C-ctype.c: Likewise.
57874         * locale/C-time.c: Likewise.
57875         * locale/C-translit.h: Likewise.
57876         * locale/loadarchive.c: Likewise.
57877         * locale/programs/3level.h: Likewise.
57878         * locale/programs/charmap.c: Likewise.
57879         * locale/programs/charmap.h: Likewise.
57880         * locale/programs/ld-address.c: Likewise.
57881         * locale/programs/ld-collate.c: Likewise.
57882         * locale/programs/ld-ctype.c: Likewise.
57883         * locale/programs/ld-identification.c: Likewise.
57884         * locale/programs/ld-measurement.c: Likewise.
57885         * locale/programs/ld-messages.c: Likewise.
57886         * locale/programs/ld-monetary.c: Likewise.
57887         * locale/programs/ld-name.c: Likewise.
57888         * locale/programs/ld-numeric.c: Likewise.
57889         * locale/programs/ld-paper.c: Likewise.
57890         * locale/programs/ld-telephone.c: Likewise.
57891         * locale/programs/ld-time.c: Likewise.
57892         * locale/programs/linereader.c: Likewise.
57893         * locale/programs/locale.c: Likewise.
57894         * locale/programs/locarchive.c: Likewise.
57895         * locale/programs/locfile.h: Likewise.
57896         * locale/programs/repertoire.c: Likewise.
57897         * locale/programs/simple-hash.c: Likewise.
57898         * locale/programs/simple-hash.h: Likewise.
57899         * malloc/memusage.c: Likewise.
57900         * malloc/memusagestat.c: Likewise.
57901         * nis/nis_defaults.c: Likewise.
57902         * nis/nis_hash.c: Likewise.
57903         * nis/nis_print.c: Likewise.
57904         * nis/nis_xdr.c: Likewise.
57905         * nscd/connections.c: Likewise.
57906         * nscd/hstcache.c: Likewise.
57907         * nscd/nscd_gethst_r.c: Likewise.
57908         * nscd/nscd_getserv_r.c: Likewise.
57909         * nscd/nscd_helper.c: Likewise.
57910         * nscd/servicescache.c: Likewise.
57911         * nss/makedb.c: Likewise.
57912         * nss/nss_db/db-XXX.c: Likewise.
57913         * nss/nss_db/db-initgroups.c: Likewise.
57914         * nss/nss_db/db-netgrp.c: Likewise.
57915         * nss/nss_files/files-network.c: Likewise.
57916         * nss/nss_files/files-parse.c: Likewise.
57917         * posix/bug-regex5.c: Likewise.
57918         * posix/fnmatch_loop.c: Likewise.
57919         * posix/regcomp.c: Likewise.
57920         * posix/regexec.c: Likewise.
57921         * posix/tst-rfc3484-2.c: Likewise.
57922         * posix/tst-rfc3484-3.c: Likewise.
57923         * posix/tst-rfc3484.c: Likewise.
57924         * resolv/nss_dns/dns-canon.c: Likewise.
57925         * resolv/nss_dns/dns-network.c: Likewise.
57926         * resolv/res_init.c: Likewise.
57927         * resolv/res_mkquery.c: Likewise.
57928         * resolv/tst-aton.c: Likewise.
57929         * stdlib/cxa_atexit.c: Likewise.
57930         * stdlib/cxa_finalize.c: Likewise.
57931         * stdlib/gen-fpioconst.c: Likewise.
57932         * stdlib/strtol_l.c: Likewise.
57933         * string/tst-endian.c: Likewise.
57934         * sunrpc/auth_des.c: Likewise.
57935         * sunrpc/clnt_udp.c: Likewise.
57936         * sunrpc/rtime.c: Likewise.
57937         * sunrpc/svcauth_des.c: Likewise.
57938         * sunrpc/xdr.c: Likewise.
57939         * sunrpc/xdr_intXX_t.c: Likewise.
57940         * sunrpc/xdr_rec.c: Likewise.
57941         * sysdeps/generic/ldconfig.h: Likewise.
57942         * sysdeps/generic/ldsodefs.h: Likewise.
57943         * sysdeps/generic/memusage.h: Likewise.
57944         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57945         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
57946         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
57947         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57948         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57950         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57951         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57952         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57953         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57954         * sysdeps/posix/getaddrinfo.c: Likewise.
57955         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57956         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57957         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57958         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57959         * sysdeps/powerpc/test-gettimebase.c: Likewise.
57960         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
57961         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
57962         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
57963         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
57964         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
57965         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57966         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57967         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
57968         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
57969         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
57970         * sysdeps/x86_64/dl-tls.h: Likewise.
57971         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
57972         * time/alt_digit.c: Likewise.
57973         * time/era.c: Likewise.
57974         * wcsmbs/tst-c16c32-1.c: Likewise.
57976 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57978         * math/libm-test.inc (struct test_sincos_data): New type.
57979         (RUN_TEST_LOOP_sincos): New macro.
57980         (sincos_test_data): New variable.
57981         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
57983 2013-05-16  Richard Henderson  <rth@redhat.com>
57985         * math/atest-exp2.c (LIMB64): New macro.
57986         (CONSTSZ): New macro.
57987         (mp_exp1, mp_exp_m1, mp_log2): New variables.
57988         (hexdig): Move ...
57989         (print_mpn_fp): ... to function scope.
57990         (read_mpn_hex): Remove.
57991         (get_log2): Remove.
57992         (exp2_mpn): Use mp_log2.
57993         (main): Use mp_exp1.
57995 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57997         * math/libm-test.inc: Remove comment about not testing "inexact"
57998         exceptions.
57999         (INEXACT_EXCEPTION): New macro.
58000         (NO_INEXACT_EXCEPTION): Likewise.
58001         (INVALID_EXCEPTION_OK): Update value.
58002         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58003         (OVERFLOW_EXCEPTION_OK): Likewise.
58004         (UNDERFLOW_EXCEPTION_OK): Likewise.
58005         (IGNORE_ZERO_INF_SIGN): Likewise.
58006         (ERRNO_UNCHANGED): Likewise.
58007         (ERRNO_EDOM): Likewise.
58008         (ERRNO_ERANGE): Likewise.
58009         (test_exceptions): Handle testing "inexact" exceptions.
58010         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
58011         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
58012         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
58013         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
58014         INEXACT_EXCEPTION.
58015         (rint_towardzero_test_data): Likewise.
58016         (rint_downward_test_data): Likewise.
58017         (rint_upward_test_data): Likewise.
58019         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
58020         with OVERFLOW_EXCEPTION.
58021         (exp10_test_data): Likewise.
58022         (exp2_test_data): Likewise.
58023         (expm1_test_data): Likewise.
58024         (lgamma_test_data): Likewise.
58025         (pow_test_data): Likewise.
58026         (tgamma_test_data): Likewise.
58027         (yn_test_data): Remove duplicate test of overflow.
58029         * math/libm-test.inc (struct test_cc_c_data): New type.
58030         (RUN_TEST_LOOP_cc_c): New macro.
58031         (cpow_test_data): New variable.
58032         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58034         * math/libm-test.inc (struct test_f_L_data): New type.
58035         (RUN_TEST_LOOP_f_L): New macro.
58036         (llrint_test_data): New variable.
58037         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
58038         (llrint_tonearest_test_data): New variable.
58039         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58040         (llrint_towardzero_test_data): New variable.
58041         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
58042         (llrint_downward_test_data): New variable.
58043         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
58044         (llrint_upward_test_data): New variable.
58045         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
58046         (llround_test_data): New variable.
58047         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
58049 2013-05-13  Peter Collingbourne  <pcc@google.com>
58051         * math/atest-exp2.c (get_log2): Remove const attribute.
58053 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58055         * math/libm-test.inc (struct test_f_l_data): New type.
58056         (RUN_TEST_LOOP_f_l): New macro.
58057         (lrint_test_data): New variable.
58058         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58059         (lrint_tonearest_test_data): New variable.
58060         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58061         (lrint_towardzero_test_data): New variable.
58062         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58063         (lrint_downward_test_data): New variable.
58064         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58065         (lrint_upward_test_data): New variable.
58066         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58067         (lround_test_data): New variable.
58068         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58070 2013-05-15  Peter Collingbourne  <pcc@google.com>
58072         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58073         (EXTRACT_WORDS64) Use where appropriate.
58074         (INSERT_WORDS64) Likewise.
58076         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58077         constraints with x constraints.
58078         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58080         * malloc/obstack.c (_obstack_compat): Add initializer.
58082 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58084         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58085         si_trapno and add si_addr_lsb to _sifields.sigfault.
58086         (si_trapno): Remove macro.
58087         (si_addr_lsb): Define new macro.
58088         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58090 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58092         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58093         instead of TEST_f_l.
58094         (llrint_test_tonearest): Likewise.
58095         (llrint_test_towardzero): Likewise.
58096         (llrint_test_downward): Likewise.
58097         (llrint_test_upward): Likewise.
58098         (llround_test): Likewise.
58100         * math/libm-test.inc (struct test_f_i_data): Add comment.
58101         (RUN_TEST_LOOP_f_b): New macro.
58102         (RUN_TEST_LOOP_f_b_tg): Likewise.
58103         (finite_test_data): New variable.
58104         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58105         (isfinite_test_data): New variable.
58106         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58107         (isinf_test_data): New variable.
58108         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58109         (isnan_test_data): New variable.
58110         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58111         (isnormal_test_data): New variable.
58112         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58113         (issignaling_test_data): New variable.
58114         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58115         (signbit_test_data): New variable.
58116         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58118         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58119         with INVALID_EXCEPTION.
58120         (acosh_test_data): Likewise.
58121         (asin_test_data): Likewise.
58122         (atanh_test_data): Likewise.
58123         (fmod_test_data): Likewise.
58124         (log_test_data): Likewise.
58125         (log10_test_data): Likewise.
58126         (log2_test_data): Likewise.
58127         (pow_test_data): Likewise.
58128         (sqrt_test_data): Likewise.
58129         (y0_test_data): Likewise.
58130         (y1_test_data): Likewise.
58131         (yn_test_data): Likewise.
58133         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58134         function contents.
58136         * math/libm-test.inc (struct test_ff_i_data): New type.
58137         (RUN_TEST_LOOP_ff_i_tg): New macro.
58138         (isgreater_test_data): New variable.
58139         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58140         (isgreaterequal_test_data): New variable.
58141         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58142         (isless_test_data): New variable.
58143         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58144         (islessequal_test_data): New variable.
58145         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58146         (islessgreater_test_data): New variable.
58147         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58148         (isunordered_test_data): New variable.
58149         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58151 2013-05-14  David S. Miller  <davem@davemloft.net>
58153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58155 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58157         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58159         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58160         extra_test to int.
58161         (struct test_f_i_data): Change type of max_ulp to int.
58163         * math/libm-test.inc (test_ffI_f1_data): New type.
58164         (RUN_TEST_LOOP_ffI_f1): New macro.
58165         (remquo_test_data): New variable.
58166         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58168         * setjmp/tst-setjmp-fp.c: New file.
58169         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58170         (link-libm): New variable.
58171         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58173         * math/libm-test.inc (struct test_f_i_data): New type.
58174         (RUN_TEST_LOOP_f_i): New macro.
58175         (RUN_TEST_LOOP_f_i_tg): Likewise.
58176         (fpclassify_test_data): New variable.
58177         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58178         (ilogb_test_data): New variable.
58179         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58181         * math/libm-test.inc (scalbln_test): Correct function name in END
58182         call.
58184         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58185         (RUN_TEST_LOOP_fI_f1): New macro.
58186         (frexp_test_data): New variable.
58187         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58189         * math/libm-test.inc (struct test_fF_f1_data): New type.
58190         (RUN_TEST_LOOP_fF_f1): New macro.
58191         (modf_test_data): New variable.
58192         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58194         * math/libm-test.inc (struct test_f_f1_data): New type.
58195         (RUN_TEST_LOOP_f_f1): New macro.
58196         (gamma_test_data): New variable.
58197         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58198         (lgamma_test_data): New variable.
58199         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58201 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58203         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58204         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58205         (main): Comment "tls" pseudo-hwcap.
58207 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58209         * math/libm-test.inc (struct test_fl_f_data): New type.
58210         (RUN_TEST_LOOP_fl_f): New variable.
58211         (scalbln_test_data): New variable.
58212         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58214         * math/libm-test.inc (struct test_fi_f_data): New type.
58215         (RUN_TEST_LOOP_fi_f): New macro.
58216         (ldexp_test_data): New variable.
58217         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58218         (scalbn_test_data): New variable.
58219         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58221         * math/libm-test.inc (struct test_c_f_data): New type.
58222         (RUN_TEST_LOOP_c_f): New macro.
58223         (cabs_test_data): New variable.
58224         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58225         (carg_test_data): New variable.
58226         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58227         (cimag_test_data): New variable.
58228         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58229         (creal_test_data): New variable.
58230         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58232         * math/libm-test.inc (struct test_if_f_data): New type.
58233         (RUN_TEST_LOOP_if_f): New macro.
58234         (jn_test_data): New variable.
58235         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58236         (yn_test_data): New variable.
58237         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58239         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58241 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58243         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58244         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58246 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58248         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58249         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58250         (bench-deps): Add bench-timing.h.
58251         * benchtests-bench-skeleton.c: Include bench-timing.h.
58252         (main): Use TIMING_* macros instead of clock_gettime.
58253         * benchtests/bench-timing.h: New file.
58255         [BZ #14582]
58256         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58257         Renamed from _LIB_VERSION.
58258         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58260 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58262         * math/libm-test.inc (struct test_fff_f_data): New type.
58263         (RUN_TEST_LOOP_fff_f): New macro.
58264         (fma_test_data): New variable.
58265         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58266         (fma_towardzero_test_data): New variable.
58267         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58268         (fma_downward_test_data): New variable.
58269         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58270         (fma_upward_test_data): New variable.
58271         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58273         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58274         (struct test_c_c_data): New type.
58275         (RUN_TEST_LOOP_c_c): New macro.
58276         (cacos_test_data): New variable.
58277         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58278         (cacosh_test_data): New variable.
58279         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58280         (casin_test_data): New variable.
58281         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58282         (casinh_test_data): New variable.
58283         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58284         (catan_test_data): New variable.
58285         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58286         (catanh_test_data): New variable.
58287         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58288         (ccos_test_data): New variable.
58289         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58290         (ccosh_test_data): New variable.
58291         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58292         (cexp_test_data): New variable.
58293         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58294         (clog_test_data): New variable.
58295         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58296         (clog10_test_data): New variable.
58297         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58298         (conj_test_data): New variable.
58299         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58300         (cproj_test_data): New variable.
58301         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58302         (csin_test_data): New variable.
58303         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58304         (csinh_test_data): New variable.
58305         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58306         (csqrt_test_data): New variable.
58307         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58308         (ctan_test_data): New variable.
58309         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58310         (ctan_tonearest_test_data): New variable.
58311         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58312         (ctan_towardzero_test_data): New variable.
58313         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58314         (ctan_downward_test_data): New variable.
58315         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58316         (ctan_upward_test_data): New variable.
58317         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58318         (ctanh_test_data): New variable.
58319         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58320         (ctanh_tonearest_test_data): New variable.
58321         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58322         (ctanh_towardzero_test_data): New variable.
58323         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58324         (ctanh_downward_test_data): New variable.
58325         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58326         (ctanh_upward_test_data): New variable.
58327         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58328         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58329         of BUILD_COMPLEX.
58331         * math/libm-test.inc (struct test_ff_f_data): New type.
58332         (struct test_ff_f_data_nexttoward): Likewise.
58333         (RUN_TEST_LOOP_2_f): New macro.
58334         (RUN_TEST_LOOP_ff_f): Likewise.
58335         (atan2_test_data): New variable.
58336         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58337         (copysign_test_data): New variable.
58338         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58339         (fdim_test_data): New variable.
58340         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58341         (fmax_test_data): New variable.
58342         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58343         (fmin_test_data): New variable.
58344         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58345         (fmod_test_data): New variable.
58346         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58347         (hypot_test_data): New variable.
58348         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58349         (nextafter_test_data): New variable.
58350         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58351         (nexttoward_test_data): New variable.
58352         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58353         (pow_test_data): New variable.
58354         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58355         (pow_tonearest_test_data): New variable.
58356         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58357         (pow_towardzero_test_data): New variable.
58358         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58359         (pow_downward_test_data): New variable.
58360         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58361         (pow_upward_test_data): New variable.
58362         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58363         (remainder_test_data): New variable.
58364         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58365         (scalb_test_data): New variable.
58366         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
58367         * sysdeps/i386/fpu/libm-test-ulps: Update.
58369 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
58371         * math/libm-test.inc (fma_test): Use max_value instead of local
58372         variable fltmax.
58373         (nextafter_test): Likewise.
58375         * math/libm-test.inc (acos_towardzero_test_data): New variable.
58376         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58377         (acos_downward_test_data): New variable.
58378         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58379         (acos_upward_test_data): New variable.
58380         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58381         (acosh_test_data): New variable.
58382         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
58383         (asin_test_data): New variable.
58384         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
58385         (asin_tonearest_test_data): New variable.
58386         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58387         (asin_towardzero_test_data): New variable.
58388         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58389         (asin_downward_test_data): New variable.
58390         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58391         (asin_upward_test_data): New variable.
58392         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58393         (asinh_test_data): New variable.
58394         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
58395         (atan_test_data): New variable.
58396         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
58397         (atanh_test_data): New variable.
58398         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
58399         (cbrt_test_data): New variable.
58400         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
58401         (ceil_test_data): New variable.
58402         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
58403         (cos_test_data): New variable.
58404         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
58405         (cos_tonearest_test_data): New variable.
58406         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58407         (cos_towardzero_test_data): New variable.
58408         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58409         (cos_downward_test_data): New variable.
58410         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58411         (cos_upward_test_data): New variable.
58412         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58413         (cosh_test_data): New variable.
58414         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
58415         (cosh_tonearest_test_data): New variable.
58416         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58417         (cosh_towardzero_test_data): New variable.
58418         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58419         (cosh_downward_test_data): New variable.
58420         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58421         (cosh_upward_test_data): New variable.
58422         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58423         (erf_test_data): New variable.
58424         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
58425         (erfc_test_data): New variable.
58426         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
58427         (exp_test_data): New variable.
58428         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
58429         (exp_tonearest_test_data): New variable.
58430         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58431         (exp_towardzero_test_data): New variable.
58432         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58433         (exp_downward_test_data): New variable.
58434         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58435         (exp_upward_test_data): New variable.
58436         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58437         (exp10_test_data): New variable.
58438         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
58439         (exp2_test_data): New variable.
58440         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
58441         (expm1_test_data): New variable.
58442         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
58443         (fabs_test_data): New variable.
58444         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
58445         (floor_test_data): New variable.
58446         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
58447         (j0_test_data): New variable.
58448         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
58449         (j1_test_data): New variable.
58450         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
58451         (log_test_data): New variable.
58452         (log_test): Run tests with RUN_TEST_LOOP_f_f.
58453         (log10_test_data): New variable.
58454         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
58455         (log1p_test_data): New variable.
58456         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
58457         (log2_test_data): New variable.
58458         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
58459         (logb_test_data): New variable.
58460         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
58461         (logb_downward_test_data): New variable.
58462         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58463         (nearbyint_test_data): New variable.
58464         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
58465         (rint_test_data): New variable.
58466         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
58467         (rint_tonearest_test_data): New variable.
58468         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58469         (rint_towardzero_test_data): New variable.
58470         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58471         (rint_downward_test_data): New variable.
58472         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58473         (rint_upward_test_data): New variable.
58474         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58475         (round_test_data): New variable.
58476         (round_test): Run tests with RUN_TEST_LOOP_f_f.
58477         (sin_test_data): New variable.
58478         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
58479         (sin_tonearest_test_data): New variable.
58480         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58481         (sin_towardzero_test_data): New variable.
58482         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58483         (sin_downward_test_data): New variable.
58484         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58485         (sin_upward_test_data): New variable.
58486         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58487         (sinh_test_data): New variable.
58488         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
58489         (sinh_tonearest_test_data): New variable.
58490         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58491         (sinh_towardzero_test_data): New variable.
58492         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58493         (sinh_downward_test_data): New variable.
58494         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58495         (sinh_upward_test_data): New variable.
58496         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58497         (sqrt_test_data): New variable.
58498         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
58499         (tan_test_data): New variable.
58500         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
58501         (tan_tonearest_test_data): New variable.
58502         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58503         (tan_towardzero_test_data): New variable.
58504         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58505         (tan_downward_test_data): New variable.
58506         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58507         (tan_upward_test_data): New variable.
58508         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58509         (tanh_test_data): New variable.
58510         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
58511         (tgamma_test_data): New variable.
58512         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
58513         (trunc_test_data): New variable.
58514         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
58515         (y0_test_data): New variable.
58516         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
58517         (y1_test_data): New variable.
58518         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
58519         (significand_test_data): New variable.
58520         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
58522 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
58524         [BZ #12387]
58525         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
58527 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58529         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
58531 2013-05-10  Andreas Jaeger  <aj@suse.de>
58533         [BZ #15448]
58534         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
58535         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
58537 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
58539         * math/gen-libm-test.pl (adjust_arg): New function.
58540         (special_functions): Handle generating output in both functions
58541         and arrays.
58542         (parse_args): Likewise.
58543         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
58544         $in_func argument to parse_args.
58545         * math/libm-test.inc (struct test_f_f_data): New type.
58546         (IF_ROUND_INIT_): New macro.
58547         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
58548         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58549         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58550         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58551         (ROUND_RESTORE_): Likewise.
58552         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
58553         (ROUND_RESTORE_FE_TONEAREST): Likewise.
58554         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
58555         (ROUND_RESTORE_FE_UPWARD): Likewise.
58556         (RUN_TEST_LOOP_f_f): New macro.
58557         (acos_test_data): New variable.
58558         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
58559         (acos_tonearest_test_data): New variable.
58560         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58562 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58564         * benchtests/bench-skeleton.c (startup): Fix coding style.
58566 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
58568         [BZ #6809]
58569         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
58570         negative infinity argument.
58571         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
58572         negative infinity argument.
58573         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
58574         negative infinity argument.
58575         * math/libm-test.inc (tgamma_test): Expect errno to be set for
58576         domain errors.
58578 2013-05-10  Florian Weimer  <fweimer@redhat.com>
58580         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
58581         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
58582         * iconv/iconv_prog.c (main): Likewise.
58583         * locale/programs/charmap-dir.c (charmap_readdir)
58584         (fopen_uncompressed): Likewise.
58585         * locale/programs/locfile.c (siblings_uncached)
58586         (write_locale_data): Use lstat64 instead of lstat.
58587         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
58588         stat.
58590 2013-05-10  Andreas Jaeger  <aj@suse.de>
58592         [BZ #15395]
58593         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
58594         localization.
58595         Include <locale.h>.
58597 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
58599         * elf/dl-close.c (_dl_close_worker): Add comments.
58601 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
58603         [BZ #15359]
58604         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
58605         high part of pi/2.
58606         (__ieee754_rem_pio2l): Update comments.
58608         [BZ #15429]
58609         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
58610         high part of pi/2.
58611         (__ieee754_rem_pio2l): Update comments.
58613         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
58614         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
58616         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
58617         M_PI_4l.
58619         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
58620         (M_PI_34_LOG10El): Likewise.
58621         (M_PI2_LOG10El): Likewise.
58622         (M_PI4_LOG10El): Likewise.
58623         (M_PI_LOG10El): Likewise.
58625 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58629 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
58631         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
58632         (MINUS_ZERO_INIT): Likewise.
58633         (PLUS_INFTY_INIT): Likewise.
58634         (MINUS_INFTY_INIT): Likewise.
58635         (QNAN_VALUE_INIT): Likewise.
58636         (MAX_VALUE_INIT): Likewise.
58637         (MIN_VALUE_INIT): Likewise.
58638         (MIN_SUBNORM_VALUE_INIT): Likewise.
58639         (plus_zero): Initialize with PLUS_ZERO_INIT.
58640         (minus_zero): Initialize with MINUS_ZERO_INIT.
58641         (plus_infty): Initialize with PLUS_INFTY_INIT.
58642         (minus_infty): Initialize with MINUS_INFTY_INIT.
58643         (qnan_value): Initialize with QNAN_VALUE_INIT.
58644         (max_value): Initialize with MAX_VALUE_INIT.
58645         (min_value): Initialize with MIN_VALUE_INIT.
58646         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
58648         * math/libm-test.inc (RUN_TEST_if_f): New macro.
58649         (jn_test): Use TEST_if_f instead of TEST_ff_f.
58650         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
58651         (yn_test): Use TEST_if_f instead of TEST_ff_f.
58653         * math/libm-test.inc (RUN_TEST_f_f): New macro.
58654         (RUN_TEST_2_f): Likewise.
58655         (RUN_TEST_ff_f): Likewise.
58656         (RUN_TEST_fi_f): Likewise.
58657         (RUN_TEST_fl_f): Likewise.
58658         (RUN_TEST_fff_f): Likewise.
58659         (RUN_TEST_c_f): Likewise.
58660         (RUN_TEST_f_f1): Likewise.
58661         (RUN_TEST_fF_f1): Likewise.
58662         (RUN_TEST_fI_f1): Likewise.
58663         (RUN_TEST_ffI_f1): Likewise.
58664         (RUN_TEST_c_c): Likewise.
58665         (RUN_TEST_cc_c): Likewise.
58666         (RUN_TEST_f_i): Likewise.
58667         (RUN_TEST_f_i_tg): Likewise.
58668         (RUN_TEST_ff_i_tg): Likewise.
58669         (RUN_TEST_f_b): Likewise.
58670         (RUN_TEST_f_b_tg): Likewise.
58671         (RUN_TEST_f_l): Likewise.
58672         (RUN_TEST_f_L): Likewise.
58673         (RUN_TEST_sincos): Likewise.
58674         * math/gen-libm-test.pl (new_test): Take new argument to indicate
58675         whether to show exceptions.  Do not include ");\n" in return
58676         value.
58677         (special_functions): Output call to RUN_TEST_sincos instead of
58678         check_float calls.  Update calls to new_test.
58679         (parse_args): Output call to single RUN_TEST_* macro instead of
58680         check_* calls and other assignments.  Update calls to new_test.
58682         [BZ #2546]
58683         [BZ #2560]
58684         [BZ #5159]
58685         [BZ #15426]
58686         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
58687         input to result for tgamma overflow.
58688         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
58689         (gamma_coeff): New variable.
58690         (NCOEFF): New macro.
58691         (gamma_positive): New function.
58692         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
58693         underflow here.  Use gamma_positive instead of exp (lgamma) for
58694         other arguments.
58695         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
58696         (gamma_coeff): New variable.
58697         (NCOEFF): New macro.
58698         (gammaf_positive): New function.
58699         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
58700         underflow here.  Use gamma_positive instead of exp (lgamma) for
58701         other arguments.
58702         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
58703         (gamma_coeff): New variable.
58704         (NCOEFF): New macro.
58705         (gammal_positive): New function.
58706         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
58707         underflow here.  Use gamma_positive instead of exp (lgamma) for
58708         other arguments.
58709         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
58710         (gamma_coeff): New variable.
58711         (NCOEFF): New macro.
58712         (gammal_positive): New function.
58713         (__ieee754_gammal_r): Handle positive infinity, overflow and
58714         underflow here.  Handle NaN the same as positive infinity.  Remove
58715         check x < 0xffffffff for negative integers.  Use gamma_positive
58716         instead of exp (lgamma) for other arguments.
58717         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
58718         (gamma_coeff): New variable.
58719         (NCOEFF): New macro.
58720         (gammal_positive): New function.
58721         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
58722         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
58723         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
58724         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
58725         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
58726         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
58727         * sysdeps/generic/math_private.h (__gamma_productf): New
58728         prototype.
58729         (__gamma_product): Likewise.
58730         (__gamma_productl): Likewise.
58731         * math/Makefile (libm-calls): Add gamma_product.
58732         * math/libm-test.inc (tgamma_test): Add more tests.
58733         * sysdeps/i386/fpu/libm-test-ulps: Update.
58734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58736 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
58738         * benchtests/bench-skeleton.c (main): Preheat CPU.
58740 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
58742         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
58744 2013-05-07  Roland McGrath  <roland@hack.frob.com>
58746         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
58747         and _dl_skip_args_internal.
58749 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
58751         * manual/message.texi (Message Translation): Talk about users.
58752         Message to key mapping impacts design.
58754 2013-05-06  Roland McGrath  <roland@hack.frob.com>
58756         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
58758         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
58760         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
58761         * sysdeps/wordsize-64/glob64.c: ... here.
58763         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
58764         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
58765         New macros.
58767         * debug/getlogin_r_chk.c: Moved to ...
58768         * login/getlogin_r_chk.c: ... here.
58769         * debug/Makefile (routines): Move getlogin_r_chk to ...
58770         * login/Makefile (routines): ... here.
58771         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
58772         * login/Versions (libc: GLIBC_2.4): ... here.
58774         * io/poll.c (__poll): Renamed from poll.
58775         Add libc_hidden_def.
58776         (poll): Define as weak alias.
58778         * debug/ptsname_r_chk.c: Moved to ...
58779         * login/ptsname_r_chk.c: ... here.
58780         * debug/Makefile (routines): Move ptsname_r_chk to ...
58781         * login/Makefile (routines): ... here.
58782         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
58783         * login/Versions (libc: GLIBC_2.4): ... here.
58785         * posix/getlogin.c: Moved to ...
58786         * login/getlogin.c: ... here.
58787         * posix/getlogin_r.c: Moved to ...
58788         * login/getlogin_r.c: ... here.
58789         * posix/getlogin_r.c: Moved to ...
58790         * login/getlogin_r.c: ... here.
58791         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
58792         * login/Makefile (routines): ... here.
58793         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
58794         * login/Versions (libc: GLIBC_2.0): ... here.
58796         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
58797         (setrlimit): Define as weak alias.
58799         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
58800         Call __ names for open, ftruncate, and close.
58801         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
58802         (truncate): Define as weak alias.
58804 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
58806         * math/gen-libm-test.pl (parse_args): Initialize x before each
58807         test of frexp, modf and remquo.
58809         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
58810         test signgam value.
58812 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58814         [BZ #15418]
58815         [BZ #15419]
58816         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
58817         internal tests.
58818         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58820 2013-05-06  Roland McGrath  <roland@hack.frob.com>
58822         * elf/dl-writev.h: New file.
58823         * elf/dl-misc.c: Include it.
58824         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
58825         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
58827 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
58829         * math/libm-test.inc (noXFails): Remove variable.
58830         (noXPasses): Likewise.
58831         (BUILD_COMPLEX_INT): Remove macro.
58832         (print_screen): Remove xfail argument.
58833         (print_screen_max_error): Likewise.
58834         (update_stats): Likewise.
58835         (print_max_error): Likewise.  Update calls to other affected
58836         functions.
58837         (print_complex_max_error): Likewise.
58838         (test_single_exception): Update calls to print_screen.
58839         (test_single_errno): Likewise.
58840         (check_float_internal): Remove xfail argument.  Update calls to
58841         other affected functions.
58842         (check_float): Likewise.
58843         (check_complex): Likewise.
58844         (check_int): Likewise.
58845         (check_long): Likewise.
58846         (check_bool): Likewise.
58847         (check_longlong): Likewise.
58848         (main): Don't print noXFails and noXPasses.
58849         * math/gen-libm-test.pl (top level): Don't mention expected
58850         failure handling in comment.
58851         (new_test): Don't handle expected failures.
58852         (parse_args): Don't mention expected failure handling in comment.
58853         (generate_testfile): Don't handle expected failures.
58854         (parse_ulps): Likewise.
58855         (print_ulps_file): Likewise.
58856         (get_failure): Remove function.
58857         (output_test): Don't handle expected failures.
58858         * make/README.libm-test: Don't mention expected failure handling.
58860         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
58861         (minus_zero): Likewise.
58862         (plus_infty): Likewise.
58863         (minus_infty): Likewise.
58864         (qnan_value): Likewise.
58865         (max_value): Likewise.
58866         (min_value): Likewise.
58867         (min_subnorm_value): Likewise.
58868         (initialize): Do not initialize those variables dynamically.
58870 2013-05-03  Roland McGrath  <roland@hack.frob.com>
58872         * io/open.c (__open_2): Moved to ...
58873         * io/open_2.c: ... this new file.
58874         * io/open64.c (__open64_2): Moved to ...
58875         * io/open64_2.c: ... this new file.
58876         * io/openat.c (__openat_2): Moved to ...
58877         * io/openat_2.c: ... this new file.
58878         * io/openat64.c (__openat64_2): Moved to ...
58879         * io/openat64_2.c: ... this new file.
58880         * io/Makefile (routines): Add them.
58881         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
58882         * sysdeps/unix/sysv/linux/open_2.c: File removed.
58883         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
58884         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
58885         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
58886         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
58887         (__openat64): Add hidden_ver.
58888         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
58889         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
58891         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
58892         Separately conditionalize setting of GLRO(dl_sysinfo) so
58893         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
58894         as well, but the actual setting is only under [NEED_DL_SYSINFO].
58896 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58898         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
58899         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
58900         definition.
58901         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
58902         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58903         (_libc_vdso_platform_setup): Add __vdso_time initialization.
58904         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
58905         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
58907 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
58909         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
58910         test signgam value.
58912         * math/libm-test.inc (hypot_test): Do not use
58913         IGNORE_ZERO_INF_SIGN.
58915 2013-05-03  Andreas Jaeger  <aj@suse.de>
58917         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
58918         Linux 3.9.
58919         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
58920         (PF_MAX): Adjust for VSOCK change.
58922 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58926 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
58928         [BZ #15264]
58929         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
58930         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
58931         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
58933 2013-05-02  David S. Miller  <davem@davemloft.net>
58935         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58937 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
58939         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
58941 2013-05-01  Roland McGrath  <roland@hack.frob.com>
58943         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
58945 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
58947         [BZ #14952]
58948         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
58949         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58950         Use __attribute__ ((__gnu_inline__)).
58951         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58952         Don't use __attribute__ ((__gnu_inline__)).
58954 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
58956         [BZ #15423]
58957         * math/s_catan.c (__catan): Handle small real or imaginary part of
58958         input specially to avoid spurious underflow.
58959         * math/s_catanf.c (__catanf): Likewise.
58960         * math/s_catanh.c (__catanh): Likewise.
58961         * math/s_catanhf.c (__catanhf): Likewise.
58962         * math/s_catanhl.c (__catanhl): Likewise.
58963         * math/s_catanl.c (__catanl): Likewise.
58964         * math/libm-test.inc (catan_test): Add more tests.
58965         (catanh_test): Likewise.
58966         * sysdeps/i386/fpu/libm-test-ulps: Update.
58967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58969 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58973 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
58975         [BZ #15416]
58976         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
58977         accurately for denominator in atan2.
58978         * math/s_catanf.c (__catanf): Likewise.
58979         * math/s_catanh.c (__catanh): Likewise.
58980         * math/s_catanhf.c (__catanhf): Likewise.
58981         * math/s_catanhl.c (__catanhl): Likewise.
58982         * math/s_catanl.c (__catanl): Likewise.
58983         * math/libm-test.inc (catan_test): Add more tests.
58984         (catanh_test): Likewise.
58985         * sysdeps/i386/fpu/libm-test-ulps: Update.
58986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58988 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58990         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
58992         * benchtests/Makefile (bench): Remove slow benchmarks.
58993         * benchtests/atan-inputs: Add slow benchmark inputs.
58994         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
58995         (BENCH_FUNC): Accept variant offset.
58996         (VARIANT): Define.
58997         * benchtests/bench-skeleton.c (main): Run benchmark for each
58998         variant.
58999         * benchtests/cos-inputs: Add slow benchmark inputs.
59000         * benchtests/exp-inputs: Likewise.
59001         * benchtests/pow-inputs: Likewise.
59002         * benchtests/sin-inputs: Likewise.
59003         * benchtests/slowatan-inputs: Remove.
59004         * benchtests/slowatan.c: Remove.
59005         * benchtests/slowcos-inputs: Remove.
59006         * benchtests/slowcos.c: Remove.
59007         * benchtests/slowexp-inputs: Remove.
59008         * benchtests/slowexp.c: Remove.
59009         * benchtests/slowpow-inputs: Remove.
59010         * benchtests/slowpow.c: Remove.
59011         * benchtests/slowsin-inputs: Remove.
59012         * benchtests/slowsin.c: Remove.
59013         * benchtests/slowtan-inputs: Remove.
59014         * benchtests/slowtan.c: Remove.
59015         * benchtests/tan-inputs: Add slow benchmark inputs.
59016         * scripts/bench.pl: Parse comments and directives.
59018         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
59019         in CPPFLAGS.
59020         ($(objpfx)bench-%.c): Remove *-ITER.
59021         * benchtests/bench-modf.c: Remove definition of ITER.
59022         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
59023         (main): Loop for DURATION seconds instead of fixed number of
59024         iterations.
59025         * scripts/bench.pl: Don't expect iterations in parameters.
59027 2013-04-29  Roland McGrath  <roland@hack.frob.com>
59029         * io/fchdir.c (__fchdir): Renamed from fchdir.
59030         (fchdir): Define as weak alias.
59032 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59034         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
59035         (ERRNO_EDOM): Likewise.
59036         (ERRNO_ERANGE): Likewise.
59037         (noErrnoTests): New variable.
59038         (init_max_error): Set errno to 0.
59039         (test_single_errno): New function.
59040         (test_errno): Likewise.
59041         (check_float_internal): Call test_errno.  Set errno to 0.
59042         (check_complex): Refer to errno tests in comment.
59043         (check_int): Call test_errno.  Set errno to 0.
59044         (check_long): Likewise.
59045         (check_bool): Likewise.
59046         (check_longlong): Likewise.
59047         (cos_test): Use ERRNO_* flags for errno tests instead of
59048         check_int.
59049         (expm1_test): Likewise.
59050         (fmod_test): Likewise.
59051         (ilogb_test): Likewise.
59052         (lgamma_test): Likewise.
59053         (pow_test): Likewise.
59054         (remainder_test): Likewise.
59055         (sin_test): Likewise.
59056         (tan_test): Likewise.
59057         (yn_test): Likewise.
59058         (initialize): Set errno to 0.
59059         (main): Print number of errno tests.
59060         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59062 2013-04-29  Andreas Jaeger  <aj@suse.de>
59064         [BZ #15084]
59065         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59066         and RES_USEVC.
59068         [BZ #15085]
59069         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59070         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59071         unimplemented.
59073         [BZ #15380]
59074         * stdlib/random.c (__initstate): Return NULL if
59075         __initstate fails.
59077         [BZ #15086]
59078         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59079         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59080         RES_SNGLKUPREOP.
59082 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59086 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59088         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59089         of individual tests.
59090         (casin_test): Likewise.
59091         (casinh_test): Likewise.
59093 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59095         [BZ #15409]
59096         * math/s_catan.c (__catan): Handle arguments with large real or
59097         imaginary part separately without squaring.
59098         * math/s_catanf.c (__catanf): Likewise.
59099         * math/s_catanh.c (__catanh): Likewise.
59100         * math/s_catanhf.c (__catanhf): Likewise.
59101         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59102         and redefine.
59103         (__catanhl): Handle arguments with large real or imaginary part
59104         separately without squaring.
59105         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59106         and redefine.
59107         (__catanl): Handle arguments with large real or imaginary part
59108         separately without squaring.
59109         * math/libm-test.inc (catan_test): Add more tests.
59110         (catanh_test): Likewise.
59111         * sysdeps/i386/fpu/libm-test-ulps: Update.
59112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59114 2013-04-27  Andreas Jaeger  <aj@suse.de>
59116         [BZ #15007]
59117         * stdlib/stdlib.h: Update guards for qecvt.
59118         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59119         <stdlib.h>.
59121 2013-04-27  Allan McRae  <allan@archlinux.org>
59123         * sysdeps/i386/fpu/libm-test-ulps: Update.
59125 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59127         [BZ #15406]
59128         * math/s_catan.c: Include <float.h>.
59129         (__catan): Ensure underflow exception occurs for underflowed
59130         result.
59131         * math/s_catanf.c: Include <float.h>.
59132         (__catanf): Ensure underflow exception occurs for underflowed
59133         result.
59134         * math/s_catanh.c: Include <float.h>.
59135         (__catanh): Ensure underflow exception occurs for underflowed
59136         result.
59137         * math/s_catanhf.c: Include <float.h>.
59138         (__catanhf): Ensure underflow exception occurs for underflowed
59139         result.
59140         * math/s_catanhl.c: Include <float.h>.
59141         (__catanhl): Ensure underflow exception occurs for underflowed
59142         result.
59143         * math/s_catanl.c: Include <float.h>.
59144         (__catanl): Ensure underflow exception occurs for underflowed
59145         result.
59146         * math/libm-test.inc (catan_test): Add more tests.
59147         (catanh_test): Likewise.
59149         [BZ #15405]
59150         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59151         underflowed result.
59152         * math/s_ccoshf.c (__ccoshf): Likewise.
59153         * math/s_ccoshl.c (__ccoshl): Likewise.
59154         * math/s_csin.c (__csin): Likewise.
59155         * math/s_csinf.c (__csinf): Likewise.
59156         * math/s_csinh.c (__csinh): Likewise.
59157         * math/s_csinhf.c (__csinhf): Likewise.
59158         * math/s_csinhl.c (__csinhl): Likewise.
59159         * math/s_csinl.c (__csinl): Likewise.
59160         * math/libm-test.inc (ccos_test): Add more tests.
59161         (ccosh_test): Likewise.
59162         (csin_test): Likewise.
59163         (csinh_test): Likewise.
59165 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59167         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59168         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59169         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59170         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59171         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59172         powerpc/power5+/fpu folders.
59173         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59176 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59180 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59182         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59183         additions to variable.
59184         [$(config-machine) = x86_64] (modules-names): Likewise.
59185         ($(objpfx)tst-audit3): Remove dependency.
59186         ($(objpfx)tst-audit3.out): Likewise.
59187         ($(objpfx)tst-audit4): Likewise.
59188         ($(objpfx)tst-audit4.out): Likewise.
59189         ($(objpfx)tst-audit5): Likewise.
59190         ($(objpfx)tst-audit5.out): Likewise.
59191         ($(objpfx)tst-audit6): Likewise.
59192         ($(objpfx)tst-audit6.out): Likewise.
59193         ($(objpfx)tst-audit7): Likewise.
59194         ($(objpfx)tst-audit7.out): Likewise.
59195         (tst-audit3-ENV): Remove variable.
59196         (tst-audit4-ENV): Likewise.
59197         (tst-audit5-ENV): Likewise.
59198         (tst-audit6-ENV): Likewise.
59199         (tst-audit7-ENV): Likewise.
59200         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59201         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59202         addition to variable.
59203         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59204         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59205         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59206         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59207         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59208         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59209         tst-audit3, tst-audit4 and tst-audit5.
59210         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59211         tst-audit6 and tst-audit7.
59212         [$(subdir) = elf] (modules-names): Add audit modules for those
59213         tests.
59214         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59215         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59216         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59217         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59218         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59219         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59220         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59221         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59222         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59223         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59224         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59225         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59226         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59227         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59228         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59229         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59230         Likewise.
59231         [$(subdir) = elf && $(config-cflags-avx) = yes]
59232         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59233         [$(subdir) = elf && $(config-cflags-avx) = yes]
59234         (CFLAGS-tst-auditmod4a.c): Likewise.
59235         [$(subdir) = elf && $(config-cflags-avx) = yes]
59236         (CFLAGS-tst-auditmod4b.c): Likewise.
59237         [$(subdir) = elf && $(config-cflags-avx) = yes]
59238         (CFLAGS-tst-auditmod6b.c): Likewise.
59239         [$(subdir) = elf && $(config-cflags-avx) = yes]
59240         (CFLAGS-tst-auditmod6c.c): Likewise.
59241         [$(subdir) = elf && $(config-cflags-avx) = yes]
59242         (CFLAGS-tst-auditmod7b.c): Likewise.
59243         * elf/tst-audit3.c: Move to ...
59244         * sysdeps/x86_64/tst-audit3.c: ... here.
59245         * elf/tst-audit4.c: Move to ...
59246         * sysdeps/x86_64/tst-audit4.c: ... here.
59247         * elf/tst-audit5.c: Move to ...
59248         * sysdeps/x86_64/tst-audit5.c: ... here.
59249         * elf/tst-audit6.c: Move to ...
59250         * sysdeps/x86_64/tst-audit6.c: ... here.
59251         * elf/tst-audit7.c: Move to ...
59252         * sysdeps/x86_64/tst-audit7.c: ... here.
59253         * elf/tst-auditmod3a.c: Move to ...
59254         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59255         * elf/tst-auditmod3b.c: Move to ...
59256         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59257         * elf/tst-auditmod4a.c: Move to ...
59258         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59259         * elf/tst-auditmod4b.c: Move to ...
59260         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59261         * elf/tst-auditmod5a.c: Move to ...
59262         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59263         * elf/tst-auditmod5b.c: Move to ...
59264         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59265         * elf/tst-auditmod6a.c: Move to ...
59266         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59267         * elf/tst-auditmod6b.c: Move to ...
59268         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59269         * elf/tst-auditmod6c.c: Move to ...
59270         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59271         * elf/tst-auditmod7a.c: Move to ...
59272         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59273         * elf/tst-auditmod7b.c: Move to ...
59274         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59276 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59278         [BZ #15366]
59279         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59280         define unconditionally.
59281         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59282         define unconditionally.
59283         (INT8_C, INT16_C, etc.): Likewise.
59285 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59287         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59288         __ehdr_start with hidden visibility.
59290         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59292 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59294         * math/libm-test.inc (cos_test): Use accurate hex constants.
59295         (sincost_test): Likewise.
59297 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59299         * math/libm-test.inc (catan_test): Add more tests.
59300         (catanh_test): Likewise.
59302         * math/s_catanf.c (__catanf): Use suffixed floating-point
59303         constants.
59304         * math/s_catanhf.c (__catanhf): Likewise.
59305         * math/s_catanhl.c (__catanhl): Likewise.
59306         * math/s_catanl.c (__catanl): Likewise.
59308         [BZ #15394]
59309         * math/s_catan.c (__catan): Calculate imaginary part of result
59310         with log1p not log unless computing log of number close to 0.
59311         * math/s_catanf.c (__catanf): Likewise.
59312         * math/s_catanl.c (__catanl): Likewise.
59313         * math/s_catanh.c (__catanh): Calculate real part of result with
59314         log1p not log unless computing log of number close to 0.
59315         * math/s_catanhf.c (__catanhf): Likewise.
59316         * math/s_catanhl.c (__catanhl): Likewise.
59317         * math/libm-test.inc (catan_test): Add more tests.
59318         (catanh_test): Likewise.
59319         * sysdeps/i386/fpu/libm-test-ulps: Update.
59320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59322 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59324         * benchtests/Makefile: Mention files in which fast and slow
59325         paths of math functions are implemented.
59327 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59329         * sysdeps/posix/timespec_get.c: New file.
59331 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59333         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59334         POWER.
59335         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59336         for POWER.
59337         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59338         powerpc/power5/fpu folders.
59339         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59340         * benchtests/Makefile: Add modf testcase.
59341         * benchtests/bench-modf.c: New file: Benchmark test for mo
59343 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59345         [BZ #14888]
59346         * time/Makefile (tests): Add tst-strptime-whitespace.
59347         * time/strptime_l.c (get_number): Use ISSPACE.
59348         (__strptime_internal): Likewise.
59349         * time/tst-strptime-whitespace.c: New test case.
59351 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
59353         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59354         member.
59355         (_nss_files_init): Set it here.
59357 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
59359         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59360         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59361         unsigned.
59363 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
59365         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
59367 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59369         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
59370         size just once.
59372 2013-04-21  David S. Miller  <davem@davemloft.net>
59374         * po/ru.po: Update Russion translation from translation project.
59376 2013-04-17  Adam Conrad  <adconrad@0c3.net>
59378         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
59379         and setfsgid.
59381 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
59383         * configure.in: Remove i386 configure warning. Remove i386 case.
59384         * configure: Regenerate.
59385         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
59386         Add example to error message.
59387         * sysdeps/i386/configure: Regenerate.
59389 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59391         * benchtests/Makefile (bench): Add cos, tan, slowcos and
59392         slowtan.
59393         * benchtests/cos-inputs: New file.
59394         * benchtests/slowcos-inputs: New file.
59395         * benchtests/slowcos.c: New file.
59396         * benchtests/slowtan-inputs: New file.
59397         * benchtests/slowtan.c: New file.
59398         * benchtests/tan-inputs: New file.
59400 2013-04-16  Roland McGrath  <roland@hack.frob.com>
59402         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
59403         considered kosher.
59405 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59407         * benchtests/Makefile: Include cppflags-iterator.mk to add
59408         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
59410         * Makefile.in (bench-clean): New target.
59411         * benchtests/Makefile (bench-clean): Likewise.
59413 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
59415         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
59417 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
59419         * stdio-common/tstdiomisc.c: Fix coding-style violation.
59421 2013-04-15  Andreas Schwab  <schwab@suse.de>
59423         * nscd/grpcache.c (cache_addgr): Properly check for short write.
59424         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59425         * nscd/pwdcache.c (cache_addpw): Likewise.
59426         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
59427         more than recsize.
59429 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59431         * benchtests/Makefile (bench): Write all output to
59432         bench-out.tmp together.
59434 2013-04-15  Andreas Schwab  <schwab@suse.de>
59436         * nscd/nscd.c (main): Don't fork again after closing files.
59438 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59440         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
59442         * benchtests/Rules (bench-deps): Collect dependencies into a
59443         single variable.  Add Makefile to dependencies.
59444         ($(objpfx)bench-%.c): Depend on bench-deps.
59446 2013-04-12  Roland McGrath  <roland@hack.frob.com>
59447             Xavier Roche  <roche+kml2@exalead.com>
59449         [BZ #15361]
59450         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
59451         just that it's a file descriptor.
59452         * manual/llio.texi (Synchronizing AIO Operations): Update description
59453         for EBADF error from aio_fsync.
59455 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59457         * Rules (bench): Move target definition...
59458         * benchtests/Makefile: ... here.
59460 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
59462         * math/libm-test.inc (cos_test): Fix PI/2 test.
59463         (sincos_test): Likewise.
59464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
59465         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
59467 2013-04-11  Andreas Schwab  <schwab@suse.de>
59469         [BZ #13988]
59470         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
59471         accept exponent character only when digits were seen.
59472         * stdio-common/Makefile (tests): Add bug26.
59473         * stdio-common/bug26.c: New file.
59475         [BZ #14293]
59476         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
59477         non-freeable.
59479 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59481         * Makeconfig (rtld-prefix): Define built linker prefix.
59482         * Rules (run-bench): Use it.
59483         * math/Makefile (run-regen-ulps): Likewise.
59485         * Rules (bench): Remove eval.
59487 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59488             Roland McGrath  <roland@hack.frob.com>
59489             Ondrej Bilka  <neleai@seznam.cz>
59491         [BZ #15346]
59492         * time/getdate.c: Include ctype.h and alloca.h.
59493         (__getdate_r): Trim leading and trailing spaces of input.
59494         * time/tst-getdate.c (tests): Add tests with leading and
59495         trailing spaces.
59497 2013-04-08  Roland McGrath  <roland@hack.frob.com>
59499         [BZ #14280]
59500         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
59501         when computing value.
59503 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59505         * math/README.libm-test (How can I generate "libm-test-ulps"?):
59506         Use testrun.sh to run libm tests.
59508         [BZ #15309]
59509         * elf/dl-open.c (dl_open_worker): memset all of seen array.
59511 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
59513         [BZ #15264]
59514         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
59516 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59518         * Makefile.in (regen-ulps): New target.
59519         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
59520         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
59521         [ifneq (no,$(PERL)] (regen-ulps): New target.
59522         [ifeq (no,$(PERL)] (regen-ulps): New target.
59523         * math/libm-test.inc (ulps_file_name): Define.
59524         (output_dir): New variable.
59525         (options): Add "output-dir" option.
59526         (parse_opt): Handle 'o' case.
59527         (main): If output_dir is non-NULL use it as a prefix
59528         otherwise use "".
59529         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
59531 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59533         [BZ #10060, #10062]
59534         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
59535         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
59536         fail configure if __sync_val_compare_and_swap is not inlined.
59537         * sysdeps/i386/configure: Regenerate.
59538         * configure.in: Build for i686 when configured for i386.
59539         * configure: Regenerate.
59540         * README: Remove i386 reference.
59542 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59544         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
59545         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59547 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59549         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
59550         (lmsnanval): New variables.
59551         (F): Add conversion tests.
59552         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
59553         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
59555         * stdio-common/tstdiomisc.c (F): Properly collect individual
59556         tests' results.
59558         [BZ #14686, #15336]
59559         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
59560         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
59561         Instead, use input NaN values or generate a qNaN by arithmetic
59562         operation.  Also fix bugs to comply with the standard.
59563         * math/libm-test.inc (remainder_test): Add more tests.
59565         [BZ #15335, #15342]
59566         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
59567         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
59568         input NaN values or generate a qNaN by arithmetic operation.
59570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
59571         unreachable code.
59573         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
59574         definitions.
59576 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
59578         [BZ #14478]
59579         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
59580         underflowed result.
59581         * math/s_cexpf.c (__cexpf): Likewise.
59582         * math/s_cexpl.c (__cexpl): Likewise.
59583         * math/libm-test.inc (cexp_test): Add more tests.
59585 2013-04-03  Andreas Schwab  <schwab@suse.de>
59587         [BZ #15330]
59588         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
59589         order arrays from heap if bigger than alloca cutoff.
59591 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
59593         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
59594         (SNAN_TESTS_double): Refer to GCC PR56831.
59595         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
59596         GCC PR56828.
59598 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59600         * Rules (bench): Move bench.out after the run is complete.
59602         * Rules (bench): Echo currently running benchmark.
59604         * benchtests/Makefile (bench): Add atan and slowatan.
59605         * benchtests/atan-inputs: New file.
59606         * benchtests/slowatan-inputs: New file.
59607         * benchtests/slowatan.c: New file.
59609         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
59610         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
59611         its value.
59613         [BZ #15305]
59614         * sysdeps/unix/sysv/linux/kernel-features.h
59615         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
59616         __ASSUME_XFS_RESTRICTED_CHOWN.
59617         * sysdeps/unix/sysv/linux/pathconf.c
59618         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
59619         Save and restore errno.
59621 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
59623         [BZ #15327]
59624         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
59625         arguments using __kernel_casinh.
59626         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
59627         arguments using __kernel_casinhf.
59628         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
59629         arguments using __kernel_casinhl.
59630         * math/libm-test.inc (cacosh_test): Add more tests.
59631         * sysdeps/i386/fpu/libm-test-ulps: Update.
59632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59634 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59636         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
59637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
59639         * bench/Makefile (bench): Add sin and slowsin.
59640         * benchtests/sin-inputs: New file.
59641         * benchtests/slowsin-inputs: New file.
59642         * benchtests/slowsin.c: New file.
59644         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
59645         (bench): Add slowexp and slowpow.
59646         (exp-ITER): Increase iterations.
59647         (pow-ITER): Likewise.
59648         * benchtests/exp-inputs: Change input.
59649         * benchtests/pow-inputs: Likewise.
59650         * benchtests/slowexp-inputs: New file.
59651         * benchtests/slowexp.c: New file.
59652         * benchtests/slowpow-inputs: New file.
59653         * benchtests/slowpow.c: New file.
59655 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59657         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
59658         instructions.
59659         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59660         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
59661         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59662         * benchtests/Makefile: Add rint benchtest.
59663         * benchtests/rint-inputs: Input for rint benchtest.
59665 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59667         * Versions.def (libm): Add GLIBC_2.18.
59668         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
59669         hidden libm prototypes.
59670         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
59671         * math/Makefile (libm-calls): Add s_issignaling.
59672         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
59673         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
59674         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
59675         declaration.
59676         * math/math.h [__USE_GNU] (issignaling): New macro.
59677         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
59678         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
59679         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
59680         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
59681         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
59682         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
59683         * manual/arith.texi (issignaling): New section.
59684         * manual/libm-err-tab.pl (@all_functions): Update comment.
59685         * math/gen-libm-test.pl (parse_args): Apply special handling for
59686         issignaling.
59687         * math/libm-test.inc (print_float, issignaling_test): New
59688         functions.
59689         (check_float_internal): Add issignaling checks.
59690         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
59691         default definition.
59692         * sysdeps/powerpc/math-tests.h: New file.
59693         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
59694         tests.
59695         * math/test-snan.c (TEST_FUNC): Likewise.
59697 2013-03-30  David S. Miller  <davem@davemloft.net>
59699         * po/de.po: Update from translation team.
59701 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
59703         [BZ #10357]
59704         * math/k_casinh.c (__kernel_casinh): Handle arguments with
59705         imaginary part less than 1.0 and real part less than 0.5
59706         specially.
59707         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59708         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59709         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
59710         (cacos_test): Add more tests.
59711         (casin_test): Likewise.
59712         (casinh_test): Likewise.
59713         * sysdeps/i386/fpu/libm-test-ulps: Update.
59714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59716 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59718         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
59719         ONE with its value.
59721         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
59722         (__pow_mp): Replace ONE and MONE with their values.
59723         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59724         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
59725         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59726         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
59727         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59728         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59730         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
59732         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
59733         (__pow_mp): Replace ZERO and MZERO with their values.
59734         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
59735         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59736         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59737         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59738         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59739         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
59740         (__sqr): Likewise.
59742         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
59744         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
59746 2013-03-28  Roland McGrath  <roland@hack.frob.com>
59748         * include/stdlib.h [!SHARED] (__call_tls_dtors):
59749         Declare with __attribute__ ((weak)).
59750         * stdlib/exit.c (__libc_atexit) [!SHARED]:
59751         Call __call_tls_dtors only if it's not NULL.
59753 2013-03-28  Roland McGrath  <roland@hack.frob.com>
59755         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
59756         didn't do it already, then set _dl_phdr and _dl_phnum based on the
59757         magic __ehdr_start linker symbol if it's defined.
59758         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
59759         them up here if it was already done.
59761         * elf/dl-support.c (_dl_phdr): Make pointer to const.
59762         (_dl_aux_init): Use const in cast when setting it.
59763         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
59764         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
59765         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
59767         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
59768         Declare them here.
59769         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
59770         * csu/libc-tls.c: Nor here.
59771         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
59773         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
59774         (__libc_message): Never call vsyslog.
59776 2013-03-28  Alan Modra  <amodra@gmail.com>
59778         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
59779         Define as empty.
59780         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
59781         Likewise.
59783 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59785         [BZ #15214]
59786         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
59787         underflow.
59788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59790 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59792         [BZ #15304]
59793         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
59794         Don't add gid passed as argument.
59796         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
59798 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
59800         [BZ #15307]
59801         * math/k_casinh.c (__kernel_casinh): Handle arguments with
59802         imaginary part between 1.0 and 1.5 and real part less than 0.5
59803         specially.
59804         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59805         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59806         * math/libm-test.inc (cacos_test): Add more tests.
59807         (casin_test): Likewise.
59808         (casinh_test): Likewise.
59809         * sysdeps/i386/fpu/libm-test-ulps: Update.
59810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59812 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59814         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
59815         constants.
59816         (norm): Likewise.
59817         (denorm): Likewise.
59818         (__dbl_mp): Likewise.
59819         (add_magnitudes): Likewise.
59820         (sub_magnitudes): Likewise.
59821         (__add): Likewise.
59822         (__sub): Likewise.
59823         (__mul): Likewise.
59824         (__sqr): Likewise.
59825         (__inv): Likewise.
59826         (__dvd): Likewise.
59828         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
59829         commented code.
59830         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
59831         (__dubcos): Likewise.
59832         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
59833         (__ieee754_acos): Likewise.
59834         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
59835         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
59836         (__exp1): Likewise.
59837         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59838         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
59839         (log1): Likewise.
59840         (my_log2): Likewise.
59841         (checkint): Likewise.
59842         * sysdeps/ieee754/dbl-64/e_remainder.c
59843         (__ieee754_remainder): Likewise.
59844         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59845         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
59846         (bsloww): Likewise.
59847         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59849         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59850         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
59851         MANTISSA_STORE_T to store computations on mantissa.  Use
59852         macros for rounding and division.
59853         (denorm): Likewise.
59854         (__dbl_mp): Likewise.
59855         (add_magnitudes): Likewise.
59856         (sub_magnitudes): Likewise.
59857         (__mul): Likewise.
59858         (__sqr): Likewise.
59859         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
59860         powers of two in terms of TWOPOW macro.
59861         (mp_no): Make type of mantissa as MANTISSA_T.
59862         [!RADIXI]: Define RADIXI.
59863         [!TWO52]: Define TWO52.
59864         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59866 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59868         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
59869         llroundl symbol when building for PPC32.
59871 2013-03-24  Mark H Weaver  <mhw@netris.org>
59873         * manual/arith.texi (Normalization Functions): Fix prototypes for
59874         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
59876 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59878         [BZ #13889]
59879         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
59880         high value to check if expl overflow.
59881         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
59882         to check for underflow and overflow.
59883         * math/libm-test.inc: Add exp test.
59885 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
59887         [BZ #11120]
59888         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
59889         with NOT_IN_libc.
59891 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59893         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
59894         symbol.
59896 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59898         * math/gen-libm-test.pl (parse_args, special_functions): Properly
59899         wrap blocks consisting of several statements.
59901         * sysdeps/generic/math-tests.h: New file.
59902         * sysdeps/i386/fpu/math-tests.h: Likewise.
59903         * math/test-snan.c: Include it.
59904         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
59906 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
59908         [BZ #15285]
59909         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
59910         (__ieee754_j0l): Do not improve calculations using cos of twice
59911         input for inputs above LDBL_MAX / 2.0L.
59912         (__ieee754_y0l): Likewise.
59913         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
59914         (__ieee754_j1l): Do not improve calculations using cos of twice
59915         input for inputs above LDBL_MAX / 2.0L.
59916         (__ieee754_y1l): Likewise.
59917         * math/libm-test.inc (j0_test): Add another test.
59918         (j1_test): Likewise.
59919         (y0_test): Likewise.
59920         (y1_test): Likewise.
59921         * sysdeps/i386/fpu/libm-test-ulps: Update.
59923 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59925         * Rules ($(objpfx)bench-%.c): Include code from a C source
59926         file.
59928 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
59930         [BZ #15287]
59931         * math/k_casinh.c (__kernel_casinh): Handle arguments with
59932         imaginary part 1.0 and real part less than 0.5 specially.
59933         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59934         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59935         * math/libm-test.inc (cacos_test): Add more tests.
59936         (casin_test): Likewise.
59937         (casinh_test): Likewise.
59938         * sysdeps/i386/fpu/libm-test-ulps: Update.
59939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59941 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59943         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
59944         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
59946 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
59948         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
59949         * config.make.in (config-cflags-sse4): Remove variable.
59950         (config-cflags-avx): Likewise.
59951         (config-cflags-sse2avx): Likewise.
59952         (config-cflags-novzeroupper): Likewise.
59953         (config-asflags-i686): Likewise.
59954         (have-mfma4): Likewise.
59955         (have-as-vis3): Likewise.
59956         (MIG): Likewise.
59957         * configure.in (MIG): Do not AC_SUBST.
59958         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
59959         (libc_cv_cc_sse4): Do not AC_SUBST.
59960         (libc_cv_cc_avx): Likewise.
59961         (libc_cv_cc_sse2avx): Likewise.
59962         (libc_cv_cc_novzeroupper): Likewise.
59963         (libc_cv_cc_fma4): Likewise.
59964         (libc_cv_as_i686): Likewise.
59965         (libc_cv_sparc_as_vis3): Likewise.
59966         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
59967         LIBC_CONFIG_VAR.
59968         (config-asflags-i686): Likewise.
59969         (config-cflags-avx): Likewise.
59970         (config-cflags-sse2avx): Likewise.
59971         (have-mfma4): Likewise.
59972         (config-cflags-novzeroupper): Likewise.
59973         * sysdeps/mach/configure.in (MIG): Likewise.
59974         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
59975         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
59976         LIBC_CONFIG_VAR.
59977         (config-cflags-avx): Likewise.
59978         (config-cflags-sse2avx): Likewise.
59979         (have-mfma4): Likewise.
59980         (config-cflags-novzeroupper): Likewise.
59981         * configure: Regenerated.
59982         * sysdeps/i386/configure: Likewise.
59983         * sysdeps/mach/configure: Likewise.
59984         * sysdeps/sparc/configure: Likewise.
59985         * sysdeps/x86_64/configure: Likewise.
59987 2013-03-20  Roland McGrath  <roland@hack.frob.com>
59989         [BZ #14812]
59990         * locale/programs/localedef.c (options): Put N_ translation marker
59991         on argument names, not just descriptions.
59993 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59995         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
59997 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
59999         [BZ #14176]
60000         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
60002 2013-03-19  Roland McGrath  <roland@hack.frob.com>
60004         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
60005         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
60006         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
60007         [!BEFORE_ABORT] (before_abort): New function.
60008         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
60009         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
60010         (writev_for_fatal): New function.
60011         (WRITEV_FOR_FATAL): New macro; call that.
60012         (backtrace_and_maps): New function.
60013         (BEFORE_ABORT): New macro; call that.
60014         (struct str_list): Type removed.
60015         (__libc_message, __libc_fatal): Functions removed.
60016         Include <sysdeps/posix/libc_fatal.c> instead.
60018 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
60020         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
60021         constants.
60022         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
60023         double constants.
60025 2013-03-19  Andreas Schwab  <schwab@suse.de>
60027         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
60028         * sysdeps/gnu/configure: Regenerate.
60030         * configure.in: Substitute libc_cv_rtlddir.
60031         * configure: Regenerate.
60032         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
60033         * Makeconfig (rtlddir, inst_rtlddir): New variables.
60034         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
60035         * elf/Makefile (install-others, CFLAGS-interp.c)
60036         (ldso_install, common-ldd-rewrite): Likewise.
60037         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
60038         $(inst_slibdir)/$(rtld-installed-name).
60039         * scripts/rellns-sh: Add -p option.
60040         * Makerules (make-shlib-link): Use rellns-sh to get relative name
60041         for source.
60043 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60045         * manual/nptl.texi: Renamed to ...
60046         * manual/threads.texi: ... this.
60047         * manual/Makefile (chapters): Update.
60049 2013-03-18  Roland McGrath  <roland@hack.frob.com>
60051         [BZ #14812]
60052         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60053         on argument names, not just descriptions.
60054         * malloc/memusagestat.c (options): Likewise.
60055         * nss/getent.c (options): Likewise.
60057 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
60059         [BZ #14812]
60060         * iconv/iconv_prog.c (options): Put N_ translation marker
60061         on argument names, not just descriptions.
60062         * iconv/iconvconfig.c (options): Likewise.
60064 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
60066         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60067         implementation which is faster on all x86_64 architectures.
60068         Tested on AMD, Intel Nehalem, SNB, IVB.
60069         * sysdeps/x86_64/strnlen.S: Likewise.
60071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60072         Remove all multiarch strlen and strnlen versions.
60073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60074         Remove strlen and strnlen related parts.
60076         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60077         Inline strlen part.
60078         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60080         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60081         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60082         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60083         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60084         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60085         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60087 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60089         * manual/memory.texi (Malloc Tunable Parameters):
60090         Sort parameters alphabetically. Add comments for missing entries.
60092 2013-03-17  David S. Miller  <davem@davemloft.net>
60094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60096 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60098         [BZ #15283]
60099         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60100         for arguments at most half maximum finite value.
60101         * math/libm-test.inc (j0_test): Add more tests.
60102         (j1_test): Likewise.
60103         (y0_test): Likewise.
60104         (y1_test): Likewise.
60105         * sysdeps/i386/fpu/libm-test-ulps: Update.
60106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60108         [BZ #14155]
60109         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60110         1 / x and functions P and Q for arguments above 0x1p256L.
60111         (__ieee754_y0l): Likewise.
60112         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60113         (__ieee754_y1l): Likewise.
60114         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60115         (j1_test): Likewise.
60116         (y0_test): Likewise.
60117         (y1_test): Likewise.
60119 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60121         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60122         variable.
60124 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60126         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60127         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60128         zero since it's initialized to EXEC_PAGESIZE.
60130         * sysdeps/unix/sysv/linux/ldsodefs.h
60131         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60132         * sysdeps/generic/ldsodefs.h: ... here.
60134 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60136         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60138         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60139         math/test-snan.c.
60140         * math/test-snan.c: Renamed from
60141         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60142         * math/Makefile (tests): Add test-snan.
60143         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60144         test-powerpc-snan.
60146         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60147         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60148         functions.
60149         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60150         __builtin_nan family of functions.
60151         * math/libm-test.inc (initialize): Initialize qnan_value with
60152         __builtin_nan family of functions.
60153         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60154         Remove variables.
60155         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60156         Remove functions.
60157         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60158         storage class.  Initialize qNaN_var and sNaN_var with
60159         __builtin_nan and __builtin_nans families of functions,
60160         respectively.
60162         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60163         (sqrt_test): Remove duplicate test with qNaN input.
60164         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60165         (round_test, signbit_test, significand_test): Note missing +/-Inf
60166         as well as qNaN tests.
60168         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60169         qNaN_var.  Fix a few strings, too.
60170         * math/libm-test.inc (nan_value): Rename to qnan_value.
60171         * math/gen-libm-test.pl (%beautify): Adjust to that.
60172         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60173         * math/test-misc.c (main): Likewise.
60174         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60175         to __qnan_bytes, and __qnan_union, respectively.
60176         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60177         Likewise.
60178         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60179         and lqnanval, respectively.
60180         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60181         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60182         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60183         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60185         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60186         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60187         doubles.
60189         * math/test-misc.c (main): Fix copy'n'pastos.
60190         * misc/tst-efgcvt.c (special): Likewise.
60192         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60193         Remove declarations.
60195 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60197         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60198         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60199         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60200         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60202 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60204         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60205         macro to return vdso values correctly in IFUNC implementations.
60206         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60207         Optimization by using IFUNC.
60209 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60210             Richard Henderson  <rth@redhat.com>
60211             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60213         * Makefile.in (bench): New target.
60214         * NEWS: Mention the benchmark framework.
60215         * Rules (bench): Likewise.
60216         (binaries-bench): Generate binaries for functions to
60217         benchmark.
60218         * benchtests/Makefile: New makefile for benchmark tests.
60219         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60220         programs.
60221         * benchtests/exp-inputs: New input file for EXP function.
60222         * benchtests/pow-inputs: New input file for POW function.
60223         * scripts/bench.pl: New script to generate source files for
60224         benchmark programs.
60226 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60228         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60229         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60230         computations on mantissa.  Use macros for rounding and
60231         division.
60232         (denorm): Likewise.
60233         (__dbl_mp): Likewise.
60234         (add_magnitudes): Likewise.
60235         (sub_magnitudes): Likewise.
60236         (__mul): Likewise.
60237         (__sqr): Likewise.
60238         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60239         powers of two in terms of TWOPOW macro.
60240         (mp_no): Make type of mantissa as MANTISSA_T.
60241         [!RADIXI]: Define RADIXI.
60242         [!TWO52]: Define TWO52.
60243         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60245         * manual/nptl.texi (cindex): Modify threads to pthreads.
60247 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60249         * sysdeps/x86_64/preconfigure: Regenerated.
60251 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60253         [BZ #14155]
60254         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60255         0x1p28 and above.
60256         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60257         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60258         0x1p28 and above.
60259         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60260         * math/libm-test.inc (j0_test): Do not allow one spurious
60261         underflow exception.
60262         (y1_test): Likewise.
60264 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60266         * manual/Makefile (chapters): Add nptl.
60267         * manual/debug.texi (Debugging Support): Add link to Threads
60268         chapter.
60269         * manual/nptl.texi: New file.
60271         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60273 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60275         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60276         for non-NULL pointer before the memory validity test. Pointed
60277         out by Holger Brunck <holger.brunck@keymile.com>.
60279 2013-03-13  Andreas Schwab  <schwab@suse.de>
60281         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60282         instead of .os.
60284 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60286         * timezone/zic.c: Update from tzcode 2013b.
60288 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60290         * manual/install.texi (Configuring and compiling):
60291         Mention i686 and i586.
60292         * INSTALL: Regenerate.
60294 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60296         * sysdeps/init_array/elf-init.c: New file.
60297         * csu/elf-init.c
60298         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60299         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60301         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60302         __gmon_start__ as global, but as static with a .preinit_array pointer.
60303         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60304         * sysdeps/init_array/crti.S: New file, empty except for comments.
60305         * sysdeps/init_array/crtn.S: Likewise.
60307 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60309         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60310         definining bcopy.
60311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60312         Remove Prefer_SSE_for_memop.
60313         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60314         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60315         HAS_PREFER_SSE_FOR_MEMOP.
60316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60317         memset-x86-64.
60318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60319         Remove bzero, memset ifunc support.
60320         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60321         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60322         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60323         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60325 2013-03-11  Andreas Schwab  <schwab@suse.de>
60327         [BZ #15234]
60328         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60329         by SHLIB_COMPAT.
60330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60331         (GLIBC_2.16): Remove pthread_atfork.
60333 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
60335         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60336         (ptestcases.h): Likewise.
60338 2013-03-08  Roland McGrath  <roland@hack.frob.com>
60340         * Makeconfig ($(common-objpfx)config.status): Depend on
60341         sysdeps/*/preconfigure{,.in} too.
60343 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
60345         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60346         (__free_hook): Use void * instead of __malloc_ptr_t.
60347         (__malloc_hook): Likewise.
60348         (__realloc_hook): Likewise.
60349         (__memalign_hook): Likewise.
60350         (__after_morecore_hook): Likewise.
60351         * malloc/arena.c (save_malloc_hook): Likewise.
60352         (save_free_hook): Likewise.
60353         * malloc/hooks.c (malloc_hook_ini): Likewise.
60354         (realloc_hook_ini): Likewise.
60355         (memalign_hook_ini): Likewise.
60356         * malloc/malloc.c (malloc_hook_ini): Likewise.
60357         (realloc_hook_ini): Likewise.
60358         (memalign_hook_ini): Likewise.
60359         (__free_hook): Likewise.
60360         (__malloc_hook): Likewise.
60361         (__realloc_hook): Likewise.
60362         (__memalign_hook): Likewise.
60363         (__libc_malloc): Likewise.
60364         (__libc_free): Likewise.
60365         (__libc_realloc): Likewise.
60366         (__libc_memalign): Likewise.
60367         (__libc_valloc): Likewise.
60368         (__libc_pvalloc): Likewise.
60369         (__libc_calloc): Likewise.
60370         (__posix_memalign): Likewise.
60371         * malloc/morecore.c (__sbrk): Likewise.
60372         (__default_morecore): Likewise.
60374         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
60376         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
60377         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
60378         __malloc_ptrdiff_t.
60380         * malloc/malloc.h (__malloc_size_t): Remove macro.
60381         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
60382         __malloc_size_t.
60383         (old_memalign_hook): Likewise.
60384         (old_realloc_hook): Likewise.
60385         (struct hdr): Likewise.
60386         (flood): Likewise.
60387         (mallochook): Likewise.
60388         (memalignhook): Likewise.
60389         (reallochook): Likewise.
60390         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
60391         (tr_old_realloc_hook): Likewise.
60392         (tr_old_memalign_hook): Likewise.
60393         (tr_mallochook): Likewise.
60394         (tr_reallochook): Likewise.
60395         (tr_memalignhook): Likewise.
60397 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60399         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
60400         default_ldbl_pack and using as default implementation.
60401         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
60402         implementation.
60403         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
60404         redundant definition.
60405         (ldbl_insert_mantissa): Likewise.
60406         (ldbl_canonicalize): Likewise.
60407         (ldbl_nearbyint): Likewise.
60408         (ldbl_pack): Rename to ldbl_pack_ppc.
60409         (ldbl_unpack): Rename to ldbl_unpack_ppc.
60410         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
60411         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
60413 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
60416         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
60417         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
60418         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
60419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
60420         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
60421         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
60422         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
60424 2013-03-07  Andreas Jaeger  <aj@suse.de>
60426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60427         bits/mman-linux.h.
60429 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60431         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
60432         Include mpa.h and declare __MPEXP.
60433         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
60434         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60435         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60436         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
60437         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60438         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60439         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
60441         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
60442         (__slowpow): Use long double EXPL and LOGL functions to
60443         compute POW.
60444         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60445         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60446         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
60447         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60448         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60449         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
60451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
60452         intermediate variable to calculate exponent.
60453         (__sqr): Likewise.
60454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60455         Likewise.
60456         (__sqr): Likewise.
60458         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
60459         [!NO__SQR]: Define __sqr.
60460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
60461         and NO__SQR.  Remove all code except __mul and __sqr.  Include
60462         sysdeps/ieee754/dbl-64/mpa.c.
60463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60465         [BZ #12723]
60466         * posix/Makefile (tests): Add tst-pathconf.
60467         * posix/tst-pathconf.c: New test case.
60468         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
60469         _PC_PIPE_BUF.
60470         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
60472 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
60474         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
60476 2013-03-06  Andreas Jaeger  <aj@suse.de>
60478         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
60479         definition via __MAP_ANONYMOUS.
60481         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
60482         it's not part of Linux headers.
60484         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
60485         (MAP_HUGE_MASK): Define.
60487         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60488         Define.
60489         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60490         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60491         Define.
60492         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60493         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60494         Define.
60495         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60496         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
60497         Define.
60498         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60500         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
60501         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
60502         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
60503         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
60504         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
60505         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
60507         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60508         Handle f2fs.
60510         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60511         Handle f2fs and efivarfs.
60513         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
60514         f2fs.
60516         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
60517         (EFIVARFS_MAGIC): Add.
60518         (F2FS_LINK_MAX): Add.
60520 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60522         * stdio-common/vfprintf.c: Replace __builtin_expect with
60523         __glibc_unlikely.
60525 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
60527         [BZ #13550]
60528         * sysdeps/generic/bp-sym.h: Remove file.
60529         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
60530         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
60531         <bp-sym.h> and <bp-asm.h>.
60532         (__longjmp): Don't use BP_SYM.
60533         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
60534         and <bp-asm.h>.
60535         (memcpy): Don't use BP_SYM.
60536         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
60537         <bp-sym.h> and <bp-asm.h>.
60538         (memcpy): Don't use BP_SYM.
60539         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
60540         <bp-asm.h>.
60541         (memcpy): Don't use BP_SYM.
60542         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
60543         <bp-asm.h>.
60544         (memset): Don't use BP_SYM.
60545         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60546         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60547         (__bzero): Don't use BP_SYM.
60548         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60549         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60550         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
60551         <bp-sym.h> and <bp-asm.h>.
60552         (memcmp): Don't use BP_SYM.  Remove comment about bounded
60553         pointers.
60554         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
60555         <bp-sym.h> and <bp-asm.h>.
60556         (memcpy): Don't use BP_SYM.
60557         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
60558         <bp-sym.h> and <bp-asm.h>.
60559         (memset): Don't use BP_SYM.
60560         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60561         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60562         (__bzero): Don't use BP_SYM.
60563         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60564         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60565         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
60566         <bp-sym.h> and <bp-asm.h>.
60567         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60568         pointers.
60569         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
60570         <bp-sym.h> and <bp-asm.h>.
60571         (memcpy): Don't use BP_SYM.
60572         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
60573         <bp-sym.h> and <bp-asm.h>.
60574         (memset): Don't use BP_SYM.
60575         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60576         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60577         (__bzero): Don't use BP_SYM.
60578         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60579         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60580         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
60581         <bp-sym.h> and <bp-asm.h>.
60582         (__memchr): Don't use BP_SYM.
60583         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
60584         <bp-sym.h> and <bp-asm.h>.
60585         (memcmp): Don't use BP_SYM.  Remove comment about bounded
60586         pointers.
60587         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
60588         <bp-sym.h> and <bp-asm.h>.
60589         (memcpy): Don't use BP_SYM.
60590         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
60591         <bp-sym.h> and <bp-asm.h>.
60592         (__mempcpy): Don't use BP_SYM.
60593         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
60594         <bp-sym.h> and <bp-asm.h>.
60595         (__memrchr): Don't use BP_SYM.
60596         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
60597         <bp-sym.h> and <bp-asm.h>.
60598         (memset): Don't use BP_SYM.
60599         (__bzero): Likewise.
60600         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
60601         <bp-sym.h> and <bp-asm.h>.
60602         (__rawmemchr): Don't use BP_SYM.
60603         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
60604         <bp-sym.h> and <bp-asm.h>.
60605         (__STRCMP): Don't use BP_SYM.
60606         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
60607         <bp-sym.h> and <bp-asm.h>.
60608         (strchr): Don't use BP_SYM.
60609         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
60610         <bp-sym.h> and <bp-asm.h>.
60611         (__strchrnul): Don't use BP_SYM.
60612         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
60613         <bp-sym.h> and <bp-asm.h>.
60614         (strlen): Don't use BP_SYM.
60615         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
60616         <bp-sym.h> and <bp-asm.h>.
60617         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60618         pointers.
60619         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
60620         <bp-sym.h> and <bp-asm.h>.
60621         (__strnlen): Don't use BP_SYM.
60622         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
60623         <bp-sym.h> and <bp-asm.h>.
60624         (__GI__setjmp): Don't use BP_SYM.
60625         (_setjmp): Likewise.
60626         (__sigsetjmp): Likewise.
60627         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
60628         (L(start_addresses)): Don't use BP_SYM.
60629         (_start): Likewise.
60630         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
60631         <bp-asm.h>.
60632         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
60633         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
60634         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60635         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60636         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
60637         <bp-asm.h>.
60638         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
60639         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
60640         about bounded pointers.
60641         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60642         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60643         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
60644         <bp-asm.h>.
60645         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
60646         about bounded pointers.  Remove GKM FIXME comments.
60647         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60648         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
60649         <bp-asm.h>.
60650         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
60651         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
60652         Remove GKM FIXME comments.
60653         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60654         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60655         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
60656         <bp-asm.h>.
60657         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
60658         about bounded pointers.  Remove GKM FIXME comment.
60659         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
60660         and <bp-asm.h>.
60661         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60662         pointers.
60663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
60664         <bp-sym.h> and <bp-asm.h>.
60665         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
60667         <bp-sym.h> and <bp-asm.h>.
60668         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
60669         comment.
60671 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60673         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
60674         call free(NULL).
60676 2013-03-05  David S. Miller  <davem@davemloft.net>
60678         * po/es.po: Update from translation team.
60680 2013-03-05  Andreas Jaeger  <aj@suse.de>
60682         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
60683         <bits/mman-linux.h>.
60684         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60685         is fine.
60686         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
60687         <bits/mman-linux.h> to end of file.
60688         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60689         is fine.
60690         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
60691         <bits/mman-linux.h> to end of file.
60692         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60693         is fine.
60694         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
60695         <bits/mman-linux.h> to end of file.
60697         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
60698         (MCL_CURRENT, MCL_FUTURE): Define here.
60700 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60702         [BZ #15232]
60703         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
60704         attribute_hidden.
60705         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60707 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60709         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
60710         fourth parameter needed for rt_sigprocmask syscall.
60711         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
60712         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60713         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
60714         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60715         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60716         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
60718 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
60720         [BZ #13550]
60721         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
60722         comment about bounded pointers.
60723         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
60724         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
60726 2013-03-04  Andreas Jaeger  <aj@suse.de>
60728         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
60729         common definitions.
60731         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
60732         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
60733         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
60734         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60735         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60736         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60738 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60740         [BZ #15055]
60741         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
60742         __ieee754_sqrl instead of __sqrl.
60744 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
60746         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
60747         * sysdeps/powerpc/fpu_control.h: ... here.
60748         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
60749         * sysdeps/powerpc/bits/fenvinline.h: ... here.
60750         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
60751         * sysdeps/powerpc/bits/mathinline.h: ... here.
60753 2013-03-01  Roland McGrath  <roland@hack.frob.com>
60755         * elf/dl-hwcaps.c (_dl_important_hwcaps):
60756         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
60757         to just [NEED_DL_SYSINFO_DSO].
60758         * elf/dl-support.c: Likewise.
60759         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
60760         * elf/rtld.c (dl_main): Likewise.
60761         * elf/setup-vdso.h (setup_vdso): Likewise.
60762         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
60763         * sysdeps/unix/sysv/linux/dl-sysdep.c
60764         (_dl_discover_osversion): Likewise.
60766 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
60768         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
60769         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
60771 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
60773         * NEWS: Mention libm performance improvements and non-x86 PI
60774         futex support.
60776         * csu/libc-start.c (__pthread_initialize_minimal): Change
60777         function arguments.
60778         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
60780 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
60782         [BZ #13550]
60783         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
60784         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
60785         <bp-sym.h> and <bp-asm.h>.
60786         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60787         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
60788         and <bp-asm.h>.
60789         (memcpy): Don't use BP_SYM.
60790         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
60791         <bp-asm.h>.
60792         (__mpn_add_n): Don't use BP_SYM.
60793         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
60794         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
60795         and <bp-asm.h>.
60796         (__mpn_addmul_1): Don't use BP_SYM.
60797         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60798         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
60799         <bp-sym.h>.
60800         (_setjmp): Don't use BP_SYM.
60801         (__novmx_setjmp): Likewise.
60802         (__GI__setjmp): Likewise.
60803         (__vmx_setjmp): Likewise.
60804         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
60805         <bp-sym.h>.
60806         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
60807         (__bzero): Don't use BP_SYM.
60808         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60809         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60810         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
60811         <bp-sym.h> and <bp-asm.h>.
60812         (memcpy): Don't use BP_SYM.
60813         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
60814         <bp-sym.h> and <bp-asm.h>.
60815         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60816         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
60817         <bp-sym.h> and <bp-asm.h>.
60818         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60819         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
60820         <bp-asm.h>.
60821         (__mpn_lshift): Don't use BP_SYM.
60822         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60823         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
60824         <bp-asm.h>.
60825         (memset): Don't use BP_SYM.
60826         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60827         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60828         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
60829         <bp-asm.h>.
60830         (__mpn_mul_1): Don't use BP_SYM.
60831         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60832         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
60833         <bp-sym.h> and <bp-asm.h>.
60834         (memcmp): Don't use BP_SYM.
60835         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
60836         <bp-sym.h> and <bp-asm.h>.
60837         (memcpy): Don't use BP_SYM.
60838         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
60839         <bp-sym.h> and <bp-asm.h>.
60840         (memset): Don't use BP_SYM.
60841         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
60842         <bp-sym.h> and <bp-asm.h>.
60843         (strncmp): Don't use BP_SYM.
60844         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
60845         <bp-sym.h> and <bp-asm.h>.
60846         (memcpy): Don't use BP_SYM.
60847         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
60848         <bp-sym.h> and <bp-asm.h>.
60849         (memset): Don't use BP_SYM.
60850         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
60851         <bp-sym.h> and <bp-asm.h>.
60852         (__memchr): Don't use BP_SYM.
60853         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
60854         <bp-sym.h> and <bp-asm.h>.
60855         (memcmp): Don't use BP_SYM.
60856         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
60857         <bp-sym.h> and <bp-asm.h>.
60858         (memcpy): Don't use BP_SYM.
60859         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
60860         <bp-sym.h> and <bp-asm.h>.
60861         (__mempcpy): Don't use BP_SYM.
60862         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
60863         <bp-sym.h> and <bp-asm.h>.
60864         (__memrchr): Don't use BP_SYM.
60865         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
60866         <bp-sym.h> and <bp-asm.h>.
60867         (memset): Don't use BP_SYM.
60868         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
60869         <bp-sym.h> and <bp-asm.h>.
60870         (__rawmemchr): Don't use BP_SYM.
60871         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
60872         <bp-sym.h> and <bp-asm.h>.
60873         (__STRCMP): Don't use BP_SYM.
60874         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
60875         <bp-sym.h> and <bp-asm.h>.
60876         (strchr): Don't use BP_SYM.
60877         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
60878         <bp-sym.h> and <bp-asm.h>.
60879         (__strchrnul): Don't use BP_SYM.
60880         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
60881         <bp-sym.h> and <bp-asm.h>.
60882         (strlen): Don't use BP_SYM.
60883         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
60884         <bp-sym.h> and <bp-asm.h>.
60885         (strncmp): Don't use BP_SYM.
60886         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
60887         <bp-sym.h> and <bp-asm.h>.
60888         (__strnlen): Don't use BP_SYM.
60889         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
60890         <bp-asm.h>.
60891         (__mpn_rshift): Don't use BP_SYM.
60892         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60893         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
60894         <bp-sym.h> and <bp-asm.h>.
60895         (__sigsetjmp): Don't use BP_SYM.
60896         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
60897         (L(start_addresses)): Don't use BP_SYM.
60898         (_start): Likewise.
60899         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
60900         <bp-asm.h>.
60901         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
60902         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60903         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60904         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
60905         <bp-asm.h>.
60906         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
60907         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60908         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60909         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
60910         <bp-asm.h>.
60911         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
60912         comments.
60913         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60914         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
60915         <bp-asm.h>.
60916         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
60917         FIXME comments.
60918         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60919         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60920         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
60921         <bp-asm.h>.
60922         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
60923         comment.
60924         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
60925         and <bp-asm.h>.
60926         (strncmp): Don't use BP_SYM,
60927         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
60928         <bp-asm.h>.
60929         (__mpn_sub_n): Don't use BP_SYM.
60930         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60931         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
60932         and <bp-asm.h>.
60933         (__mpn_submul_1): Don't use BP_SYM.
60934         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
60936         <bp-sym.h> and <bp-asm.h>.
60937         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
60939         <bp-sym.h> and <bp-asm.h>.
60940         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
60941         comment.
60943 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
60946         Use ZK to minimize writes to Z.
60947         (sub_magnitudes): Simplify code a bit.
60948         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
60949         Use ZK to minimize writes to Z.
60950         (sub_magnitudes): Simplify code a bit.
60952 2013-02-27  Roland McGrath  <roland@hack.frob.com>
60954         * csu/gmon-start.c: Add special exception to license text.
60956 2013-02-27  Richard Henderson  <rth@redhat.com>
60958         * scripts/config.guess: Update from config.git.
60959         * scripts/config.sub: Likewise.
60961 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60963         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
60965         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
60967         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
60969         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
60971         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
60973 2013-02-26  Roland McGrath  <roland@hack.frob.com>
60975         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
60976         [$(build-shared = yes].
60978 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60980         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
60981         (__mul): Reduce iterations for calculating mantissa.
60983         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
60984         MPTWO.
60985         (__mpranred): Likewise.
60987         [BZ #15160]
60988         * malloc/memusagestat.c (main): Draw graphs for heap and stack
60989         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
60991 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
60993         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
60994         Define __attribute__.
60996 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60998         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
60999         unused.
61000         * posix/regex_internal.h (__attribute): Remove.
61001         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
61002         (re_string_context_at): Likewise.
61003         (bitset_not): Use __attribute__ and mark function as possibly
61004         unused.
61005         (bitset_merge): Likewise.
61006         (bitset_mask): Likewise.
61007         (re_string_char_size_at): Likewise.
61008         (re_string_wchar_at): Likewise.
61009         (re_string_elem_size_at): Likewise.
61011 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61013         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
61014         code.
61015         (cc32): Likewise.
61017         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
61018         (__acr): Likewise.
61019         (__cpy): Likewise.
61020         (norm): Likewise.
61021         (denorm): Likewise.
61022         (__dbl_mp): Likewise.
61023         (add_magnitudes): Likewise.
61024         (sub_magnitudes): Likewise.
61025         (__mul): Likewise.
61026         (__inv): Likewise.
61028         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
61029         style.
61031         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
61032         style.
61034         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
61035         code.
61037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61038         up changes with default code.
61039         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
61040         Likewise.
61042 2013-02-24  Allan McRae  <allan@archlinux.org>
61044         * manual/socket.texi (The Internet Namespace): Order menu items
61045         to match that in the file.
61047         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
61048         node listing of the info page menu.
61050 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
61052         [BZ #13550]
61053         * sysdeps/i386/bp-asm.h: Remove file.
61054         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61055         (PARMS): Do not use macros from bp-asm.h.
61056         (S1): Likewise.
61057         (S2): Likewise.
61058         (SIZE): Likewise.
61059         (__mpn_add_n): Do not use BP_SYM
61060         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61061         "bp-asm.h".
61062         (PARMS): Do not use macros from bp-asm.h.
61063         (S1): Likewise.
61064         (SIZE): Likewise.
61065         (__mpn_addmul_1): Do not use BP_SYM
61066         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61067         "bp-asm.h".
61068         (PARMS): Do not use macros from bp-asm.h.
61069         (SIGMSK): Likewise.
61070         (_setjmp): Likewise.  Do not use BP_SYM.
61071         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61072         "bp-asm.h".
61073         (PARMS): Do not use macros from bp-asm.h.
61074         (SIGMSK): Likewise.
61075         (setjmp): Likewise.  Do not use BP_SYM.
61076         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61077         "bp-asm.h".
61078         (PARMS): Do not use macros from bp-asm.h.
61079         (__frexp): Do not use BP_SYM.
61080         (frexp): Likewise.
61081         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61082         "bp-asm.h".
61083         (PARMS): Do not use macros from bp-asm.h.
61084         (__frexpf): Do not use BP_SYM.
61085         (frexpf): Likewise.
61086         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61087         "bp-asm.h".
61088         (PARMS): Do not use macros from bp-asm.h.
61089         (__frexpl): Do not use BP_SYM.
61090         (frexpl): Likewise.
61091         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61092         "bp-asm.h".
61093         (PARMS): Do not use macros from bp-asm.h.
61094         (__remquo): Do not use BP_SYM.
61095         (remquo): Likewise.
61096         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61097         "bp-asm.h".
61098         (PARMS): Do not use macros from bp-asm.h.
61099         (__remquof): Do not use BP_SYM.
61100         (remquof): Likewise.
61101         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61102         "bp-asm.h".
61103         (PARMS): Do not use macros from bp-asm.h.
61104         (__remquol): Do not use BP_SYM.
61105         (remquol): Likewise.
61106         * sysdeps/i386/i486/strcat.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         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61112         * sysdeps/i386/i486/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/add_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_add_n): Do not use BP_SYM.
61123         * sysdeps/i386/i586/addmul_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_addmul_1): Do not use BP_SYM.
61129         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61130         weak_alias.
61131         (bzero): Likewise.
61132         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61133         "bp-asm.h".
61134         (PARMS): Do not use macros from bp-asm.h.
61135         (S): Likewise.
61136         (SIZE): Likewise.
61137         (__mpn_lshift): Do not use BP_SYM.
61138         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61139         "bp-asm.h".
61140         (PARMS): Do not use macros from bp-asm.h.
61141         (DEST): Likewise.
61142         (SRC): Likewise.
61143         (LEN): Likewise.
61144         (memcpy): Likewise.  Do not use BP_SYM.
61145         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61146         libc_hidden_def and weak_alias.
61147         (mempcpy): Do not use BP_SYM in weak_alias.
61148         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61149         "bp-asm.h".
61150         (PARMS): Do not use macros from bp-asm.h.
61151         (DEST): Likewise.
61152         (LEN): Likewise.
61153         [!BZERO_P] (CHR): Likewise.
61154         (memset): Likewise.  Do not use BP_SYM.
61155         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61156         "bp-asm.h".
61157         (PARMS): Do not use macros from bp-asm.h.
61158         (S1): Likewise.
61159         (SIZE): Likewise.
61160         (__mpn_mul_1): Do not use BP_SYM.
61161         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61162         "bp-asm.h".
61163         (PARMS): Do not use macros from bp-asm.h.
61164         (S): Likewise.
61165         (SIZE): Likewise.
61166         (__mpn_rshift): Do not use BP_SYM.
61167         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61168         "bp-asm.h".
61169         (PARMS): Do not use macros from bp-asm.h.
61170         (STR): Likewise.
61171         (CHR): Likewise.
61172         (strchr): Likewise.  Do not use BP_SYM.
61173         (index): Do not use BP_SYM in weak_alias.
61174         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
61175         "bp-asm.h".
61176         (PARMS): Do not use macros from bp-asm.h.
61177         (DEST): Likewise.
61178         (SRC): Likewise.
61179         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61180         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61181         "bp-asm.h".
61182         (PARMS): Do not use macros from bp-asm.h.
61183         (strlen): Do not use BP_SYM.
61184         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61185         "bp-asm.h".
61186         (PARMS): Do not use macros from bp-asm.h.
61187         (S1): Likewise.
61188         (S2): Likewise.
61189         (SIZE): Likewise.
61190         (__mpn_sub_n): Do not use BP_SYM.
61191         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61192         "bp-asm.h".
61193         (PARMS): Do not use macros from bp-asm.h.
61194         (S1): Likewise.
61195         (SIZE): Likewise.
61196         (__mpn_submul_1): Do not use BP_SYM.
61197         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61198         "bp-asm.h".
61199         (PARMS): Do not use macros from bp-asm.h.
61200         (S1): Likewise.
61201         (S2): Likewise.
61202         (SIZE): Likewise.
61203         (__mpn_add_n): Do not use BP_SYM.
61204         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61205         weak_alias.
61206         (bzero): Likewise.
61207         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61208         "bp-asm.h".
61209         (PARMS): Do not use macros from bp-asm.h.
61210         (BLK2): Likewise.
61211         (LEN): Likewise.
61212         (memcmp): Do not use BP_SYM.
61213         (bcmp): Do not use BP_SYM in weak_alias.
61214         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61215         "bp-asm.h".
61216         (PARMS): Do not use macros from bp-asm.h.
61217         (DEST): Likewise.
61218         (SRC): Likewise.
61219         (LEN): Likewise.
61220         (memcpy): Likewise.  Do not use BP_SYM.
61221         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61222         "bp-asm.h".
61223         (PARMS): Do not use macros from bp-asm.h.
61224         (DEST): Likewise.
61225         (SRC): Likewise.
61226         (LEN): Likewise.
61227         (memmove): Likewise.  Do not use BP_SYM.
61228         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61229         "bp-asm.h".
61230         (PARMS): Do not use macros from bp-asm.h.
61231         (DEST): Likewise.
61232         (SRC): Likewise.
61233         (LEN): Likewise.
61234         (__mempcpy): Likewise.  Do not use BP_SYM.
61235         (mempcpy): Do not use BP_SYM in weak_alias.
61236         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61237         "bp-asm.h".
61238         (PARMS): Do not use macros from bp-asm.h.
61239         (DEST): Likewise.
61240         (LEN): Likewise.
61241         [!BZERO_P] (CHR): Likewise.
61242         (memset): Likewise.  Do not use BP_SYM.
61243         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61244         "bp-asm.h".
61245         (PARMS): Do not use macros from bp-asm.h.
61246         (STR2): Likewise.
61247         (strcmp): Do not use BP_SYM.
61248         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61249         "bp-asm.h".
61250         (PARMS): Do not use macros from bp-asm.h.
61251         (STR): Likewise.
61252         (DELIM): Likewise.
61253         [USE_AS_STRTOK_R] (SAVE): Likewise.
61254         (FUNCTION): Likewise.  Do not use BP_SYM.
61255         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61256         aliases.
61257         (strtok_r): Likewise.
61258         (__GI___strtok_r): Likewise.
61259         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61260         (PARMS): Do not use macros from bp-asm.h.
61261         (S): Likewise.
61262         (SIZE): Likewise.
61263         (__mpn_lshift): Do not use BP_SYM.
61264         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61265         (PARMS): Do not use macros from bp-asm.h.
61266         (STR): Likewise.
61267         (CHR): Likewise.
61268         (__memchr): Do not use BP_SYM.
61269         (memchr): Do not use BP_SYM in weak_alias.
61270         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61271         (PARMS): Do not use macros from bp-asm.h.
61272         (BLK2): Likewise.
61273         (LEN): Likewise.
61274         (memcmp): Do not use BP_SYM.
61275         (bcmp): Do not use BP_SYM in weak_alias.
61276         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61277         (PARMS): Do not use macros from bp-asm.h.
61278         (S1): Likewise.
61279         (SIZE): Likewise.
61280         (__mpn_mul_1): Do not use BP_SYM.
61281         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61282         "bp-asm.h".
61283         (PARMS): Do not use macros from bp-asm.h.
61284         (STR): Likewise.
61285         (CHR): Likewise.
61286         (__rawmemchr): Do not use BP_SYM.
61287         (rawmemchr): Do not use BP_SYM in weak_alias.
61288         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61289         (PARMS): Do not use macros from bp-asm.h.
61290         (S): Likewise.
61291         (SIZE): Likewise.
61292         (__mpn_rshift): Do not use BP_SYM.
61293         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61294         (PARMS): Do not use macros from bp-asm.h.
61295         (SIGMSK): Likewise.
61296         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61297         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61298         (_start): Do not use BP_SYM.
61299         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61300         (PARMS): Do not use macros from bp-asm.h.
61301         (DEST): Likewise.
61302         (SRC): Likewise.
61303         (__stpcpy): Likewise.  Do not use BP_SYM.
61304         (stpcpy): Do not use BP_SYM in weak_alias.
61305         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61306         "bp-asm.h".
61307         (PARMS): Do not use macros from bp-asm.h.
61308         (DEST): Likewise.
61309         (SRC): Likewise.
61310         (LEN): Likewise.
61311         (__stpncpy): Likewise.  Do not use BP_SYM.
61312         (stpncpy): Do not use BP_SYM in weak_alias.
61313         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61314         (PARMS): Do not use macros from bp-asm.h.
61315         (STR): Likewise.
61316         (CHR): Likewise.
61317         (strchr): Likewise.  Do not use BP_SYM.
61318         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61319         "bp-asm.h".
61320         (PARMS): Do not use macros from bp-asm.h.
61321         (STR): Likewise.
61322         (CHR): Likewise.
61323         (__strchrnul): Likewise.  Do not use BP_SYM.
61324         (strchrnul): Do not use BP_SYM in weak_alias.
61325         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61326         "bp-asm.h".
61327         (PARMS): Do not use macros from bp-asm.h.
61328         (STOP): Likewise.
61329         (strcspn): Do not use BP_SYM.
61330         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61331         "bp-asm.h".
61332         (PARMS): Do not use macros from bp-asm.h.
61333         (STR): Likewise.
61334         (STOP): Likewise.
61335         (strpbrk): Likewise.  Do not use BP_SYM.
61336         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
61337         "bp-asm.h".
61338         (PARMS): Do not use macros from bp-asm.h.
61339         (STR): Likewise.
61340         (CHR): Likewise.
61341         (strrchr): Likewise.  Do not use BP_SYM.
61342         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61343         (PARMS): Do not use macros from bp-asm.h.
61344         (SKIP): Likewise.
61345         (strspn): Do not use BP_SYM.
61346         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61347         (PARMS): Do not use macros from bp-asm.h.
61348         (STR): Likewise.
61349         (DELIM): Likewise.
61350         (SAVE): Likewise.
61351         (FUNCTION): Likewise.  Do not use BP_SYM.
61352         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61353         aliases.
61354         (strtok_r): Likewise.
61355         (__GI___strtok_r): Likewise.
61356         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61357         (PARMS): Do not use macros from bp-asm.h.
61358         (S1): Likewise.
61359         (S2): Likewise.
61360         (SIZE): Likewise.
61361         (__mpn_sub_n): Do not use BP_SYM.
61362         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61363         "bp-asm.h".
61364         (PARMS): Do not use macros from bp-asm.h.
61365         (S1): Likewise.
61366         (SIZE): Likewise.
61367         (__mpn_submul_1): Do not use BP_SYM.
61368         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
61369         <bp-sym.h>.
61370         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
61371         and <bp-asm.h>.
61372         (PARMS): Do not use macros from bp-asm.h.
61373         (FLAGS): Likewise.
61374         (PTID): Likewise.
61375         (TLS): Likewise.
61376         (CTID): Likewise.
61377         (__clone): Do not use BP_SYM.
61378         (clone): Do not use BP_SYM in weak_alias.
61379         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
61380         and <bp-asm.h>.
61381         (PARMS): Do not use macros from bp-asm.h.
61382         (LEN): Likewise.
61383         (__mmap64): Do not use BP_SYM.
61384         (mmap64): Do not use BP_SYM in weak_alias.
61385         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61386         <bp-sym.h> and <bp-asm.h>.
61387         (PARMS): Do not use macros from bp-asm.h.
61388         (__posix_fadvise64_l64): Do not use BP_SYM.
61389         * sysdeps/unix/sysv/linux/i386/semtimedop.S
61390         (PARMS): Do not use macros from bp-asm.h.
61391         (NSOPS): Likewise.
61392         (semtimedop): Do not use BP_SYM.
61393         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
61394         and <bp-asm.h>.
61396 2013-02-21  Allan McRae  <allan@archlinux.org>
61398         * manual/message.texi (Charset conversion in gettext):
61399         Move @end statement to beginning of line.
61401 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
61404         static.
61405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61406         Likewise.
61408         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
61409         (denorm): Likewise.
61410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
61411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
61413 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61415         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
61416         tail-call to the resolved function if pltexit isn't needed.
61418 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
61421         or Y being zero as being unlikely.
61422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61423         Likewise.
61425 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
61427         * manual/nss.texi (System Databases and Name Service Switch):
61428         Remove frobnicate @pxref.
61430 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61432         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61433         __attribute__ ((unused)) to __attribute__ ((__unused__)).
61435 2013-02-20  Petr Machata  <pmachata@redhat.com>
61437         * elf/elf.h (R_ARM_TARGET1): New macro.
61438         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
61439         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
61440         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
61441         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
61442         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
61443         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
61444         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
61445         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
61446         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
61447         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
61448         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
61449         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
61450         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
61451         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
61452         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
61453         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
61454         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
61455         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
61456         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
61457         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
61458         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
61459         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
61460         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
61461         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
61462         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
61463         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
61464         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
61465         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
61466         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
61467         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
61468         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
61469         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
61470         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
61471         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
61472         (R_ARM_THM_GOT_BREL12): Likewise.
61473         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
61474         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
61475         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
61476         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
61477         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
61478         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
61479         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
61480         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
61481         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
61483 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61485         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61486         __attribute_used__ to __attribute__ ((unused)).
61488 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61490         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
61491         powerpc mpa.c.
61492         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
61493         comment formatting.
61494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
61496 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
61498         [BZ #13550]
61499         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
61500         Remove macro.
61501         (ENTER): Remove both macro definitions.
61502         (LEAVE): Likewise.
61503         (CHECK_BOUNDS_LOW): Likewise.
61504         (CHECK_BOUNDS_HIGH): Likewise.
61505         (CHECK_BOUNDS_BOTH): Likewise.
61506         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
61507         (RETURN_BOUNDED_POINTER): Likewise.
61508         (RETURN_NULL_BOUNDED_POINTER): Likewise.
61509         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
61510         (POP_ERRNO_LOCATION_RETURN): Likewise.
61511         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
61512         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61513         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
61514         macros.
61515         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61516         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
61517         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
61518         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
61519         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
61520         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
61521         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
61522         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
61523         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
61524         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
61525         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
61526         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
61527         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61528         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
61529         removed macros.
61530         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61531         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
61532         macros.
61533         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61534         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
61535         * sysdeps/i386/i586/memset.S (memset): Likewise.
61536         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
61537         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61538         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
61539         macros.
61540         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61541         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
61542         Change uses of L(2) to L(out).
61543         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
61544         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
61545         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
61546         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61547         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
61548         removed macros.
61549         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61550         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
61551         macros.
61552         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61553         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
61554         (RETURN): Do not use macro LEAVE.
61555         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
61556         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
61557         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
61558         * sysdeps/i386/i686/memset.S (memset): Likewise.
61559         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
61560         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
61561         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61562         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
61563         Likewise.
61564         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61565         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
61566         L(1_2) and L(1_3) into L(1).
61567         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61568         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
61569         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61570         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
61571         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61572         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
61573         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
61574         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61575         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
61576         macros.
61577         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
61578         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61579         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
61580         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
61581         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
61582         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61583         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
61584         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
61585         * sysdeps/i386/strcspn.S (strcspn): Likewise.
61586         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
61587         * sysdeps/i386/strrchr.S (strrchr): Likewise.
61588         * sysdeps/i386/strspn.S (strspn): Likewise.
61589         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
61590         conditional code.
61591         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61592         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
61593         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61594         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
61595         L(1_3) into L(1_1).
61596         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
61597         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61598         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
61599         macros.
61600         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61602 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
61604         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
61605         macro.
61607 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61609         * math/atest-exp.c (exp_mpn): Remove ROUND.
61610         * math/atest-exp2.c (exp_mpn): Likewise.
61611         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
61613         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
61614         * stdlib/tst-tls-atexit-lib.c: Likewise.
61615         * stdlib/tst-tls-atexit.c: Likewise.
61617 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61619         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
61620         and __attribute_alloc_size__.
61622 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61624         * include/programs/xmalloc.h: Change __attribute_alloc_size to
61625         __attribute_alloc_size__.
61626         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
61627         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
61629 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61631         * include/programs/xmalloc.h: New file.
61632         * catgets/gencat.c: Include it.
61633         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
61634         * elf/pldd.c: Likewise.
61635         * iconv/iconv_charmap.c: Likewise.
61636         * iconv/iconvconfig.c: Likewise.
61637         * iconv/strtab.c: Likewise.
61638         * locale/programs/locale.c: Likewise.
61639         * locale/programs/localedef.h: Likewise.
61640         * locale/programs/simple-hash.c: Likewise.
61641         * nscd/nscd.h: Likewise.
61642         * nss/makedb.c: Likewise.
61643         * sysdeps/generic/ldconfig.h: Likewise.
61645 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61647         * Versions.def: Add GLIBC_2.18.
61648         * include/link.h (struct link_map): New member l_tls_dtor_count.
61649         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
61650         (__call_tls_dtors): Likewise.
61651         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
61652         __cxa_thread_atexit_impl.
61653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61654         Likewise.
61655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61656         Likewise.
61657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
61658         Likewise.
61659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
61660         Likewise.
61661         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
61663         Likewise.
61664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
61665         Likewise.
61666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61668         Likewise.
61669         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
61670         (tests): Add test case tst-tls-atexit.
61671         (modules-names): Add shared library for tst-tls-atexit.
61672         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
61673         (GLIBC_PRIVATE): Add __call_tls_dtors.
61674         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
61675         for libstdc++.
61676         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
61677         * stdlib/tst-tls-atexit.c: New test case.
61678         * stdlib/tst-tls-atexit-lib.c: New test case.
61680         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
61682         * elf/Versions (ld): Add _dl_find_dso_for_object.
61683         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
61684         * elf/dl-open.c (_dl_find_dso_for_object): New function.
61685         (dl_open_worker): Use _dl_find_dso_for_object.
61686         * elf/dl-sym.c (do_sym): Likewise.
61687         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
61689 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61691         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
61692         Syntactic changes only.
61693         (_dl_runtime_profile): Do a tail-call to the resolved function.
61695 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
61697         [BZ #13550]
61698         * sysdeps/x86_64/bp-asm.h: Remove file.
61699         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
61700         <bp-sym.h> and <bp-asm.h>.
61701         (__clone): Do not use BP_SYM.
61702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
61703         <bp-sym.h> and <bp-asm.h>.
61704         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61705         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
61706         "bp-asm.h".
61707         (_setjmp): Do not use BP_SYM.
61708         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
61709         "bp-asm.h".
61710         (setjmp): Do not use BP_SYM.
61711         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
61712         libc_hidden_def.
61713         (mempcpy): Do not use BP_SYM in weak_alias.
61714         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
61715         "bp-asm.h".
61716         (strchr): Do not use BP_SYM.
61717         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
61718         "bp-asm.h".
61719         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
61720         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
61721         (_start): Do not use BP_SYM.
61722         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
61723         "bp-asm.h".
61724         (strcat): Do not use BP_SYM.
61725         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
61726         "bp-asm.h".
61727         (STRCMP): Do not use BP_SYM.
61728         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
61729         "bp-asm.h".
61730         (STRCPY): Do not use BP_SYM.
61731         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
61732         "bp-asm.h".
61733         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
61734         "bp-asm.h".
61735         (FUNCTION): Do not use BP_SYM.
61736         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
61737         weak_alias.
61738         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
61740 2013-02-17  Andreas Jaeger  <aj@suse.de>
61742         * time/Versions: Sort entries.
61743         * string/Versions: Likewise.
61744         * resolv/Versions: Likewise.
61745         * posix/Versions: Likewise.
61746         * iconv/Versions: Likewise.
61747         * elf/Versions: Likewise.
61748         * wcsmbs/Versions: Likewise.
61750 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61752         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
61753         loop termination condition.
61755         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
61756         variable to calculate EZ.
61757         (__sqr): Likewise.
61759         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
61760         the lower precision input.
61762 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
61764         [BZ #13550]
61765         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
61766         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
61767         (run-via-rtld-prefix): Do not handle %-bp tests.
61768         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
61769         (all-object-suffixes): Remove .ob.
61770         (bppfx): Remove variable.
61771         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
61772         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
61773         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
61774         [$(build-bounded) = yes] (libtype.ob): Likewise.
61775         * Makerules (elide-routines.ob): Remove variable.
61776         (do-tests-clean): Do not handle *-bp.out.
61777         (common-mostlyclean): Do not handle *-bp and *-bp.out.
61778         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
61779         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
61780         (tests): Do not include $(tests-bp.out).
61781         (xtests): Do not include $(xtests-bp.out).
61782         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
61783         [$(build-bounded) = yes] ($(addprefix
61784         $(objpfx),$(binaries-bounded))): Remove rule.
61785         ($(objpfx)%-bp.out): Remove rule.
61786         * config.make.in (build-bounded): Remove variable.
61787         * crypt/Makefile [$(build-bounded) = yes]
61788         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
61789         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
61790         append to variable.
61791         [$(build-bounded) = yes] (install-lib): Likewise.
61792         [$(build-bounded) = yes] (generated): Likewise.
61793         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
61794         Remove rule.
61795         * intl/Makefile [$(build-bounded) = yes]
61796         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
61797         * math/Makefile [$(build-bounded) = yes]
61798         ($(tests:%=$(objpfx)%-bp): Likewise.
61799         * misc/Makefile [$(build-bounded) = yes]
61800         ($(objpfx)tst-tsearch-bp): Likewise.
61801         * nptl/Makeconfig (bounded-thread-library): Remove variable.
61802         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
61803         Remove dependency.
61804         * string/Makefile (o-objects.ob): Remove variable.
61805         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
61806         (CFLAGS-.ob): Remove variable.
61807         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
61808         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
61809         both definitions of variable.
61810         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
61811         (ASFLAGS-.ob): Remove variable.
61813 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
61815         [BZ #13550]
61816         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
61817         Remove __BOUNDED_POINTERS__ from condition.
61818         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
61819         * string/bits/string2.h [!__NO_STRING_INLINES &&
61820         !__BOUNDED_POINTERS__]: Likewise.
61821         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
61822         Likewise.
61823         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
61824         Remove conditional code.
61825         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
61826         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
61827         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
61828         condition.
61830         [BZ #13550]
61831         * csu/libc-start.c: Do not include <bp-sym.h>.
61832         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
61833         * elf/dl-open.c: Do not include <bp-sym.h>.
61834         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
61835         * math/fegetenv.c: Do not include <bp-sym.h>.
61836         (fegetenv): Do not use BP_SYM in versioned symbols.
61837         * nptl/sysdeps/pthread/bits/libc-lockP.h
61838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
61839         <bp-sym.h>.
61840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61841         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
61842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61843         (__pthread_mutex_destroy): Likewise.
61844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61845         (__pthread_mutex_lock): Likewise.
61846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61847         (__pthread_mutex_trylock): Likewise.
61848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61849         (__pthread_mutex_unlock): Likewise.
61850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61851         (__pthread_mutexattr_init): Likewise.
61852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61853         (__pthread_mutexattr_destroy): Likewise.
61854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61855         (__pthread_mutexattr_settype): Likewise.
61856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61857         (__pthread_rwlock_init): Likewise.
61858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61859         (__pthread_rwlock_destroy): Likewise.
61860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61861         (__pthread_rwlock_rdlock): Likewise.
61862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61863         (__pthread_rwlock_tryrdlock): Likewise.
61864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61865         (__pthread_rwlock_wrlock): Likewise.
61866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61867         (__pthread_rwlock_trywrlock): Likewise.
61868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61869         (__pthread_rwlock_unlock): Likewise.
61870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61871         (__pthread_key_create): Likewise.
61872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61873         (__pthread_setspecific): Likewise.
61874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61875         (__pthread_getspecific): Likewise.
61876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
61877         Likewise.
61878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61879         (_pthread_cleanup_push_defer): Likewise.
61880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61881         (_pthread_cleanup_pop_restore): Likewise.
61882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61883         (pthread_setcancelstate): Likewise.
61884         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
61885         <bp-sym.h>.
61886         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
61887         (memchr): Do not use BP_SYM in weak_alias.
61888         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
61889         (fegetenv): Do not use BP_SYM in versioned symbols.
61890         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
61891         (fesetenv): Do not use BP_SYM in versioned symbols.
61892         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
61893         (feupdateenv): Do not use BP_SYM in versioned symbols.
61894         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
61895         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
61896         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
61897         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
61898         (open64): Do not use BP_SYM in weak_alias.
61899         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
61900         (fegetenv): Do not use BP_SYM in versioned symbols.
61901         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
61902         (fesetenv): Do not use BP_SYM in versioned symbols.
61903         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
61904         (feupdateenv): Do not use BP_SYM in versioned symbols.
61905         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
61906         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
61907         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
61908         (feraiseexcept): Do not use BP_SYM in versioned symbols.
61909         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
61910         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
61911         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
61912         <bp-sym.h>.
61913         (__libc_start_main): Do not use BP_SYM.
61915 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
61918         redundant return line.
61919         (norm): Likewise.
61920         (denorm): Likewise.
61921         (dbl_mp): Likewise.
61922         (sub_magnitudes): Likewise.
61923         (__add): Likewise.
61924         (__sub): Likewise.
61925         (__mul): Likewise.
61926         (__inv): Likewise.
61927         (__dvd): Likewise.
61928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
61929         (norm): Likewise.
61930         (denorm): Likewise.
61931         (dbl_mp): Likewise.
61932         (sub_magnitudes): Likewise.
61933         (__add): Likewise.
61934         (__sub): Likewise.
61935         (__mul): Likewise.
61936         (__inv): Likewise.
61937         (__dvd): Likewise.
61939         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
61940         instead of __mul.
61941         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
61942         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
61943         (cc32): Likewise.
61945         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
61946         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
61947         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
61948         of __mul for squares.
61949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
61950         function
61951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
61952         Likewise.
61953         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
61954         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61956 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
61958         [BZ #13550]
61959         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
61960         code.
61961         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
61962         prototype or function definition.  Rename ubp_* variables and
61963         parameters.  Remove argv definitions conditional on
61964         [__BOUNDED_POINTERS__].
61965         * debug/backtrace.c (__backtrace): Do not use __unbounded.
61966         * elf/dl-runtime.c (_dl_fixup): Likewise.
61967         * include/set-hooks.h (RUN_HOOK): Likewise.
61968         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
61969         definition.
61970         * string/strcpy.c (strcpy): Do not use __unbounded.
61971         * sysdeps/generic/frame.h (struct layout): Likewise.
61972         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
61973         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
61974         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
61975         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
61976         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
61977         (__backtrace): Likewise.
61978         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
61979         use __ptrvalue.
61980         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
61981         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
61982         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
61983         Likewise.
61984         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
61985         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
61986         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
61987         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61988         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
61989         Do not use __unbounded.
61990         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
61991         Rename __unboundedrlimits parameter to rlimits in prototype.
61992         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
61993         Do not use __unbounded.
61994         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
61995         not use __ptrvalue.
61996         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61997         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
61998         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61999         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
62000         __ptrvalue or __unbounded.
62001         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
62002         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
62003         use __unbounded.
62004         (__new_msgctl): Do not use __ptrvalue.
62005         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
62006         __unbounded.
62007         (__libc_msgrcv): Do not use __ptrvalue.
62008         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
62009         startup_info): Do not use __unbounded.
62010         (__libc_start_main): Likewise.  Rename ubp_* variables and
62011         parameters.  Remove argv definitions conditional on
62012         [__BOUNDED_POINTERS__].
62013         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
62014         __ptrvalue.
62015         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
62016         use __unbounded.
62017         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
62018         or __ptrvalue.
62019         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
62020         use __unbounded.
62021         (__new_shmctl): Do not use __ptrvalue.
62022         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
62023         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
62024         Likewise.
62025         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
62026         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
62027         (__libc_sigaction): Likewise.
62028         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
62029         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
62030         Likewise.
62031         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62033 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
62035         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
62037         * string/mempcpy.c: Implement by calling memcpy.
62039 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62041         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
62043         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
62044         evaluation.
62046         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
62047         values in the mantissa.
62049         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62050         minimize writes to Z.
62051         (sub_magnitudes): Simplify code a bit.
62053 2013-02-12  Roland McGrath  <roland@hack.frob.com>
62055         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62056         from the message.  The linker prefixes all warnings with that already.
62058 2013-02-12  Andreas Schwab  <schwab@suse.de>
62060         [BZ #15078]
62061         * posix/regexec.c (extend_buffers): Add parameter min_len.
62062         (check_matching): Pass minimum needed length.
62063         (clean_state_log_if_needed): Likewise.
62064         (get_subexp): Likewise.
62065         * posix/Makefile (tests): Add bug-regex34.
62066         (bug-regex34-ENV): Define.
62067         * posix/bug-regex34.c: New file.
62069         [BZ #11561]
62070         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62071         elements compare against the byte sequence of it, not its name.
62072         * posix/Makefile (tests): Add bug-regex35.
62073         (bug-regex35-ENV): Define.
62074         * posix/bug-regex35.c: New file.
62076 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62078         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62079         comment.
62080         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62081         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62082         (CHECK_EOL): Add undef.
62084 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62086         * bits/stdlib-bsearch.h: New file.
62087         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62088         * stdlib/stdlib.h: Likewise.
62090 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62092         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62093         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62094         declaration.
62095         * manual/search.texi (Array Search Function): Add missing const in
62096         lfind prototype.
62097         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62098         declaration to use rlim_t.
62099         (Basic Scheduling Functions): Remove erroneous const from
62100         sched_getparam prototype.  Remove erroneous * from
62101         sched_get_priority_max and sched_get_priority_min prototypes.
62102         (Resource Usage): Fix summary @comment on vtimes to refer to
62103         sys/vtimes.h rather than vtimes.h.
62104         Add missing *s in vtimes prototype.
62105         (Limits on Resources): Fix ulimit prototype to return long int.
62106         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62107         prototypes to use long int rather than double.
62108         (BSD Random): Fix initstate and setstate to use char *, not void *.
62109         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62110         prototype to make second argument 'struct aiocb64 *const[]'.
62111         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62112         (Status of AIO Operations): Remove erroneous const in aio_return and
62113         aio_return64 prototypes.
62114         (Synchronizing I/O): Fix sync prototype to return void.
62115         * manual/startup.texi (Suboptions): Remove an erroneous const in
62116         getsubopt prototype.
62117         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62118         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62119         use size_t rather than int.
62120         (Scanning All Users): Likewise for getpwent_r.
62121         (Setting Groups): Add missing const to setgroups prototype.
62122         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62123         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62124         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62125         'const void *' rather than 'const char *'.
62126         (Host Address Functions): Likewise for inet_ntop.
62127         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62128         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62129         ssize_t for return value.
62130         (Sending Data): Likewise for send, sendto, sendmsg.
62131         (Socket Option Functions): Add a missing const in setsockopt prototype.
62132         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62133         use wchar_t for the argument.
62134         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62135         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62136         take no arguments.
62137         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62138         double/float/long double for second argument.
62139         Fix return types of significand, significandf, significandl.
62140         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62141         argument in fchmod prototype.
62142         (File Owner): Use uid_t and gid_t in fchown prototype.
62143         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62144         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62145         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62146         use 'const struct dirent **' as argument types to CMP function pointer
62147         argument.
62148         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62149         (File Times): Fix summary magic @comment for struct utimbuf and utime
62150         to refer to utime.h, not time.h.
62151         * manual/string.texi (Argz Functions): Add missing const in
62152         argz_extract and argz_next prototypes.
62153         (Finding Tokens in a String): Likewise for basename.
62154         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62155         (Copying and Concatenation): Fix typo in wmemmove prototype.
62156         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62157         (Signal Stack): Remove erroneous const in sigstack prototype.
62158         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62159         prototype.
62160         (Simple Calendar Time): Likewise for stime.
62161         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62162         prototype.
62163         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62164         say sys/sysctl.h instead.
62165         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62166         and vsyslog prototypes.
62168 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62170         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62171         Remove.
62173 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62175         * misc/sys/mman.h: Fix typo in mremap comment.
62177 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62179         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62180         the '\0' terminator.
62182 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62184         [BZ #13550]
62185         * debug/segfault.c: Don't include <bp-checks.h>.
62186         * sysdeps/generic/bp-checks.h: Remove file.
62187         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62188         (__GETDENTS): Don't use CHECK_N.
62189         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62190         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62191         (__getgroups): Don't use CHECK_N.
62192         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62193         (setgroups): Don't use CHECK_N.
62194         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62195         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62196         (__libc_msgrcv): Don't use CHECK_N.
62197         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62198         (__libc_msgsnd): Don't use CHECK_N.
62199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62200         <bp-checks.h>.
62201         (__libc_pread): Don't use CHECK_N.
62202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62203         include <bp-checks.h>.
62204         (__libc_pread64): Don't use CHECK_N.
62205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62206         include <bp-checks.h>.
62207         (__libc_pwrite): Don't use CHECK_N.
62208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62209         include <bp-checks.h>.
62210         (__libc_pwrite64): Don't use CHECK_N.
62211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62212         <bp-checks.h>.
62213         (__libc_pread): Don't use CHECK_N.
62214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62215         include <bp-checks.h>.
62216         (__libc_pread64): Don't use CHECK_N.
62217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62218         include <bp-checks.h>.
62219         (__libc_pwrite): Don't use CHECK_N.
62220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62221         include <bp-checks.h>.
62222         (__libc_pwrite64): Don't use CHECK_N.
62223         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62224         (do_pread): Don't use CHECK_N.
62225         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62226         (do_pread64): Don't use CHECK_N.
62227         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62228         (do_pwrite): Don't use CHECK_N.
62229         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62230         (do_pwrite64): Don't use CHECK_N.
62231         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62232         (__libc_readv): Don't use CHECK_N.
62233         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62234         (semop): Don't use CHECK_N.
62235         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62236         <bp-checks.h>.
62237         (semtimedop): Don't use CHECK_N.
62238         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62239         (__libc_pread): Don't use CHECK_N.
62240         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62241         <bp-checks.h>.
62242         (__libc_pread64): Don't use CHECK_N.
62243         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62244         <bp-checks.h>.
62245         (__libc_pwrite): Don't use CHECK_N.
62246         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62247         <bp-checks.h>.
62248         (__libc_pwrite64): Don't use CHECK_N.
62249         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62250         <bp-checks.h>.
62251         (__libc_msgrcv): Don't use CHECK_N.
62252         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62253         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62254         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62255         (__libc_writev): Don't use CHECK_N.
62257 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62259         * string/strcpy.c: Removed unused variable.
62261         * Makeconfig (+sysdep-includes): Define with := rather than =.
62262         Use an existing include/ subdir of each sysdeps dir before it.
62264 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62266         * nscd/connection.c (register_traced_file): Comment function.
62267         [HAVE_INOTIFY] (union __inev): Define.
62268         [HAVE_INOTIFY] (inotify_check_files): New function.
62269         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62270         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62271         clear_db_cache.
62272         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62274 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62276         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62277         loaded if not already and that a failure is permanent.
62279 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62281         [BZ #15006]
62282         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62283         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62285 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62287         [BZ #13550]
62288         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62289         (CHECK_1_NULL_OK): Likewise.
62290         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62291         (__fxstat): Do not use CHECK_1.
62292         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62293         <bp-checks.h>.
62294         (___fxstat64): Do not use CHECK_1.
62295         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62296         <bp-checks.h>.
62297         (__fxstatat): Do not use CHECK_1.
62298         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62299         <bp-checks.h>.
62300         (__fxstatat64): Do not use CHECK_1.
62301         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62302         <bp-checks.h>.
62303         (__fxstat): Do not use CHECK_1.
62304         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62305         <bp-checks.h>.
62306         (__fxstatat): Do not use CHECK_1.
62307         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62308         <bp-checks.h>.
62309         (__getresgid): Do not use CHECK_1.
62310         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62311         <bp-checks.h>.
62312         (__getresuid): Do not use CHECK_1.
62313         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62314         <bp-checks.h>.
62315         (__lxstat): Do not use CHECK_1.
62316         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62317         <bp-checks.h>.
62318         (__old_msgctl): Do not use CHECK_1.
62319         (__new_msgctl): Likewise.
62320         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62321         <bp-checks.h>.
62322         (__new_setrlimit): Do not use CHECK_1.
62323         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62324         <bp-checks.h>.
62325         (__old_shmctl): Do not use CHECK_1.
62326         (__new_shmctl): Likewise.
62327         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62328         <bp-checks.h>.
62329         (__xstat): Do not use CHECK_1.
62330         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62331         (__lxstat): Do not use CHECK_1.
62332         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62333         <bp-checks.h>.
62334         (___lxstat64): Do not use CHECK_1.
62335         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62336         (__old_msgctl): Do not use CHECK_1.
62337         (__new_msgctl): Likewise.
62338         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62339         <bp-checks.h>.
62340         (__gettimeofday): Do not use CHECK_1.
62341         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62342         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62343         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62344         <bp-checks.h>.
62345         (__gettimeofday): Do not use CHECK_1.
62346         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62347         (__old_shmctl): Do not use CHECK_1_NULL_OK.
62348         (__new_shmctl): Do not use CHECK_1.
62349         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62350         <bp-checks.h>.
62351         (do_sigtimedwait): Do not use CHECK_1.
62352         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62353         <bp-checks.h>.
62354         (do_sigwaitinfo): Do not use CHECK_1.
62355         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62356         <bp-checks.h>.
62357         (msgctl): Do not use CHECK_1.
62358         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62359         <bp-checks.h>.
62360         (shmctl): Do not use CHECK_1.
62361         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62362         (ustat): Do not use CHECK_1.
62363         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62364         <bp-checks.h>.
62365         (__fxstat): Do not use CHECK_1.
62366         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
62367         <bp-checks.h>.
62368         (__fxstatat): Do not use CHECK_1.
62369         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
62370         <bp-checks.h>.
62371         (__lxstat): Do not use CHECK_1.
62372         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
62373         <bp-checks.h>.
62374         (__xstat): Do not use CHECK_1.
62375         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
62376         (__xstat): Do not use CHECK_1.
62377         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
62378         (___xstat64): Do not use CHECK_1.
62380         [BZ #13550]
62381         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
62382         definitions.
62383         (CHECK_BOUNDS_HIGH): Likewise.
62384         * string/strcpy.c: Do not include <bp-checks.h>.
62385         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
62387 2013-02-07  Roland McGrath  <roland@hack.frob.com>
62389         * nscd/nscd-client.h (__nscd_drop_map_ref):
62390         Add __attribute__ ((unused)).
62391         * nis/nss-nisplus.h (niserr2nss): Likewise.
62393         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
62394         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
62396         * csu/libc-tls.c (init_static_tls, init_slotinfo):
62397         Remove inline keyword.
62398         * include/rounding-mode.h (round_away): Likewise.
62399         * libio/wfileops.c (adjust_wide_data): Likewise.
62400         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
62401         (__m128i_strloadu_tolower): Likewise.
62402         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
62403         (__m128i_strloadu_tolower): Likewise.
62404         * time/mktime.c (ydhms_diff): Likewise.
62405         * locale/elem-hash.h (elem_hash): Likewise.
62406         * locale/setlocale.c (setdata): Likewise.
62407         * posix/regex_internal.h (re_string_char_size_at): Likewise.
62408         (re_string_wchar_at): Likewise.
62409         (bitset_not, bitset_merge, bitset_mask): Likewise.
62410         [!(__GNUC__ > 3)] (inline): Remove macro.
62411         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
62412         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
62413         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
62414         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
62415         * string/memcmp.c (memcmp_bytes): Likewise.
62416         * locale/programs/locarchive.c (compute_hashval): Likewise.
62417         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
62418         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
62419         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
62420         * nss/getent.c (print_rpc, print_protocols): Likewise.
62421         (print_passwd, print_group, print_aliases): Likewise.
62422         * nis/nss-nisplus.h (niserr2nss): Likewise.
62423         * nscd/connections.c (restart_p): Likewise.
62424         Change return type to bool.
62426 2013-02-05  Roland McGrath  <roland@hack.frob.com>
62428         * Makeconfig (all-Depend-files): Add existing
62429         $(sorted-subdirs:=/Depend) files.
62430         (all-subdirs): Remove nss.
62431         * sysdeps/unix/inet/Subdirs: Add it here instead.
62432         * hesiod/Depend: New file.
62434         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
62435         instead of calling alloca.
62437         * io/lseek.c (__lseek): Rename to __libc_lseek.
62438         Define __lseek as an alias.
62440         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
62442 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
62444         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
62445         else clause and remove check for non-standard endianness.
62447 2013-02-04  David S. Miller  <davem@davemloft.net>
62449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62451 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
62453         [BZ #13550]
62454         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
62455         (__ubp_memchr): Remove prototype.
62456         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
62457         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62458         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
62459         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62460         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
62461         Remove alias.
62462         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
62463         (__ubp_memchr): Likewise.
62464         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
62465         (__ubp_memchr): Likewise.
62466         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
62467         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
62468         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
62469         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
62470         CHECK_STRING.
62471         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
62472         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
62473         (__getcwd): Do not use CHECK_STRING.
62474         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62475         <bp-checks.h>.
62476         (__real_chown): Do not use CHECK_STRING.
62477         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
62478         <bp-checks.h>.
62479         (fchownat): Do not use CHECK_STRING.
62480         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
62481         CHECK_STRING.
62482         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62483         <bp-checks.h>.
62484         (__lchown): Do not use CHECK_STRING.
62485         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62486         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62487         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62488         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
62489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62490         include <bp-checks.h>.
62491         (truncate64): Do not use CHECK_STRING.
62492         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62493         <bp-checks.h>.
62494         (__real_chown): Do not use CHECK_STRING.
62495         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62496         <bp-checks.h>.
62497         (__lchown): Do not use CHECK_STRING.
62498         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62499         <bp-checks.h>.
62500         (__chown): Do not use CHECK_STRING.
62501         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
62502         <bp-checks.h>.
62503         (truncate64): Do not use CHECK_STRING.
62504         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
62505         Likewise.
62506         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
62507         (__xmknod): Do not use CHECK_STRING.
62508         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
62509         <bp-checks.h>.
62510         (__xmknodat): Do not use CHECK_STRING.
62511         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62512         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
62514 2013-02-04  Andreas Schwab  <schwab@suse.de>
62516         [BZ #14142]
62517         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
62518         * include/netdb.h: Likewise for h_errno.
62519         * elf/tst-stackguard1.c: Include <tls.h>.
62521 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
62523         * elf/link.h (struct link_map): Extend the l_addr comment.
62524         * include/link.h (struct link_map): Likewise.
62526 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
62528         [BZ #13550]
62529         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
62530         (BOUNDED_1): Remove macro.
62531         * debug/backtrace.c: Don't include <bp-checks.h>.
62532         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
62533         (__backtrace): Likewise.
62534         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
62535         <bp-checks.h>.
62536         (__backtrace): Don't use BOUNDED_1.
62537         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
62538         <bp-checks.h>.
62539         (__backtrace): Don't use BOUNDED_1.
62540         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
62541         (__backtrace): Don't use BOUNDED_1.
62542         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
62543         (shmat): Don't use BOUNDED_N.
62545 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
62547         [BZ #13550]
62548         * sysdeps/generic/bp-start.h: Remove file.
62549         * csu/libc-start.c: Don't include <bp-start.h>.
62550         (LIBC_START_MAIN): Set up __environ directly instead of using
62551         INIT_ARGV_and_ENVIRON.
62552         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
62553         <bp-start.h>.
62555         [BZ #13550]
62556         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
62557         definitions.
62558         (CHECK_FCNTL): Likewise.
62559         (CHECK_N_PAGES): Likewise.
62561         [BZ #13550]
62562         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
62563         definitions.
62564         (CHECK_SIGSET_NULL_OK): Likewise.
62565         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
62566         <bp-checks.h>.
62567         (sigpending): Don't use CHECK_SIGSET.
62568         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
62569         <bp-checks.h>.
62570         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62571         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
62572         <bp-checks.h>.
62573         (do_sigsuspend): Don't use CHECK_SIGSET.
62574         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
62575         use CHECK_SIGSET.
62576         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
62577         (do_sigwait): Don't use CHECK_SIGSET.
62578         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
62579         use CHECK_SIGSET.
62580         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
62581         include <bp-checks.h>.
62582         (sigpending): Don't use CHECK_SIGSET.
62583         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
62584         include <bp-checks.h>.
62585         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62586         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
62587         <bp-checks.h>.
62588         (sigpending): Don't use CHECK_SIGSET.
62589         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
62590         <bp-checks.h>.
62591         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62593         [BZ #13550]
62594         * sysdeps/generic/bp-semctl.h: Remove file.
62595         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
62596         <bp-checks.h> and <bp-semctl.h>.
62597         (__old_semctl): Don't use CHECK_SEMCTL.
62598         (__new_semctl): Likewise.
62599         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
62600         and <bp-semctl.h>.
62601         (__old_semctl): Don't use CHECK_SEMCTL.
62602         (__new_semctl): Likewise.
62603         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
62604         <bp-checks.h> and <bp-semctl.h>.
62605         (__old_semctl): Don't use CHECK_SEMCTL.
62606         (__new_semctl): Likewise.
62607         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
62608         <bp-checks.h> and <bp-semctl.h>.
62609         (semctl): Don't use CHECK_SEMCTL.
62611         [BZ #13550]
62612         * Makerules (elide-bp-thunks): Remove variable.
62613         (elide-routines.oS): Don't use $(elide-bp-thunks).
62614         (elide-routines.os): Likewise.
62615         (elide-routines.o): Likewise.
62616         (elide-routines.op): Likewise.
62617         (elide-routines.og): Likewise.
62618         (objects): Don't use $(bp-thunks).
62619         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
62620         include.
62621         (common-generated): Do not add s-proto-bp.d.
62622         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
62623         (int): Likewise.
62624         (typ): Likewise.
62625         Do not generate makefile rules for bounded-pointer thunks.
62626         * sysdeps/generic/bp-thunks.h: Remove file.
62627         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
62628         * sysdeps/unix/s-proto-bp.S: Likewise.
62630         [BZ #15062]
62631         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
62632         parts of result separately when argument is not close to line from
62633         -i to i and one part of argument is small.
62634         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62635         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62636         * math/libm-test.inc (cacos_test): Add more tests.
62637         (casin_test): Likewise.
62638         (casinh_test): Likewise.
62639         * sysdeps/i386/fpu/libm-test-ulps: Update.
62640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62642 2013-01-31  David S. Miller  <davem@davemloft.net>
62644         * po/de.po: Update from translation team.
62646 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
62648         * time/tzfile.c: Include stdint.h for SIZE_MAX.
62650 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
62652         * configure.in (_AC_PROG_CC_C89): New definition.
62653         * configure: Regenerate.
62655         * configure.in (AC_PROG_CPP): New definition.
62656         * configure: Regenerate.
62658 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
62660         * debug/tst-backtrace.h: New file.
62661         * debug/tst-backtrace2.c: Include tst-backtrace.h.
62662         (ret): Remove variable.
62663         (x): Likewise.
62664         (FAIL): Remove macro.
62665         (NO_INLINE): Likewise.
62666         (fn1): Use match function instead of strstr.
62667         * debug/tst-backtrace3.c: Include tst-backtrace.h.
62668         (ret): Remove variable.
62669         (x): Likewise.
62670         (FAIL): Remove macro.
62671         (NO_INLINE): Likewise.
62672         (fn): Use match function instead of strstr.
62673         * debug/tst-backtrace4.c: Include tst-backtrace.h.
62674         (ret): Remove variable.
62675         (x): Likewise.
62676         (FAIL): Remove macro.
62677         (NO_INLINE): Likewise.
62678         (handle_signal): Use match function instead of strstr.
62679         * debug/tst-backtrace5.c: Include tst-backtrace.h.
62680         (ret): Remove variable.
62681         (x): Likewise.
62682         (FAIL): Remove macro.
62683         (NO_INLINE): Likewise.
62684         (handle_signal): Use match function instead of strstr.
62686 2013-01-23  Roland McGrath  <roland@hack.frob.com>
62688         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
62690 2013-01-23  David S. Miller  <davem@davemloft.net>
62692         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
62693         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
62694         argument of CAS if possible.
62695         * sysdeps/sparc/sparc64/bits/atomic.h
62696         (__arch_compare_and_exchange_val_32_acq): Likewise.
62697         (__arch_compare_and_exchange_val_64_acq): Likewise.
62699 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
62701         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
62702         * sysdeps/posix/ulimit.c: ... this.
62703         Include <limits.h>.
62704         * sysdeps/unix/bsd/ulimit.c: Remove file.
62706 2013-01-23  Adam Conrad  <adconrad@0c3.net>
62708         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
62709         (LDFLAGS-tst-array5): Likewise.
62711 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
62713         [BZ #15036]
62714         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
62715         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
62716         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
62717         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
62719 2013-01-21  David S. Miller  <davem@davemloft.net>
62721         * sysdeps/sparc/backtrace.c: New file.
62722         * sysdeps/sparc/sparc32/backtrace.h: New file.
62723         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
62724         * sysdeps/sparc/sparc64/backtrace.h: New file.
62725         * sysdeps/sparc/sparc64/backtrace.c: Delete.
62726         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
62727         -funwind-tables.
62729 2013-01-21  Andreas Schwab  <schwab@suse.de>
62731         [BZ #15020]
62732         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
62733         closed its stdout.
62735 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
62737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
62738         "mpa2.h".
62739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62741 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
62742             Mark Mitchell  <mark@codesourcery.com>
62743             Tom de Vries  <tom@codesourcery.com>
62744             Paul Pluzhnikov  <ppluzhnikov@google.com>
62746         * debug/tst-backtrace2.c: New file.
62747         * debug/tst-backtrace3.c: Likewise.
62748         * debug/tst-backtrace4.c: Likewise.
62749         * debug/tst-backtrace5.c: Likewise.
62750         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
62751         (CFLAGS-tst-backtrace3.c): Likewise.
62752         (CFLAGS-tst-backtrace4.c): Likewise.
62753         (CFLAGS-tst-backtrace5.c): Likewise.
62754         (LDFLAGS-tst-backtrace2): Likewise.
62755         (LDFLAGS-tst-backtrace3): Likewise.
62756         (LDFLAGS-tst-backtrace4): Likewise.
62757         (LDFLAGS-tst-backtrace5): Likewise.
62758         (tests): Add new tests tst-backtrace2, tst-backtrace3,
62759         tst-backtrace4 and tst-backtrace5.
62761 2013-01-18  Anton Blanchard  <anton@samba.org>
62762             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62764         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
62765         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
62766         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
62767         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
62768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62769         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
62770         "+r" and remove output regs list as redundant.  Add explicit inline
62771         asm to specify register of return val to work around compiler codegen
62772         bug.  Remove (int) cast on return value.  Add return type parameter to
62773         use in macro so that this macro does not truncate return value for
62774         64-bit values.
62775         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
62776         pass to INTERNAL_VSYSCALL_NCS.
62777         (INLINE_VSYSCALL): Add 'long int' as return type to
62778         INTERNAL_VSYSCALL_NCS macro invocation.
62779         (INTERNAL_VSYSCALL): Add 'long int' as return type to
62780         INTERNAL_VSYSCALL_NCS macro invocation.
62781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62783 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62785         [BZ #14496]
62786         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
62787         Fix application of SIMD FP exception mask.
62789         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
62790         mp_no from a power of two.
62791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
62792         __mpexp_twomm1.  Use __pow_mp.
62794         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
62795         multiplication.
62797 2013-01-17  David S. Miller  <davem@davemloft.net>
62799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62801 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
62803         [BZ #15023]
62804         * include/complex.h: Condition contents on [!_COMPLEX_H].
62805         (__kernel_casinhf): New prototype.
62806         (__kernel_casinh): Likewise.
62807         (__kernel_casinhl): Likewise.
62808         * math/Makefile (libm_calls): Add k_casinh.
62809         * math/k_casinh.c: New file.
62810         * math/k_casinhf.c: Likewise.
62811         * math/k_casinhl.c: Likewise.
62812         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
62813         finite nonzero arguments.
62814         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
62815         finite nonzero arguments.
62816         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
62817         finite nonzero arguments.
62818         * math/s_casinh.c: Do not include <float.h>.
62819         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
62820         * math/s_casinhf.c: Do not include <float.h>.
62821         (__casinhf): Move code for finite nonzero arguments to
62822         k_casinhf.c.
62823         * math/s_casinhl.c: Do not include <float.h>.
62824         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
62825         redefine.
62826         (__casinhl): Move code for finite nonzero arguments to
62827         k_casinhl.c.
62828         * math/libm-test.inc (cacos_test): Add more tests.
62829         * sysdeps/i386/fpu/libm-test-ulps: Update.
62830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62832 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
62834         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
62835         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
62836         [!HAVE_MREMAP]: Remove [defined linux] case.
62837         * malloc/arena.c: Do not include <malloc-sysdep.h>.
62839 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62841         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
62843 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
62845         * elf/elf.h (R_386_SIZE32): New relocation.
62846         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
62847         R_386_SIZE32.
62848         (elf_machine_rela): Likewise.
62849         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62850         R_X86_64_SIZE64 and R_X86_64_SIZE32.
62852 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
62854         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
62855         (FP_FAST_FMA): Do not define.
62856         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
62857         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
62858         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
62859         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
62860         !_SOFT_FLOAT]: Likewise.
62861         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
62862         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
62863         value.
62864         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
62865         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
62866         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
62867         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
62868         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
62869         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
62870         file.
62872 2013-01-16  Andreas Schwab  <schwab@suse.de>
62874         [BZ #14327]
62875         * include/stdlib.h (__mktemp): Add declaration.
62876         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
62877         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
62879 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62881         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
62882         definitions.
62883         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62884         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
62885         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
62886         definitions here.
62887         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
62888         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
62889         definitions.
62890         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
62891         and ONE.
62892         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
62893         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
62894         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
62895         definitions.
62896         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
62897         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
62898         definitions.
62899         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62901         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
62903 2013-01-15  David S. Miller  <davem@davemloft.net>
62905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62906         trunc{,f} to libm-sysdep_routes.
62907         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
62909         file.
62910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
62911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
62912         file.
62913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
62914         file.
62915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
62916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
62917         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
62918         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
62919         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
62920         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
62921         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
62922         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
62924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62925         nearbyint{,f} to libm-sysdep_routes.
62926         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
62928         New file.
62929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
62930         file.
62931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
62932         New file.
62933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
62934         file.
62935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
62936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
62937         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
62938         file.
62939         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
62940         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
62941         file.
62942         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
62943         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
62944         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
62946         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62947         libc_feholdexcept and libc_fesetenv.
62949 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
62951         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
62953 2013-01-14  David S. Miller  <davem@davemloft.net>
62955         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
62956         (SPARC_ASM_VIS2_IFUNC): Likewise.
62957         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
62958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
62959         use of 'siam' instruction.
62960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
62961         Likewise.
62962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
62963         Likewise.
62964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
62965         Likewise.
62966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
62967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
62968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
62969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
62970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
62971         file.
62972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
62973         file.
62974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
62975         file.
62976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
62977         file.
62978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
62979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
62980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
62981         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
62982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
62983         new VIS2 routines.
62984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62987         Likewise.
62988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
62993         routines to libm-sysdep_routines.
62994         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62997         fdim/fdimf to libm-sysdep_routines.
62998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
62999         file.
63000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
63001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
63002         file.
63003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
63004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
63005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
63006         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
63007         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
63008         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
63009         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
63011 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63013         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
63014         to optimize copies.
63016         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
63017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
63021         local variable MPTWO.
63022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63023         Likewise.
63025 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63027         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
63028         GLOB_NOESCAPE.
63030 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63032         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
63034 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63036         * manual/pattern.texi (glob_t): Document gl_flags.
63037         (glob64_t): Likewise.
63039 2013-01-11  David S. Miller  <davem@davemloft.net>
63041         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
63042         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
63043         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
63044         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
63045         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
63046         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
63047         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
63048         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
63049         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63050         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63051         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63052         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63053         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63055         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63056         sparc V9 rather than using V8 code.
63057         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63058         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63060         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63061         Move to...
63062         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63063         Here.
63065 2013-01-11  Roland McGrath  <roland@hack.frob.com>
63067         [BZ #14941]
63068         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63069         not in the main loop.
63070         * configure: Regenerated.
63072 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63074         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63075         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63076         to just #else.
63077         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63078         [!__GLIBC_HAVE_LONG_LONG] case.
63079         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63080         condition to just #else.
63081         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63082         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63083         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63084         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63085         unconditional.
63086         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63087         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63088         #elif condition to just #else.
63089         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63090         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63091         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63092         #elif condition to just #else.
63094 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63096         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63097         (EF_MIPS_ARCH_64): Fix value.
63098         (EF_MIPS_ARCH_32R2): New.
63099         (EF_MIPS_ARCH_64R2): New.
63101 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63103         * Makeconfig (+link-pie-before-libc): New.
63104         (+link-pie-after-libc): Likewise.
63105         (+link-pie-tests): Likewise.
63106         (+link-pie): Rewritten.
63107         (link-before-libc): Remove $(config-LDFLAGS).
63108         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63109         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63110         (config-LDFLAGS): Renamed to ...
63111         (rtld-LDFLAGS): This.
63112         (rtld-tests-LDFLAGS): New macro.
63113         (link-libc-rpath-link): Likewise.
63114         (link-libc-tests-rpath-link): Likewise.
63115         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63116         (link-libc): Prepand $(link-libc-rpath-link).
63117         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63118         (test-program-prefix): New macro.
63119         (test-via-rtld-prefix): Likewise.
63120         (test-program-cmd): Likewise.
63121         (host-test-program-cmd): Likewise.
63122         * Makefile ($(common-objpfx)testrun.sh): Replace
63123         $(run-program-prefix) with $(test-program-prefix).
63124         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63125         $(rtld-LDFLAGS).
63126         ($(common-objpfx)shlib.lds): Likewise.
63127         (build-module-helper): Likewise.
63128         ($(common-objpfx)format.lds): Likewise.
63129         * Rules (binaries-pie-tests): New.
63130         (binaries-pie-notests): Likewise.
63131         (binaries-pie): Rewritten.
63132         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63133         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63134         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63135         (make-test-out): Replace $(host-built-program-cmd) with
63136         $(host-test-program-cmd).
63137         * config.make.in (build-hardcoded-path-in-tests): New variable.
63138         * configure.in (--enable-hardcoded-path-in-tests): New configure
63139         option.
63140         (hardcoded_path_in_tests): New AC_SUBST.
63141         * configure: Regenerated.
63142         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63143         $(built-program-cmd) with $(test-program-cmd).
63144         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63145         (test_program_cmd): This.
63146         * elf/Makefile ($(objpfx)order.out): Run test with
63147         $(test-program-prefix).
63148         ($(objpfx)order2.out): Likewise.
63149         ($(objpfx)tst-initorder.out): Likewise.
63150         ($(objpfx)tst-initorder2.out): Likewise.
63151         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63152         $(test-program-cmd).
63153         ($(objpfx)tst-array1-static.out): Likewise.
63154         ($(objpfx)tst-array2.out): Likewise.
63155         ($(objpfx)tst-array3.out): Likewise.
63156         ($(objpfx)tst-array4.out): Likewise.
63157         ($(objpfx)tst-array5.out): Likewise.
63158         ($(objpfx)tst-array5-static.out): Likewise.
63159         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63160         $(test-program-cmd).
63161         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63162         $(run-program-prefix) with $(test-program-prefix).
63163         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63164         (test_program_prefix): This.
63165         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63166         $(run-program-prefix) with $(test-program-prefix).
63167         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63168         (test_program_prefix): This.
63169         * iconvdata/tst-tables.sh: Likewise.
63170         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63171         $(run-program-prefix) with $(test-program-prefix).
63172         ($(objpfx)tst-translit.out): Likewise.
63173         ($(objpfx)tst-gettext2.out): Likewise.
63174         ($(objpfx)tst-gettext4.out): Likewise.
63175         ($(objpfx)tst-gettext6.out): Likewise.
63176         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63177         (test_program_prefix): This.
63178         * intl/tst-gettext2.sh: Likewise.
63179         * intl/tst-gettext4.sh  Likewise.
63180         * intl/tst-gettext6.sh: Likewise.
63181         * intl/tst-translit.sh: Likewise.
63182         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63183         with $(test-program-cmd).
63184         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63185         $(run-program-prefix) with $(test-program-prefix).
63186         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63187         (test_program_prefix): This.
63188         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63189         $(run-program-prefix) with $(test-program-prefix).
63190         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63191         (test_program_prefix): This.
63192         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63193         * posix/Makefile ($(objpfx)globtest.out): Replace
63194         $(run-via-rtld-prefix) and $(test-wrapper) with
63195         $(test-program-prefix) and $(test-via-rtld-prefix).
63196         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63197         $(test-program-prefix).
63198         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63199         $(host-test-program-cmd).
63200         (tst-spawn-ARGS): Likewise.
63201         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63202         $(test-program-prefix).
63203         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63204         (test_via_rtld_prefix): This.
63205         (test_wrapper): Renamed to ...
63206         (test_program_prefix): This.
63207         (run_program_prefix): Replaced by test_program_prefix.
63208         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63209         (test_program_prefix): This.
63210         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63211         with $(host-test-program-cmd).
63212         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63213         $(run-program-prefix) with $(test-program-prefix).
63214         ($(objpfx)tst-printf.out): Likewise.
63215         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63216         $(test-program-cmd).
63217         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63218         (test_program_prefix): This.
63219         * stdio-common/tst-unbputc.sh: Likewise.
63220         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63221         $(run-program-prefix) with $(test-program-prefix).
63222         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63223         (test_program_prefix): This.
63224         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63225         $(built-program-cmd) with $(test-program-cmd).
63227 2013-01-11  Andreas Jaeger  <aj@suse.de>
63229         [BZ #15003]
63230         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63231         value. Sync with Linux 3.7.
63233 2013-01-10  David S. Miller  <davem@davemloft.net>
63235         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63236         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63237         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63239 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63241         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63242         never set.
63243         * configure: Regenerated.
63245 2013-01-10  David S. Miller  <davem@davemloft.net>
63247         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63248         sparc V9 rather than using V8 code.
63249         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63250         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63252 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63254         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63255         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63256         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63257         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63258         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63259         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63260         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63261         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63262         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63263         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63264         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63265         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63266         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63267         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63268         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63269         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63270         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63271         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63272         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63273         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63274         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63275         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63276         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63277         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63278         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63279         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63280         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63282 2013-01-10  David S. Miller  <davem@davemloft.net>
63284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63286 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63288         * posix/Makefile (tests-static): New variable.
63289         (tests): Add $(tests-static).
63290         (tst-exec-static-ARGS): New variable.
63291         (tst-spawn-static-ARGS): Likewise.
63292         * posix/tst-exec-static.c: New file.
63293         * posix/tst-spawn-static.c: Likewise.
63294         * posix/tst-exec.c: Support run directly.
63295         * posix/tst-spawn.c: Likewise.
63297 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63299         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63300         long.
63301         * math/bits/mathcalls.h (llrint): Likewise.
63302         (llround): Likewise.
63303         * stdlib/stdlib.h (struct drand48_data): Likewise.
63304         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63305         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63306         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63307         Likewise.
63308         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63309         Likewise.
63310         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63311         (elf_greg_t): Likewise.
63312         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63313         (__jmp_buf): Likewise.
63314         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63315         definitions.
63316         (llrint): Likewise, for all definitions.
63317         (llrintl): Likewise.
63319         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63320         Remove [__GNUC__] condition.
63321         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63322         condition to just [__USE_ISOC99].
63323         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63325 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63327         [BZ #14200]
63328         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63329         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63330         defined.
63331         (_POSIX_V6_ILP32_OFF32): Likewise.
63332         (_XBS5_ILP32_OFF32): Likewise.
63333         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63334         (__ILP32_OFFBIG_LDFLAGS): Likewise.
63336 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63338         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63341         doubles __mpexp_twomm1.  Adjust usage.
63342         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63343         Remove.
63345 2013-01-10  Andreas Schwab  <schwab@suse.de>
63347         [BZ #14964]
63348         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63349         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63351 2013-01-09  David S. Miller  <davem@davemloft.net>
63353         [BZ #15003]
63354         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63355         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63356         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63357         (TCP_FASTOPEN): Define.
63358         (tcp_repair_opt): New structure.
63359         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63360         enum values.
63361         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63362         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63363         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63364         (tcp_cookie_transactions): New structure.
63366 2013-01-09  Anton Blanchard  <anton@samba.org>
63368         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
63369         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
63370         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
63371         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
63373 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
63375         * include/features.h (__USE_ANSI): Remove.
63377 2013-01-09  Roland McGrath  <roland@hack.frob.com>
63379         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
63381         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
63383 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
63385         * sysdeps/s390/fpu/libm-test-ulps: Update.
63387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63389         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
63390         (__acr): Likewise.
63391         (__cpy): Likewise.
63392         (norm): Likewise.
63393         (denorm): Likewise.
63394         (__mp_dbl): Likewise.
63395         (__dbl_mp): Likewise.
63396         (add_magnitudes): Likewise.
63397         (sub_magnitudes): Likewise.
63398         (__add): Likewise.
63399         (__sub): Likewise.
63400         (__mul): Likewise.
63401         (__inv): Likewise.
63402         (__dvd): Likewise.
63403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
63404         (__acr): Likewise.
63405         (__cpy): Likewise.
63406         (norm): Likewise.
63407         (denorm): Likewise.
63408         (__mp_dbl): Likewise.
63409         (__dbl_mp): Likewise.
63410         (add_magnitudes): Likewise.
63411         (sub_magnitudes): Likewise.
63412         (__add): Likewise.
63413         (__sub): Likewise.
63414         (__mul): Likewise.
63415         (__inv): Likewise.
63416         (__dvd): Likewise.
63417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
63418         (__acr): Likewise.
63419         (__cpy): Likewise.
63420         (norm): Likewise.
63421         (denorm): Likewise.
63422         (__mp_dbl): Likewise.
63423         (__dbl_mp): Likewise.
63424         (add_magnitudes): Likewise.
63425         (sub_magnitudes): Likewise.
63426         (__add): Likewise.
63427         (__sub): Likewise.
63428         (__mul): Likewise.
63429         (__inv): Likewise.
63430         (__dvd): Likewise.
63432 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
63434         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
63435         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
63436         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
63437         2 && __USE_EXTERN_INLINES]: Likewise.
63439 2013-01-08  Andreas Jaeger  <aj@suse.de>
63441         [BZ# 14985]
63442         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
63443         Remove.
63444         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63445         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63447 2013-01-07  Anton Blanchard  <anton@samba.org>
63449         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
63450         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63451         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
63452         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63453         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63454         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63455         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
63456         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
63457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63458         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63459         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63460         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63461         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63462         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63463         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63464         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63465         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63466         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63467         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
63468         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63469         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
63470         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
63471         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63472         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63473         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
63474         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63475         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
63476         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63477         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
63478         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63479         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
63480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63481         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63482         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63483         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63484         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63485         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63486         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63487         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
63488         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
63489         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
63490         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63491         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63493 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
63495         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
63496         (__MALLOC_PMT): Likewise.
63497         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
63498         [__GNUC__], only on [_LIBC].
63499         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63500         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
63501         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63502         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
63503         forward declaration.
63504         (realloc_hook_ini): Likewise.
63505         (memalign_hook_ini): Likewise.
63506         (__libc_memalign): Do not use __MALLOC_PMT in variable
63507         declaration.
63508         (__libc_valloc): Likewise.
63509         (__libc_pvalloc): Likewise.
63510         (__libc_calloc): Likewise.
63511         (__posix_memalign): Likewise.
63513         [BZ #14996]
63514         * math/s_casinh.c: Include <float.h>.
63515         (__casinh): Do not do computation with squaring and square root
63516         for large arguments.
63517         * math/s_casinhf.c: Include <float.h>.
63518         (__casinhf): Do not do computation with squaring and square root
63519         for large arguments.
63520         * math/s_casinhl.c: Include <float.h>.
63521         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
63522         (__casinhl): Do not do computation with squaring and square root
63523         for large arguments.
63524         * math/libm-test.inc (casin_test): Add more tests.
63525         (casinh_test): Likewise.
63526         * sysdeps/i386/fpu/libm-test-ulps: Update.
63527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63529 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
63531         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
63532         (__x86_64_raw_data_cache_size): Likewise.
63533         (__x86_64_data_cache_size_half): Likewise.
63534         (__x86_64_raw_data_cache_size_half): Likewise.
63535         (__x86_64_shared_cache_size): Likewise.
63536         (__x86_64_raw_shared_cache_size): Likewise.
63537         (__x86_64_shared_cache_size_half): Likewise.
63538         (__x86_64_raw_shared_cache_size_half): Likewise.
63539         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
63540         to ...
63541         (__x86_data_cache_size): This.
63542         (__x86_64_raw_data_cache_size): Renamed to ...
63543         (__x86_raw_data_cache_size): This.
63544         (__x86_64_data_cache_size_half): Renamed to ...
63545         (__x86_data_cache_size_half): This.
63546         (__x86_64_raw_data_cache_size_half): Renamed to ...
63547         (__x86_raw_data_cache_size_half): This.
63548         (__x86_64_shared_cache_size): Renamed to ...
63549         (__x86_shared_cache_size): This.
63550         (__x86_64_raw_shared_cache_size): Renamed to ...
63551         (__x86_raw_shared_cache_size): This.
63552         (__x86_64_shared_cache_size_half): Renamed to ...
63553         (__x86_shared_cache_size_half): This.
63554         (__x86_64_raw_shared_cache_size_half): Renamed to ...
63555         (__x86_raw_shared_cache_size_half): This.
63556         * sysdeps/x86_64/memcpy.S: Updated.
63557         * sysdeps/x86_64/memset.S: Likewise.
63558         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
63559         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63560         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63562 2013-01-04  David S. Miller  <davem@davemloft.net>
63564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63566 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
63568         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
63569         1 to avoid redefinition warning.
63570         (__USE_GNU): Don't define.
63571         (init_signaling_nan): Protoize.
63573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63575 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63577         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
63578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
63579         (__cpymn): Likewise.
63580         (norm): Remove commented code.
63581         (denorm): Likewise.
63582         (__mp_dbl): Likewise.
63583         (__inv): Likewise.
63584         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
63585         (__cpymn): Likewise.
63586         (norm): Remove commented code.
63587         (denorm): Likewise.
63588         (__mp_dbl): Likewise.
63589         (__inv): Likewise.
63591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
63592         mp_no value for 1.0 and 2.0.
63593         (norm): Use RADIXI instead of radixi.d.
63594         (denorm): Likewise.
63595         (__mul): Use 0.0 instead of zero.d.
63596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
63597         mp_no value for 1.0 and 2.0.
63598         (norm): Use RADIXI instead of radixi.d.
63599         (denorm): Likewise.
63600         (__mul): Use 0.0 instead of zero.d.
63602 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
63604         [BZ #14994]
63605         * math/s_casinh.c (__casinh): Reduce finite argument to first
63606         quadrant then set signs of results at the end.
63607         * math/s_casinhf.c (__casinhf): Likewise.
63608         * math/s_casinhl.c (__casinhl): Likewise.
63609         * math/libm-test.inc (casin_test): Add more tests.
63610         (casinh_test): Likewise.
63611         * sysdeps/i386/fpu/libm-test-ulps: Update.
63612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63614 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63616         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
63618         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
63620         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
63621         declarations.
63622         (denorm): Likewise.
63623         (__mp_dbl): Likewise.
63624         (__inv): Likewise.
63626         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
63627         and adjust the header comment.
63629         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
63630         variable name from declaration.
63632 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
63634         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63635         Initialize COMMON_CPUID_INDEX_7 element.
63636         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
63637         (CPUID_RTM): Likewise.
63638         (HAS_RTM): Likewise.
63639         (COMMON_CPUID_INDEX_7): New enum.
63641 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
63643         [BZ #14981]
63644         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
63645         size is zero, record memory as freed.
63647 2013-01-03  Andreas Jaeger  <aj@suse.de>
63649         * po/ia.po: Add new Interlingua translation.
63651 2012-01-03  Allan McRae  <allan@archlinux.org>
63653         * locale/programs/localedef.c: Fix description of '--posix' flag.
63655 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
63657         * NEWS: Update dates in second copyright notice.
63658         * README: Update copyright dates in example.
63659         * manual/libc.texinfo: Update copyright dates.
63660         * scripts/test-installation.pl: Update copyright date in --version
63661         output.
63663         * hurd/ctty-input.c: Fix copyright notice formatting.
63664         * hurd/ctty-output.c: Likewise.
63665         * hurd/dtable.c: Likewise.
63666         * hurd/hurd-raise.c: Likewise.
63667         * hurd/hurdprio.c: Likewise.
63668         * hurd/msgportdemux.c: Likewise.
63669         * misc/sys/file.h: Likewise.
63670         * misc/sys/ioctl.h: Likewise.
63671         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
63672         * sysdeps/mach/hurd/chdir.c: Likewise.
63673         * sysdeps/mach/hurd/fchdir.c: Likewise.
63674         * sysdeps/mach/hurd/rename.c: Likewise.
63675         * sysdeps/mach/hurd/rmdir.c: Likewise.
63676         * sysdeps/mach/hurd/seekdir.c: Likewise.
63677         * sysdeps/mach/hurd/setsid.c: Likewise.
63678         * sysdeps/posix/wait3.c: Likewise.
63680         * All files with FSF copyright notices: Update copyright dates
63681         using scripts/update-copyrights.
63682         * intl/plural.c: Regenerated.
63683         * locale/programs/charmap-kw.h: Likewise.
63684         * locale/programs/locfile-kw.h: Likewise.
63686 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63688         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
63689         four values.
63691         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
63692         calculation loop and add branch prediction.
63694         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
63695         check access beyond bounds of m1np.
63697         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
63698         MPTWO.
63699         (__inv): Remove local variable MPTWO to use the global
63700         constant.
63701         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
63702         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
63703         variable MPTWO.
63704         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
63705         MP3HALFS static const.
63707 2013-01-01  David S. Miller  <davem@davemloft.net>
63709         * po/ca.po: Update from translation team.
63711 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
63713         * scripts/update-copyrights: New file.
63714         * Makeconfig: Reformat copyright notice.
63715         * ctype/ctype.h: Likewise.
63716         * debug/swprintf_chk.c: Likewise.
63717         * elf/dl-cache.c: Likewise.
63718         * elf/dl-debug.c: Likewise.
63719         * elf/dl-object.c: Likewise.
63720         * grp/initgroups.c: Likewise.
63721         * hurd/Makefile: Likewise.
63722         * hurd/hurd/signal.h: Likewise.
63723         * hurd/hurdfault.c: Likewise.
63724         * hurd/hurdioctl.c: Likewise.
63725         * hurd/hurdlookup.c: Likewise.
63726         * hurd/intr-msg.c: Likewise.
63727         * iconv/gconv_open.c: Likewise.
63728         * libio/swprintf.c: Likewise.
63729         * locale/lc-ctype.c: Likewise.
63730         * locale/nl_langinfo.c: Likewise.
63731         * mach/Machrules: Likewise.
63732         * mach/Makefile: Likewise.
63733         * malloc/obstack.h: Likewise.
63734         * manual/Makefile: Likewise.
63735         * manual/tsort.awk: Likewise.
63736         * misc/bits/stab.def: Likewise.
63737         * nis/nis_print_group_entry.c: Likewise.
63738         * nis/nis_table.c: Likewise.
63739         * nis/nss_compat/compat-pwd.c: Likewise.
63740         * nis/nss_compat/compat-spwd.c: Likewise.
63741         * po/Makefile: Likewise.
63742         * posix/fnmatch.c: Likewise.
63743         * posix/regex.h: Likewise.
63744         * resolv/Makefile: Likewise.
63745         * resolv/nss_dns/dns-network.c: Likewise.
63746         * resolv/res_hconf.c: Likewise.
63747         * scripts/gen-sorted.awk: Likewise.
63748         * soft-fp/soft-fp.h: Likewise.
63749         * stdio-common/printf.h: Likewise.
63750         * stdlib/monetary.h: Likewise.
63751         * stdlib/random.c: Likewise.
63752         * stdlib/random_r.c: Likewise.
63753         * sysdeps/generic/Makefile: Likewise.
63754         * sysdeps/gnu/Makefile: Likewise.
63755         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63756         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63757         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63758         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63759         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63760         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63761         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63762         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63763         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63764         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63765         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63766         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63767         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63768         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63769         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
63770         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63771         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63772         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63773         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63774         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63775         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63776         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63777         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63778         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63779         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
63780         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63781         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63782         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
63783         * sysdeps/mach/hurd/errnos.awk: Likewise.
63784         * sysdeps/mach/hurd/fork.c: Likewise.
63785         * sysdeps/mach/hurd/getcwd.c: Likewise.
63786         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
63787         * sysdeps/mach/hurd/mmap.c: Likewise.
63788         * sysdeps/mach/hurd/utimes.c: Likewise.
63789         * sysdeps/mach/hurd/xmknod.c: Likewise.
63790         * sysdeps/posix/profil.c: Likewise.
63791         * sysdeps/posix/readdir_r.c: Likewise.
63792         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63793         * sysdeps/powerpc/bits/setjmp.h: Likewise.
63794         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
63795         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
63796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63797         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63798         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63799         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63801         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63802         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63803         * sysdeps/pthread/lio_listio.c: Likewise.
63804         * sysdeps/sparc/dl-procinfo.h: Likewise.
63805         * sysdeps/unix/i386/sysdep.S: Likewise.
63806         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
63807         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
63808         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
63809         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
63810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63811         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
63812         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
63813         * sysdeps/unix/sysv/linux/speed.c: Likewise.
63814         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
63815         * sysdeps/wordsize-32/divdi3.c: Likewise.
63816         * time/sys/time.h: Likewise.
63817         * wcsmbs/Makefile: Likewise.
63819 2013-01-01  David S. Miller  <davem@davemloft.net>
63821         * po/fr.po: Update from translation team.
63823         * catgets/gencat.c: Update copyright year.
63824         * csu/version.c: Likewise.
63825         * debug/catchsegv.sh: Likewise.
63826         * debug/pcprofiledump.c: Likewise.
63827         * debug/xtrace.sh: Likewise.
63828         * elf/ldconfig.c: Likewise.
63829         * elf/ldd.bash.in: Likewise.
63830         * elf/pldd.c: Likewise.
63831         * elf/sotruss.ksh: Likewise.
63832         * elf/sprof.c: Likewise.
63833         * iconv/iconv_prog.c: Likewise.
63834         * iconv/iconvconfig.c: Likewise.
63835         * locale/programs/locale.c: Likewise.
63836         * locale/programs/localedef.c: Likewise.
63837         * login/programs/pt_chown.c: Likewise.
63838         * malloc/memusage.sh: Likewise.
63839         * malloc/memusagestat.c: Likewise.
63840         * malloc/mtrace.pl: Likewise.
63841         * nscd/nscd.c: Likewise.
63842         * nss/getent.c: Likewise.
63843         * nss/makedb.c: Likewise.
63844         * posix/getconf.c: Likewise.
63846 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63848         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
63849         numbers.
63851 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
63853         * math/bits/mathcalls.h (modf): Use __nonnull.
63855 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63857         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
63858         (split): Use macro CN instead of the bare value.
63859         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
63860         could be used.
63861         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
63862         instead of the bare value.
63863         (power1): Likewise.
63865 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63867         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
63868         __ATAN_TWOM.
63869         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63871         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
63872         their values.
63873         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63874         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63875         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
63876         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63878 2012-12-28  Andreas Jaeger  <aj@suse.de>
63880         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
63881         values are from Linux 3.7.
63883         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
63884         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
63886 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63888         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
63889         TRUE case.
63891         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
63892         (norm): Likewise.
63893         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
63894         variables with preprocessor constants.
63895         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63896         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63897         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63899 2012-12-27  Bruno Haible  <bruno@clisp.org>
63901         [BZ #14317]
63902         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
63903         only if needed.
63905 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63907         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
63908         and use variable directly.
63909         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
63911         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
63912         MPONE.
63913         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
63914         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
63915         variable MPONE.
63916         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63918         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
63919         include directive.  Remove local variable MPONE.
63920         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
63921         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
63922         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63924 2012-12-25  David S. Miller  <davem@davemloft.net>
63926         * version.h (RELEASE): Set to "development".
63927         (VERSION): Set to "2.17.90".
63928         * NEWS: Add 2.18 section.
63930 2012-12-21  David S. Miller  <davem@davemloft.net>
63932         * po/hr.po: Update from translation team.
63934 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63936         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
63938 2012-12-19  Steve Ellcey  <sellcey@mips.com>
63940         * NEWS:  Mention new memcpy for MIPS.
63942 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63944         * manual/contrib.texi (Contributors): Spelling correction.
63946 2012-12-15  David S. Miller  <davem@davemloft.net>
63948         * po/ru.po: Update from translation team.
63950 2012-12-13  David S. Miller  <davem@davemloft.net>
63952         * NEWS: Mention IFUNC testsuite enhancements.
63954         * po/pl.po: Update from translation team.
63955         * po/bg.po: Likewise.
63957         * manual/contrib.texi (Contributors): Update entries for Hongjiu
63958         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
63960 2012-12-11  David S. Miller  <davem@davemloft.net>
63962         * po/sv.po: Update from translation team.
63964         * po/vi.po: Update from translation team.
63966         * po/cs.po: Update from translation team.
63968         * po/de.po: Update from translation team.
63969         * po/eo.po: Likewise.
63970         * po/nl.po: Likewise.
63972 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63974         [BZ #14246]
63975         * manual/argp.texi (Argp Helper Functions): Move node to follow
63976         Argp Parsing State.
63978         [BZ #14872]
63979         * manual/conf.texi (Limits on File System Capacity): Mention if
63980         terminating null is included in the max size.
63982 2012-12-10  Andreas Jaeger  <aj@suse.de>
63984         * po/cs.po: Update from translation team.
63986 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63988         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
63989         void pointer and cast to uintptr_t.
63990         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
63991         path.
63992         * sysdeps/s390/s390-64/memcpy.S: Likewise.
63993         * sysdeps/s390/s390-64/memset.S: Likewise.
63995 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
63997         [BZ #14833]
63998         * menual/message.texi (Message Translation): Fix typos.
63999         (Helper programs for gettext): Likewise.
64001 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
64003         [BZ #14898]
64004         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64005         Change to -1.
64007 2012-12-07  David S. Miller  <davem@davemloft.net>
64009         * po/libc.pot: Update.
64011 2012-12-07  Richard Henderson  <rth@redhat.com>
64013         [BZ #10114]
64014         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
64015         normal/normal case to before the switch.
64016         (_FP_DIV): Likewise.
64018 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
64019             Mike Frysinger  <vapier@gentoo.org>
64021         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
64022         check for __NR_fadvise64_64.
64024 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
64026         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
64027         0, not just to plain "0" as a statement.
64028         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
64029         with cw.
64031 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
64033         * NEWS: Use sourceware.org in Bugzilla URL.
64035 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
64038         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64040         * stdio-common/tst-put-error.c (do_test): Add newline to the
64041         padded test to ensure flush.
64043 2012-12-05  Jeff Law  <law@redhat.com>
64045         * sunrpc/etc.rpc (fedfs_admin): Add entry.
64047 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
64049         * README: Don't refer to ports add-on as distributed separately.
64050         Mention AArch64 in list of systems supported in the ports add-on.
64052         * LICENSES: Add more non-FSF copyright and license notices.
64054         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64055         ((unused)).
64057         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64059         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64060         10000 as width of padded output.
64062 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64064         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64066         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64067         variable LX with __attribute__ ((unused)).
64068         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64069         Likewise.
64070         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64071         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64072         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64073         with __attribute__ ((unused)).
64075 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64077         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64079 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64081         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64082         (CFLAGS-nldbl-acos.c): New variable.
64083         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64084         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64085         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64086         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64087         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64088         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64089         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64090         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64091         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64092         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64093         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64094         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64095         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64096         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64097         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64098         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64099         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64100         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64101         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64102         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64103         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64104         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64105         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64106         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64107         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64108         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64109         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64110         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64111         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64112         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64113         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64114         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64115         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64116         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64117         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64118         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64119         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64120         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64121         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64122         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64123         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64124         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64125         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64126         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64127         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64128         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64129         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64130         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64131         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64132         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64133         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64134         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64135         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64136         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64137         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64138         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64139         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64140         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64141         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64142         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64143         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64144         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64145         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64146         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64147         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64148         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64149         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64150         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64151         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64152         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64153         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64154         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64155         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64156         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64157         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64158         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64159         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64160         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64161         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64162         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64163         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64164         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64165         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64166         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64167         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64168         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64169         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64170         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64171         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64172         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64173         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64174         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64175         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64176         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64177         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64178         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64179         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64182         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64184         [BZ #14914]
64185         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64186         whole low double instead of just low 47 bits when splitting values
64187         into two parts.
64189 2012-12-03  Allan McRae  <allan@archlinux.org>
64191         * manual/stdio.texi (Predefined Printf Handlers): Remove
64192         @hsep and @vsep usage.
64194 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64196         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64197         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64199 2012-12-03  Jeff Law  <law@redhat.com>
64201         * time/sys/time.h (settimeofday): Do not mark TV argument
64202         as __nonnull.
64204 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64206         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64207         when currently writing and seek to current position when not.
64208         * libio/Makefile (tests): Remove bug-fclose1.
64209         * libio/bug-fclose1.c: Delete.
64211 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64213         * manual/arith.texi (feenableexcept): Fix typo.
64214         (fedisableexcept): Likewise.
64216 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64218         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64219         second, differently-typed declaration, rather than a cast.
64221 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64223         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64224         * include/rpc/svc.h: ... here.
64226 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64228         [BZ #13013]
64229         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64230         depending n and resplen2 to catch cases where answer
64231         equals answerp2.
64233 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64235         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64236         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64238 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64240         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64242 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64244         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64246 2012-11-28  Jeff Law  <law@redhat.com>
64248         [BZ #13761]
64249         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64250         dataset_temporary.  Track alloca usage into alloca_used.
64251         If dataset is large allocate and release it via malloc/free.
64253 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64255         [BZ #14197]
64256         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64258 2012-11-28  David S. Miller  <davem@davemloft.net>
64260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64262 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64264         [BZ #14803]
64265         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64266         of pi/2 rounded to nearest to 64 bits.
64267         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64268         nearest to 64 bits.
64269         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64270         bits.
64272 2012-11-28  Jeff Law <law@redhat.com>
64273             Martin Osvald <mosvald@redhat.com>
64275         [BZ #14889]
64276         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64277         * sunrpc/svc.c: Include time.h.
64278         (__svc_accept_failed): New function.
64279         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64280         any reason other than EINTR, call __svc_accept_failed.
64281         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64282         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64284 2012-11-28  Andreas Schwab  <schwab@suse.de>
64286         * scripts/abilist.awk: Also handle indirect functions in .opd
64287         section.
64289 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64291         [BZ #13881]
64292         * sysdeps/x86/fpu/powl_helper.c: New file.
64293         * sysdeps/x86/fpu/Makefile: Likewise.
64294         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64295         (p3): New object.
64296         (__ieee754_powl): Use __powl_helper for finite arguments except
64297         integer exponents below 8.
64298         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64299         (p3): New object.
64300         (__ieee754_powl): Use __powl_helper for finite arguments except
64301         integer exponents below 8.
64302         * math/libm-test.inc (pow_test): Add more tests and enable some
64303         previously disabled tests.
64304         * sysdeps/i386/fpu/libm-test-ulps: Update.
64305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64307 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64308             Carlos O'Donell  <carlos_odonell@mentor.com>
64310         * nss/makedb.c (is_prime): Assert that input is odd and greater
64311         than 4.  Note that fact in a comment too.
64312         (next_prime): Add 4 to input.
64314 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64316         [BZ #11741]
64317         * libio/Makefile (tests): Add test case tst-fwrite-error.
64318         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64319         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64320         * libio/tst-fwrite-error.c: New test case.
64322 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64324         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64325         before casting to void *.
64326         * include/libc-internal.h (__pointer_type): New macro.
64327         (__integer_if_pointer_type_sub): Likewise.
64328         (__integer_if_pointer_type): Likewise.
64329         (cast_to_integer): Likewise.
64330         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64331         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64332         before casting to atomic64_t.
64333         (atomic_exchange_acq): Likewise.
64334         (__arch_exchange_and_add_body): Likewise.
64335         (__arch_add_body): Likewise.
64336         (atomic_add_negative): Likewise.
64337         (atomic_add_zero): Likewise.
64339 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
64341         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64342         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64343         (add_fdes): Likewise.
64344         (linear_search_fdes): Likewise.
64345         (binary_search_unencoded_fdes): Likewise.
64347 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
64349         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64351 2012-11-24  Adam Conrad  <adconrad@0c3.net>
64353         * configure.in: Autodetect C++ header directories.
64354         * configure: Regenerated.
64356 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
64358         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64360 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
64362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64364 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
64366         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
64367         LDBL_MANT_DIG == 106]: Disable some tests.
64368         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64369         Likewise.
64370         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64371         Likewise.
64373         [BZ #14871]
64374         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
64375         input for small inputs.  Return +/- pi/2 for large inputs.
64376         * math/libm-test.inc (atan_test): Add more tests.
64378         * sysdeps/generic/unwind-dw2-fde-glibc.c
64379         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
64380         __attribute__ ((unused)).
64382         [BZ #14645]
64383         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
64384         x * y if x and y are nonzero and z is zero.
64386         [BZ #14811]
64387         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
64388         nonzero exponents with absolute value below 0x1p-117 to +/-
64389         0x1p-117.
64391         [BZ #14869]
64392         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
64393         up arguments below 2**-450, not just those below 2**-500.
64394         * math/libm-test.inc (hypot_test): Add another test.
64396         [BZ #14868]
64397         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
64398         Return a+b for ratio over 2**120, not 2**60.
64399         * math/libm-test.inc (hypot_test): Add another test.
64401         * math/libm-test.inc (clog_test): Use
64402         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
64403         (clog10_test): Likewise.
64405         [BZ #6778]
64406         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
64408 2012-11-22  Andreas Schwab  <schwab@suse.de>
64410         * sysdeps/i386/fpu/libm-test-ulps: Update.
64412 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
64414         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
64415         printf output with newline.
64417 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
64419         [BZ #14865]
64420         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
64421         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
64422         -z nodlopen, -z initfirst and -z execstack support.
64423         * configure: Regenerated.
64425         * elf/elf.h (DF_1_NODIRECT): New macro.
64426         (DF_1_IGNMULDEF): Likewise.
64427         (DF_1_NOKSYMS): Likewise.
64428         (DF_1_NOHDR): Likewise.
64429         (DF_1_EDITED): Likewise.
64430         (DF_1_NORELOC): Likewise.
64431         (DF_1_SYMINTPOSE): Likewise.
64432         (DF_1_GLOBAUDIT): Likewise.
64433         (DF_1_SINGLETON): Likewise.
64434         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
64435         DT_1_SUPPORTED_MASK bits.
64436         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
64438 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
64440         * sysdeps/unix/make-syscalls.sh: Document prefixes.
64442 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
64444         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
64445         macro.
64447         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
64448         (sendmmsg): Move declarations...
64449         * socket/sys/socket.h: ... here.
64450         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
64451         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
64452         include it from...
64453         * socket/recvmmsg.c: ... this new file.
64454         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
64455         (sendmmsg): Rename to __sendmmsg, create weak alias and make
64456         definition of __sendmmsg hidden.
64457         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
64458         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
64459         Move ENOSYS stub into and include it from...
64460         * socket/sendmmsg.c: ... this new file.
64461         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
64462         (sysdep_routines): Move recvmmsg and sendmmsg...
64463         * socket/Makefile (routines): ... here.
64464         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
64465         (GLIBC_PRIVATE): Add __sendmmsg.
64466         * include/sys/socket.h (__sendmmsg): Add declarations.
64467         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
64468         sendmmsg.
64470 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
64472         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
64473         variable I1 with __attribute__ ((unused)).
64474         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64476 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64478         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
64479         DUMMY variables with __attribute__ ((unused)).
64481         * bits/byteswap.h: Include <bits/types.h>.
64482         (__bswap_64): Use __uint64_t instead of unsigned long long int.
64484 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
64486         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
64487         string_t.  Do not manually set errno.
64488         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
64489         length with __strnlen.  Make sure to both set errno and return it on
64490         failure.
64492 2012-11-19  David S. Miller  <davem@davemloft.net>
64494         With help from Joseph Myers.
64495         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
64496         very large arguments properly.
64497         * math/libm-test.inc (atan_test): New tests.
64498         (atan2_test): New tests.
64499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64502 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64504         [BZ #14856]
64505         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
64506         Define to 3.
64508         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
64509         [POSIX] (EADDRNOTAVAIL): Likewise.
64510         [POSIX] (EAFNOSUPPORT): Likewise.
64511         [POSIX] (EALREADY): Likewise.
64512         [POSIX] (ECONNABORTED): Likewise.
64513         [POSIX] (ECONNREFUSED): Likewise.
64514         [POSIX] (ECONNRESET): Likewise.
64515         [POSIX] (EDESTADDRREQ): Likewise.
64516         [POSIX] (EDQUOT): Likewise.
64517         [POSIX] (EHOSTUNREACH): Likewise.
64518         [POSIX] (EIDRM): Likewise.
64519         [POSIX] (EISCONN): Likewise.
64520         [POSIX] (ELOOP): Likewise.
64521         [POSIX] (EMULTIHOP): Likewise.
64522         [POSIX] (ENETDOWN): Likewise.
64523         [POSIX] (ENETUNREACH): Likewise.
64524         [POSIX] (ENOBUFS): Likewise.
64525         [POSIX] (ENODATA): Likewise.
64526         [POSIX] (ENOLINK): Likewise.
64527         [POSIX] (ENOMSG): Likewise.
64528         [POSIX] (ENOPROTOOPT): Likewise.
64529         [POSIX] (ENOSR): Likewise.
64530         [POSIX] (ENOSTR): Likewise.
64531         [POSIX] (ENOTCONN): Likewise.
64532         [POSIX] (ENOTSOCK): Likewise.
64533         [POSIX] (EOPNOTSUPP): Likewise.
64534         [POSIX] (EOVERFLOW): Likewise.
64535         [POSIX] (EPROTO): Likewise.
64536         [POSIX] (EPROTONOSUPPORT): Likewise.
64537         [POSIX] (EPROTOTYPE): Likewise.
64538         [POSIX] (ESTALE): Likewise.
64539         [POSIX] (ETIME): Likewise.
64540         [POSIX] (ETXTBSY): Likewise.
64541         [POSIX] (EWOULDBLOCK): Likewise.
64542         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
64543         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
64544         [POSIX] (SEEK_CUR): Likewise.
64545         [POSIX] (SEEK_END): Likewise.
64546         [POSIX || UNIX98] (mode_t): Do not require.
64547         [POSIX] (off_t): Likewise.
64548         [POSIX] (pid_t): Likewise.
64549         [POSIX] (sys/stat.h): Do not allow header.
64550         [POSIX] (unistd.h): Likewise.
64551         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
64552         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
64553         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
64554         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
64555         require.
64556         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
64557         sigevent): Specify elements.
64558         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
64559         entry.
64560         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
64561         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
64563         * conform/data/cpio.h-data [POSIX]: Disable whole file.
64564         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
64565         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
64566         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
64567         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
64568         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
64569         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
64570         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
64571         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
64572         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
64573         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
64574         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
64575         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
64576         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
64577         Likewise.
64578         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
64579         Likewise.
64580         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
64581         Likewise.
64582         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
64583         Likewise.
64584         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
64585         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
64586         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
64587         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
64588         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
64589         Specify lower bound on value.
64590         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
64591         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
64592         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
64593         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
64594         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
64595         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
64596         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
64597         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
64598         value.
64599         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
64600         as optional.
64601         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
64602         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
64603         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
64604         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
64605         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
64606         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
64607         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
64608         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
64609         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
64610         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
64611         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
64612         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
64613         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
64614         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
64615         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
64616         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
64617         entry.
64618         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
64619         optional.
64620         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
64621         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
64622         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
64623         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
64624         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
64625         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
64626         Likewise.
64627         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
64628         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
64629         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
64630         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
64631         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
64632         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
64633         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
64634         as optional.
64635         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
64636         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
64637         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
64638         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
64639         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
64640         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
64641         specify as optional.
64642         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
64643         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
64644         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
64645         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
64646         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
64647         [XPG3] (NL_LANGMAX): Likewise.
64648         [POSIX || XPG3] (NL_MSGMAX): Likewise.
64649         [POSIX || XPG3] (NL_NMAX): Likewise.
64650         [POSIX || XPG3] (NL_SETMAX): Likewise.
64651         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
64652         [XPG3] (NZERO): Likewise.
64653         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
64654         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
64655         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
64656         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
64657         (REG_ERANGE): Expect.
64658         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
64659         optional-constant.
64660         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
64661         Use (void) in prototype.
64662         [POSIX] (*_t): Allow.
64663         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
64664         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
64665         (WRDE_BADVAL): Expect.
64667         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
64668         expect.
64669         [XPG3 || XPG4] (O_RSYNC): Likewise.
64670         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
64671         Likewise.
64672         [XPG3 || XPG4] (pthread_sigmask): Likewise.
64673         [XPG3 || XPG4] (sigqueue): Likewise.
64674         [XPG3 || XPG4] (sigtimedwait): Likewise.
64675         [XPG3 || XPG4] (sigwaitinfo): Likewise.
64676         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
64677         [XPG3 || XPG4] (vsnprintf): Likewise.
64678         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
64679         Likewise.
64680         [XPG3 || XPG4] (blksize_t): Likewise.
64681         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
64682         Likewise.
64683         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
64684         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
64685         [XPG3 || XPG4] (struct itimerspec): Likewise.
64686         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
64687         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
64688         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
64689         [XPG3 || XPG4] (clockid_t): Likewise.
64690         [XPG3 || XPG4] (timer_t): Likewise.
64691         [XPG3 || XPG4] (clock_getres): Likewise.
64692         [XPG3 || XPG4] (clock_gettime): Likewise.
64693         [XPG3 || XPG4] (clock_settime): Likewise.
64694         [XPG3 || XPG4] (nanosleep): Likewise.
64695         [XPG3 || XPG4] (timer_create): Likewise.
64696         [XPG3 || XPG4] (timer_delete): Likewise.
64697         [XPG3 || XPG4] (timer_gettime): Likewise.
64698         [XPG3 || XPG4] (timer_getoverrun): Likewise.
64699         [XPG3 || XPG4] (timer_settime): Likewise.
64700         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
64701         [XPG3 || XPG4] (getlogin_r): Likewise.
64702         [XPG3 || XPG4] (pread): Likewise.
64703         [XPG3 || XPG4] (pthread_atfork): Likewise.
64704         [XPG3 || XPG4] (pwrite): Likewise.
64706         [BZ #14835]
64707         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
64708         <bits/siginfo.h>.
64710 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
64712         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
64713         finalizing MALLSTREAM.
64715         * sysdeps/mach/hurd/syncfs.c: New file.
64717 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64719         [BZ #14719]
64720         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
64721         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
64722         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
64723         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
64724         (_nss_dns_gethostbyname4_r): Likewise.
64725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
64726         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
64728 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
64730         [BZ #13763]
64731         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
64733 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
64735         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
64736         * elf/cache.c (print_entry): Print ",AArch64" for
64737         FLAG_AARCH64_LIB64
64739         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
64740         * elf/cache.c (print_entry): Print ",hard-float" for
64741         FLAG_ARM_LIBHF.
64743 2012-11-18  David S. Miller  <davem@davemloft.net>
64745         With help from Joseph Myers.
64746         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
64747         cutoff to 2**-13.
64748         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
64749         cutoff to 2**-25.
64750         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
64751         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
64752         small.
64753         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
64754         * math/libm-test.inc (y0_test): New tests.
64755         (y1_test): New tests.
64756         * sysdeps/i386/fpu/libm-test-ulps: Update.
64757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64760 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
64762         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
64763         64-bit targets.
64764         * configure: Regenerated.
64766 2012-11-17  David S. Miller  <davem@davemloft.net>
64768         [BZ #14811]
64769         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
64770         nonzero exponents with absolute value below 0x1p-128 to +/-
64771         0x1p-128.
64773 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
64775         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
64777         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
64779         * posix/getconf-speclist.c: New file.
64780         * posix/posix-envs.def: Likewise.
64781         * posix/confstr.c (START_ENV_GROUP): New macro.
64782         (END_ENV_GROUP): Likewise.
64783         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
64784         (KNOWN_PRESENT_ENV_STRING): Likewise.
64785         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
64786         (UNKNOWN_ENVIRONMENT): Likewise.
64787         (confstr): Include posix-envs.def instead of handling
64788         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
64789         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
64790         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
64791         (END_ENV_GROUP): Likewise.
64792         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
64793         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
64794         (UNKNOWN_ENVIRONMENT): Likewise.
64795         (__sysconf): Include posix-envs.def instead of handling associated
64796         cases directly here.
64797         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
64798         preprocessing getconf-speclist.c rather than running getconf or
64799         generating empty file.
64801 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
64803         * scripts/check-local-headers.sh: Ignore 'mach' headers.
64805 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
64807         [BZ #14672]
64808         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
64810 2012-11-16  David S. Miller  <davem@davemloft.net>
64812         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
64813         smaller than LDBL_EPSILON/2.0L, just return xm1.
64815 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
64817         * elf/tst-array1.c (init): Set constructor priority to 1000.
64818         (fini): Set destructor priority to 1000.
64819         * elf/tst-array2dep.c: Likewise.
64821 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64823         [BZ #11741]
64824         * libio/fileops.c (_IO_new_file_write): Correctly return error.
64825         (_IO_new_file_xsputn): Also return EOF if none of the input
64826         data was written when overflow failed.
64827         * libio/iopadn.c (_IO_padn): Likewise.
64828         * libio/iowpadn.c (_IO_wpadn): Likewise.
64829         * stdio-common/tst-put-error.c: Add copyright notice.
64830         (do_test): Add case for printing padded string.
64831         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
64832         _IO_padn returned error.
64833         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
64834         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
64835         return EOF.
64837 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64839         * libio/libioP.h: Add comment note that the references to C++
64840         bits are now obsolete.
64842 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64844         * math/libm-test.inc (check_complex): Use asprintf.
64846 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
64848         * debug/pcprofiledump.c (print_version): Update copyright year.
64849         * malloc/memusagestat.c (print_version): Likewise.
64851 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
64853         [BZ #14831]
64854         * elf/Makefile (tests): Add tst-audit8.
64855         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
64856         ($(objpfx)tst-audit8.out): New target.
64857         (tst-audit8-ENV): New variable.
64858         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
64859         audit if l_reloc_result is NULL.
64860         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
64861         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
64862         * elf/tst-audit8.c: New file.
64864 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64866         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
64867         * misc/Makefile (CFLAGS-select.c): Define.
64868         * posix/Makefile (CFLAGS-pause.c): Define.
64870 2012-11-13  David S. Miller  <davem@davemloft.net>
64872         * crypt/Makefile: Move test targets after toplevel Rules
64873         inclusion.  Grab any necessary sysdep routines when linking.
64874         * crypt/md5.c (md5_process_block): Remove define, we will always
64875         name it __md5_process_block.
64876         (md5_finish_ctx): Update md5_process_block call.
64877         (md5_stream): Likewise.
64878         (md5_process_bytes): Likewise.
64879         (md5_process_block): Rename to __md5_process_block and move to ...
64880         * crypt/md5-block.c: ... here.
64881         * crypt/sha256.c (sha256_process_block): Move to ...
64882         * crypt/sha256-block.c: ... here.
64883         * crypt/sha512.c (sha512_process_block): Move to ...
64884         * crypt/sha512-block.c: ... here.
64885         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
64886         path.
64887         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
64888         * sysdeps/sparc/sparc64/multiarch/Makefile
64889         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
64890         crypt subdir.
64891         (localedef-aux): Add md5 crypto assembler when in locale subdir.
64892         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
64893         multiarch changes.
64894         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
64895         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
64896         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
64897         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
64898         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
64899         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
64900         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
64901         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
64902         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
64903         file.
64904         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
64905         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
64906         file.
64907         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
64909 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
64911         * timezone/tzselect.ksh: Update from tzcode git revision
64912         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
64913         * timezone/zdump.c: Likewise.
64914         * timezone/zic.c: Likewise.
64915         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
64916         in TZVERSION setting, not $(PKGVERSION).
64917         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
64918         REPORT_BUGS_TO settings.
64920         [BZ #14838]
64921         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
64922         macro.
64924 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64926         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
64927         detection to immediately after _FP_ROUND().
64928         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
64929         bits are 0.
64931 2012-11-11  David S. Miller  <davem@davemloft.net>
64933         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
64934         inttypes.h
64935         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
64936         __close rather than their public counterparts.
64938 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
64940         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
64941         file.
64942         [UNIX98] (sem_timedwait): Do not expect.
64943         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
64944         [XPG4 || UNIX98] (sockatmark): Do not expect.
64945         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
64946         (clock_getcpuclockid): Do not expect.
64947         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
64948         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
64949         Do not expect.
64950         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
64951         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
64952         [UNIX98] (vwscanf): Likewise.
64953         [UNIX98] (vswscanf): Likewise.
64955 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
64957         * timezone/version.h: Remove file.
64958         * timezone/README: Do not refer to version.h.
64959         * timezone/Makefile ($(objpfx)zic.o): New dependency on
64960         $(objpfx)version.h.
64961         ($(objpfx)zdump.o): Likewise.
64962         ($(objpfx)version.h): New target.
64964         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
64965         2012i.
64966         * timezone/README: Don't mention modification to tzselect.ksh.
64967         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
64968         work on unmodified tzselect.ksh.  Substitute version numbers in
64969         tzselect.ksh.
64971         * Makefile (format-me): Remove.
64972         (INSTALL): Adjust indentation.  Use commands directly instead of
64973         using $(format-me).
64975         * aclocal.m4 (ACX_PKGVERSION): New macro.
64976         (ACX_BUGURL): Likewise.
64977         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
64978         (PKGVERSION): New AC_DEFINE_UNQUOTED.
64979         (REPORT_BUGS_TO): Likewise.
64980         * configure: Regenerated.
64981         * config.h.in (PKGVERSION): New macro.
64982         (REPORT_BUGS_TO): Likewise.
64983         * config.make.in (PKGVERSION): New variable.
64984         (PKGVERSION_TEXI): Likewise.
64985         (REPORT_BUGS_TO): Likewise.
64986         (REPORT_BUGS_TEXI): Likewise.
64987         * Makefile (format-me): Use -I$(common-objpfx)manual.
64988         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
64989         ($(common-objpfx)manual/%): New target.
64990         (manual/%): Remove target.
64991         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
64992         (print_version): Use PKGVERSION.
64993         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
64994         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
64995         and REPORT_BUGS_TO.
64996         ($(objpfx)xtrace): Likewise.
64997         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
64998         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
64999         (print_version): Use PKGVERSION.
65000         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
65001         (do_version): Use PKGVERSION.
65002         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
65003         REPORT_BUGS_TO.
65004         (common-ldd-rewrite): Likewise.
65005         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
65006         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
65007         (print_version): Use PKGVERSION.
65008         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
65009         * elf/pldd.c (argp_program_bug_address): Remove variable.
65010         (more_help): New function.
65011         (argp): Use more_help.
65012         (print_version): Use PKGVERSION.
65013         * elf/sln.c (main): Use PKGVERSION.
65014         (usage): Use REPORT_BUGS_TO.
65015         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
65016         (top level): Use PKGVERSION.
65017         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
65018         (print_version): Use PKGVERSION.
65019         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
65020         (print_version): Use PKGVERSION.
65021         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
65022         (print_version): Use PKGVERSION.
65023         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
65024         (print_version): Use PKGVERSION.
65025         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65026         (print_version): Use PKGVERSION.
65027         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
65028         (print_version): Use PKGVERSION.
65029         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
65030         and BUGURL.
65031         ($(objpfx)memusage): Likewise.
65032         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
65033         (do_version): Use PKGVERSION.
65034         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
65035         (print_version): Use PKGVERSION.
65036         * malloc/mtrace.pl ($PACKAGE): Remove variable.
65037         ($PKGVERSION): New variable.
65038         ($REPORT_BUGS_TO): Likewise.
65039         (usage): Use $REPORT_BUGS_TO.
65040         (top level): Use $PKGVERSION.
65041         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
65042         ($(objpfx)pkgvers.texi): New rule.
65043         ($(objpfx)stamp-pkgvers): Likewise.
65044         * manual/install.texi: Include pkgvers.texi.
65045         (--with-pkgversion): Document new configure option.
65046         (--with-bugurl): Likewise.
65047         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
65048         than necessarily for this particular distribution.  Use
65049         REPORT_BUGS_TO for where to report bugs.
65050         * INSTALL: Regenerated.
65051         * manual/libc.texinfo: Include pkgvers.texi.
65052         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65053         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65054         (print_version): Use PKGVERSION.
65055         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65056         (print_version): Use PKGVERSION.
65057         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65058         (print_version): Use PKGVERSION.
65059         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65060         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65061         macro.
65062         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65063         (print_version): Use PKGVERSION.
65064         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65065         (print_version): Use PKGVERSION.
65066         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65067         and PKGVERSION.
65069         * timezone/checktab.awk: Update from tzcode 2012i.
65070         * timezone/ialloc.c: Likewise.
65071         * timezone/private.h: Likewise.
65072         * timezone/scheck.c: Likewise.
65073         * timezone/tzfile.h: Likewise.
65074         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65075         (TZVERSION): Hardcode tzcode version number.
65076         * timezone/zdump.c: Update from tzcode 2012i.
65077         * timezone/zic.c: Likewise.
65078         * timezone/version.h: New file.
65079         * timezone/README: Describe version.h.  Update upstream location.
65081         [BZ #14824]
65082         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65083         (mktemp): Enable declaration.
65084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65085         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65087         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65088         Likewise.
65089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65090         Likewise.
65091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65092         Likewise.
65093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65094         Likewise.
65095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65096         Likewise.
65097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65098         Likewise.
65100         [BZ #14821]
65101         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65102         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65103         for copies of such integer values.
65104         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65105         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65107 2012-11-09  Andreas Jaeger  <aj@suse.de>
65109         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65110         definitions and declarations that are provided by
65111         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65113 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65115         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65116         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65117         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65118         definition.
65120 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65122         * elf/elf.h: Update comment before AArch64 relocations.
65124 2012-11-07  David S. Miller  <davem@davemloft.net>
65126         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65127         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65128         (__start_context): Declare.
65129         (__makecontext_ret): Delete.
65130         (__makecontext): Hook up __start_context instead of
65131         __makecontext_ret.
65132         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65133         (sysdep_routines): Add __start_context when in stdlib.
65135 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65137         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65138         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65139         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65140         hardcoded "nm".
65141         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65142         (READELF): New variable.  Use it instead of hardcoded "readelf".
65144 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65146         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65147         * sysdeps/x86/Makefile: Here.
65148         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65149         * sysdeps/x86/tst-xmmymm.sh: This.
65151 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65153         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65154         expectations.
65155         [UNIX98] (pthread_barrier_t): Do not expect.
65156         [UNIX98] (pthread_barrierattr_t): Likewise.
65157         [UNIX98] (pthread_spinlock_t): Likewise.
65158         [UNIX98] (pthread_barrier_destroy): Likewise.
65159         [UNIX98] (pthread_barrier_init): Likewise.
65160         [UNIX98] (pthread_barrier_wait): Likewise.
65161         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65162         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65163         [UNIX98] (pthread_barrierattr_init): Likewise.
65164         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65165         [UNIX98] (pthread_getcpuclockid): Likewise.
65166         [UNIX98] (pthread_mutex_timedlock): Likewise.
65167         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65168         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65169         [UNIX98] (pthread_sigmask): Likewise.
65170         [UNIX98] (pthread_spin_destroy): Likewise.
65171         [UNIX98] (pthread_spin_init): Likewise.
65172         [UNIX98] (pthread_spin_lock): Likewise.
65173         [UNIX98] (pthread_spin_trylock): Likewise.
65174         [UNIX98] (pthread_spin_unlock): Likewise.
65175         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65176         Do not expect.
65177         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65178         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65179         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65180         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65181         [XPG3 || XPG4] (pthread_key_t): Likewise.
65182         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65183         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65184         [XPG3 || XPG4] (pthread_once_t): Likewise.
65185         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65186         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65187         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65188         [XPG3 || XPG4] (pthread_t): Likewise.
65190         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65191         not expect.
65192         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65194         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65195         Change function return type to int.
65197         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65198         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65199         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65200         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65201         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65202         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65203         [!POSIX] (posix_madvise): Likewise.
65204         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65205         && !UNIX98].
65206         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65207         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65208         (mode_t): Likewise.
65209         (posix_mem_offset): Likewise.
65210         (posix_typed_mem_get_info): Likewise.
65211         (posix_typed_mem_open): Likewise.
65213         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65214         Change condition to [XOPEN2K8].
65216         * conform/conformtest.pl: Preprocess allow-header data with -x c
65217         instead of from stdin.
65218         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65219         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65220         [C99-based standards] (cerfc): Likewise.
65221         [C99-based standards] (cexp2): Likewise.
65222         [C99-based standards] (cexpm1): Likewise.
65223         [C99-based standards] (clog10): Likewise.
65224         [C99-based standards] (clog1p): Likewise.
65225         [C99-based standards] (clog2): Likewise.
65226         [C99-based standards] (clgamma): Likewise.
65227         [C99-based standards] (ctgamma): Likewise.
65228         [C99-based standards] (cerff): Likewise.
65229         [C99-based standards] (cerfcf): Likewise.
65230         [C99-based standards] (cexp2f): Likewise.
65231         [C99-based standards] (cexpm1f): Likewise.
65232         [C99-based standards] (clog10f): Likewise.
65233         [C99-based standards] (clog1pf): Likewise.
65234         [C99-based standards] (clog2f): Likewise.
65235         [C99-based standards] (clgammaf): Likewise.
65236         [C99-based standards] (ctgammaf): Likewise.
65237         [C99-based standards] (cerfl): Likewise.
65238         [C99-based standards] (cerfcl): Likewise.
65239         [C99-based standards] (cexp2l): Likewise.
65240         [C99-based standards] (cexpm1l): Likewise.
65241         [C99-based standards] (clog10l): Likewise.
65242         [C99-based standards] (clog1pl): Likewise.
65243         [C99-based standards] (clog2l): Likewise.
65244         [C99-based standards] (clgammal): Likewise.
65245         [C99-based standards] (ctgammal): Likewise.
65246         * conform/data/inttypes.h-data [C99-based standards]: Include
65247         stdint.h-data.  Remove all expectations for stdint.h contents.
65248         [C99-based standards] (PRI*): Do not allow.
65249         [C99-based standards] (SCN*): Likewise.
65250         [C99-based standards] (*_t): Likewise.
65251         [C99-based-standards] (PRId8): Expect macro.
65252         [C99-based-standards] (PRIi8): Likewise.
65253         [C99-based-standards] (PRIo8): Likewise.
65254         [C99-based-standards] (PRIu8): Likewise.
65255         [C99-based-standards] (PRIx8): Likewise.
65256         [C99-based-standards] (PRIX8): Likewise.
65257         [C99-based-standards] (SCNd8): Likewise.
65258         [C99-based-standards] (SCNi8): Likewise.
65259         [C99-based-standards] (SCNo8): Likewise.
65260         [C99-based-standards] (SCNu8): Likewise.
65261         [C99-based-standards] (SCNx8): Likewise.
65262         [C99-based-standards] (PRIdLEAST8): Likewise.
65263         [C99-based-standards] (PRIiLEAST8): Likewise.
65264         [C99-based-standards] (PRIoLEAST8): Likewise.
65265         [C99-based-standards] (PRIuLEAST8): Likewise.
65266         [C99-based-standards] (PRIxLEAST8): Likewise.
65267         [C99-based-standards] (PRIXLEAST8): Likewise.
65268         [C99-based-standards] (SCNdLEAST8): Likewise.
65269         [C99-based-standards] (SCNiLEAST8): Likewise.
65270         [C99-based-standards] (SCNoLEAST8): Likewise.
65271         [C99-based-standards] (SCNuLEAST8): Likewise.
65272         [C99-based-standards] (SCNxLEAST8): Likewise.
65273         [C99-based-standards] (PRIdFAST8): Likewise.
65274         [C99-based-standards] (PRIiFAST8): Likewise.
65275         [C99-based-standards] (PRIoFAST8): Likewise.
65276         [C99-based-standards] (PRIuFAST8): Likewise.
65277         [C99-based-standards] (PRIxFAST8): Likewise.
65278         [C99-based-standards] (PRIXFAST8): Likewise.
65279         [C99-based-standards] (SCNdFAST8): Likewise.
65280         [C99-based-standards] (SCNiFAST8): Likewise.
65281         [C99-based-standards] (SCNoFAST8): Likewise.
65282         [C99-based-standards] (SCNuFAST8): Likewise.
65283         [C99-based-standards] (SCNxFAST8): Likewise.
65284         [C99-based-standards] (PRId16): Likewise.
65285         [C99-based-standards] (PRIi16): Likewise.
65286         [C99-based-standards] (PRIo16): Likewise.
65287         [C99-based-standards] (PRIu16): Likewise.
65288         [C99-based-standards] (PRIx16): Likewise.
65289         [C99-based-standards] (PRIX16): Likewise.
65290         [C99-based-standards] (SCNd16): Likewise.
65291         [C99-based-standards] (SCNi16): Likewise.
65292         [C99-based-standards] (SCNo16): Likewise.
65293         [C99-based-standards] (SCNu16): Likewise.
65294         [C99-based-standards] (SCNx16): Likewise.
65295         [C99-based-standards] (PRIdLEAST16): Likewise.
65296         [C99-based-standards] (PRIiLEAST16): Likewise.
65297         [C99-based-standards] (PRIoLEAST16): Likewise.
65298         [C99-based-standards] (PRIuLEAST16): Likewise.
65299         [C99-based-standards] (PRIxLEAST16): Likewise.
65300         [C99-based-standards] (PRIXLEAST16): Likewise.
65301         [C99-based-standards] (SCNdLEAST16): Likewise.
65302         [C99-based-standards] (SCNiLEAST16): Likewise.
65303         [C99-based-standards] (SCNoLEAST16): Likewise.
65304         [C99-based-standards] (SCNuLEAST16): Likewise.
65305         [C99-based-standards] (SCNxLEAST16): Likewise.
65306         [C99-based-standards] (PRIdFAST16): Likewise.
65307         [C99-based-standards] (PRIiFAST16): Likewise.
65308         [C99-based-standards] (PRIoFAST16): Likewise.
65309         [C99-based-standards] (PRIuFAST16): Likewise.
65310         [C99-based-standards] (PRIxFAST16): Likewise.
65311         [C99-based-standards] (PRIXFAST16): Likewise.
65312         [C99-based-standards] (SCNdFAST16): Likewise.
65313         [C99-based-standards] (SCNiFAST16): Likewise.
65314         [C99-based-standards] (SCNoFAST16): Likewise.
65315         [C99-based-standards] (SCNuFAST16): Likewise.
65316         [C99-based-standards] (SCNxFAST16): Likewise.
65317         [C99-based-standards] (PRId32): Likewise.
65318         [C99-based-standards] (PRIi32): Likewise.
65319         [C99-based-standards] (PRIo32): Likewise.
65320         [C99-based-standards] (PRIu32): Likewise.
65321         [C99-based-standards] (PRIx32): Likewise.
65322         [C99-based-standards] (PRIX32): Likewise.
65323         [C99-based-standards] (SCNd32): Likewise.
65324         [C99-based-standards] (SCNi32): Likewise.
65325         [C99-based-standards] (SCNo32): Likewise.
65326         [C99-based-standards] (SCNu32): Likewise.
65327         [C99-based-standards] (SCNx32): Likewise.
65328         [C99-based-standards] (PRIdLEAST32): Likewise.
65329         [C99-based-standards] (PRIiLEAST32): Likewise.
65330         [C99-based-standards] (PRIoLEAST32): Likewise.
65331         [C99-based-standards] (PRIuLEAST32): Likewise.
65332         [C99-based-standards] (PRIxLEAST32): Likewise.
65333         [C99-based-standards] (PRIXLEAST32): Likewise.
65334         [C99-based-standards] (SCNdLEAST32): Likewise.
65335         [C99-based-standards] (SCNiLEAST32): Likewise.
65336         [C99-based-standards] (SCNoLEAST32): Likewise.
65337         [C99-based-standards] (SCNuLEAST32): Likewise.
65338         [C99-based-standards] (SCNxLEAST32): Likewise.
65339         [C99-based-standards] (PRIdFAST32): Likewise.
65340         [C99-based-standards] (PRIiFAST32): Likewise.
65341         [C99-based-standards] (PRIoFAST32): Likewise.
65342         [C99-based-standards] (PRIuFAST32): Likewise.
65343         [C99-based-standards] (PRIxFAST32): Likewise.
65344         [C99-based-standards] (PRIXFAST32): Likewise.
65345         [C99-based-standards] (SCNdFAST32): Likewise.
65346         [C99-based-standards] (SCNiFAST32): Likewise.
65347         [C99-based-standards] (SCNoFAST32): Likewise.
65348         [C99-based-standards] (SCNuFAST32): Likewise.
65349         [C99-based-standards] (SCNxFAST32): Likewise.
65350         [C99-based-standards] (PRId64): Likewise.
65351         [C99-based-standards] (PRIi64): Likewise.
65352         [C99-based-standards] (PRIo64): Likewise.
65353         [C99-based-standards] (PRIu64): Likewise.
65354         [C99-based-standards] (PRIx64): Likewise.
65355         [C99-based-standards] (PRIX64): Likewise.
65356         [C99-based-standards] (SCNd64): Likewise.
65357         [C99-based-standards] (SCNi64): Likewise.
65358         [C99-based-standards] (SCNo64): Likewise.
65359         [C99-based-standards] (SCNu64): Likewise.
65360         [C99-based-standards] (SCNx64): Likewise.
65361         [C99-based-standards] (PRIdLEAST64): Likewise.
65362         [C99-based-standards] (PRIiLEAST64): Likewise.
65363         [C99-based-standards] (PRIoLEAST64): Likewise.
65364         [C99-based-standards] (PRIuLEAST64): Likewise.
65365         [C99-based-standards] (PRIxLEAST64): Likewise.
65366         [C99-based-standards] (PRIXLEAST64): Likewise.
65367         [C99-based-standards] (SCNdLEAST64): Likewise.
65368         [C99-based-standards] (SCNiLEAST64): Likewise.
65369         [C99-based-standards] (SCNoLEAST64): Likewise.
65370         [C99-based-standards] (SCNuLEAST64): Likewise.
65371         [C99-based-standards] (SCNxLEAST64): Likewise.
65372         [C99-based-standards] (PRIdFAST64): Likewise.
65373         [C99-based-standards] (PRIiFAST64): Likewise.
65374         [C99-based-standards] (PRIoFAST64): Likewise.
65375         [C99-based-standards] (PRIuFAST64): Likewise.
65376         [C99-based-standards] (PRIxFAST64): Likewise.
65377         [C99-based-standards] (PRIXFAST64): Likewise.
65378         [C99-based-standards] (SCNdFAST64): Likewise.
65379         [C99-based-standards] (SCNiFAST64): Likewise.
65380         [C99-based-standards] (SCNoFAST64): Likewise.
65381         [C99-based-standards] (SCNuFAST64): Likewise.
65382         [C99-based-standards] (SCNxFAST64): Likewise.
65383         [C99-based-standards] (PRIdMAX): Likewise.
65384         [C99-based-standards] (PRIiMAX): Likewise.
65385         [C99-based-standards] (PRIoMAX): Likewise.
65386         [C99-based-standards] (PRIuMAX): Likewise.
65387         [C99-based-standards] (PRIxMAX): Likewise.
65388         [C99-based-standards] (PRIXMAX): Likewise.
65389         [C99-based-standards] (SCNdMAX): Likewise.
65390         [C99-based-standards] (SCNiMAX): Likewise.
65391         [C99-based-standards] (SCNoMAX): Likewise.
65392         [C99-based-standards] (SCNuMAX): Likewise.
65393         [C99-based-standards] (SCNxMAX): Likewise.
65394         [C99-based-standards] (PRIdPTR): Likewise.
65395         [C99-based-standards] (PRIiPTR): Likewise.
65396         [C99-based-standards] (PRIoPTR): Likewise.
65397         [C99-based-standards] (PRIuPTR): Likewise.
65398         [C99-based-standards] (PRIxPTR): Likewise.
65399         [C99-based-standards] (PRIXPTR): Likewise.
65400         [C99-based-standards] (SCNdPTR): Likewise.
65401         [C99-based-standards] (SCNiPTR): Likewise.
65402         [C99-based-standards] (SCNoPTR): Likewise.
65403         [C99-based-standards] (SCNuPTR): Likewise.
65404         [C99-based-standards] (SCNxPTR): Likewise.
65405         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
65406         allow.
65407         * conform/data/stdint.h-data: Update comments to clarify
65408         requirements.
65409         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
65410         type.
65411         [C99-based standards] (INT8_MAX): Likewise.
65412         [C99-based standards] (INT16_MIN): Likewise.
65413         [C99-based standards] (INT16_MAX): Likewise.
65414         [C99-based standards] (INT32_MIN): Likewise.
65415         [C99-based standards] (INT32_MAX): Likewise.
65416         [C99-based standards] (INT64_MIN): Likewise.
65417         [C99-based standards] (INT64_MAX): Likewise.
65418         [C99-based standards] (UINT8_MAX): Likewise.
65419         [C99-based standards] (UINT16_MAX): Likewise.
65420         [C99-based standards] (UINT32_MAX): Likewise.
65421         [C99-based standards] (UINT64_MAX): Likewise.
65422         [C99-based standards] (INT_LEAST8_MIN): Likewise.
65423         [C99-based standards] (INT_LEAST8_MAX): Likewise.
65424         [C99-based standards] (INT_LEAST16_MIN): Likewise.
65425         [C99-based standards] (INT_LEAST16_MAX): Likewise.
65426         [C99-based standards] (INT_LEAST32_MIN): Likewise.
65427         [C99-based standards] (INT_LEAST32_MAX): Likewise.
65428         [C99-based standards] (INT_LEAST64_MIN): Likewise.
65429         [C99-based standards] (INT_LEAST64_MAX): Likewise.
65430         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
65431         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
65432         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
65433         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
65434         [C99-based standards] (INT_FAST8_MIN): Likewise.
65435         [C99-based standards] (INT_FAST8_MAX): Likewise.
65436         [C99-based standards] (INT_FAST16_MIN): Likewise.
65437         [C99-based standards] (INT_FAST16_MAX): Likewise.
65438         [C99-based standards] (INT_FAST32_MIN): Likewise.
65439         [C99-based standards] (INT_FAST32_MAX): Likewise.
65440         [C99-based standards] (INT_FAST64_MIN): Likewise.
65441         [C99-based standards] (INT_FAST64_MAX): Likewise.
65442         [C99-based standards] (UINT_FAST8_MAX): Likewise.
65443         [C99-based standards] (UINT_FAST16_MAX): Likewise.
65444         [C99-based standards] (UINT_FAST32_MAX): Likewise.
65445         [C99-based standards] (UINT_FAST64_MAX): Likewise.
65446         [C99-based standards] (INTPTR_MIN): Likewise.
65447         [C99-based standards] (INTPTR_MAX): Likewise.
65448         [C99-based standards] (UINTPTR_MAX): Likewise.
65449         [C99-based standards] (INTMAX_MIN): Likewise.
65450         [C99-based standards] (INTMAX_MAX): Likewise.
65451         [C99-based standards] (UINTMAX_MAX): Likewise.
65452         [C99-based standards] (PTRDIFF_MIN): Likewise.
65453         [C99-based standards] (PTRDIFF_MAX): Likewise.
65454         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
65455         [C99-based standards] (SIZE_MAX): Likewise.
65456         [C99-based standards] (WCHAR_MAX): Likewise.
65457         [C99-based standards] (WINT_MAX): Likewise.
65458         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
65459         constraint on value.
65460         [C99-based standards] (WCHAR_MIN): Likewise.
65461         [C99-based standards] (WINT_MIN): Likewise.
65462         [C99-based standards] (*_t): Allow.
65463         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
65464         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
65465         Include math.h-data and complex.h-data.  Remove all expectations
65466         of math.h and complex.h contents.
65467         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
65468         at end of line.
65469         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
65470         (struct tm): Expect tag.
65471         [C99-based-standards] (wcstof): Expect function.
65472         [C99-based-standards] (wcstold): Likewise.
65473         [C99-based-standards] (wcstoll): Likewise.
65474         [C99-based-standards] (wcstoull): Likewise.
65475         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
65476         macro-int-constant.  Specify type.
65477         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
65478         constraint on value.
65479         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65480         Specify type.
65481         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
65482         Specify value.
65483         [ISO C standards]: Do not allow headers.
65484         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
65485         wcs[abcdefghijklmnopqrstuvwxyz]*.
65486         [ISO C standards] (*_t): Do not allow.
65487         * conform/data/wctype.h-data [C99-based standards] (iswblank):
65488         Expect function.
65489         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
65490         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65491         Specify type.
65492         [ISO C standards]: Do not allow headers.
65493         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
65494         is[abcdefghijklmnopqrstuvwxyz]*.
65495         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
65496         to[abcdefghijklmnopqrstuvwxyz]*.
65497         [ISO C standards] (*_t): Do not allow.
65498         * conform/data/stdalign.h-data: New file.
65499         * conform/data/stdbool.h-data: Likewise.
65500         * conform/data/stdnoreturn.h-data: Likewise.
65502 2012-11-07  Roland McGrath  <roland@hack.frob.com>
65504         [BZ #14815]
65505         * manual/filesys.texi (Directory Entries): Typo fix.
65506         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
65508 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65510         * elf/elf.h (EM_AARCH64): New macro.
65511         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
65512         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
65513         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
65514         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
65515         (R_AARCH64_TLSDESC): Likewise.
65516         (NT_ARM_TLS): Likewise.
65517         (NT_ARM_HW_BREAK): Likewise.
65518         (NT_ARM_HW_WATCH): Likewise.
65520 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65522         [BZ #14811]
65523         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
65524         (__ieee754_powl): Saturate nonzero exponents with absolute value
65525         below 0x1p-79 to +/- 0x1p-79.
65526         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
65527         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
65528         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
65529         nonzero exponents with absolute value below 0x1p-32 to +/-
65530         0x1p-32.
65531         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
65532         (__ieee754_powl): Saturate nonzero exponents with absolute value
65533         below 0x1p-79 to +/- 0x1p-79.
65534         * math/libm-test.inc (pow_test): Add more tests.
65536 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65538         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
65539         _dl_s390_cap_flags with kernel. Increase string length.
65540         (_dl_s390_platforms): Add z196 and zEC12.
65542 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65544         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
65545         Change XOPEN21K to XOPEN2K.
65547 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
65549         * string/memmove.c: Use memcpy when possible.
65551 2012-11-06  Andreas Jaeger  <aj@suse.de>
65553         * po/eo.po: Update from translation team.
65555 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
65557         [BZ #14793]
65558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
65559         exponent and small x and y exponents, scale x or y up.  Increase
65560         by 2 the exponent used in scaling up.
65561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65563         * math/libm-test.inc (fma_test): Add more tests.
65564         (fma_test_towardzero): Likewise.
65565         (fma_test_downward): Likewise.
65566         (fma_test_upward): Likewise.
65568 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
65570         [BZ #14805]
65571         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
65572         fenv_t *.
65574         [BZ #14801]
65575         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
65576         namespace for names of struct fields.
65577         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
65578         fenv_t fields.
65579         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
65580         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
65582 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65584         [BZ #3665]
65585         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
65587 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
65589         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
65590         PTR_DEMANGLE.
65592         [BZ #5246]
65593         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
65594         PTR_DEMANGLE.
65596 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
65598         [BZ #14797]
65599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
65600         definitely overflow as x * y not x * y + z.
65601         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65602         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65603         * math/libm-test.inc (fma_test): Add more tests.
65604         (fma_test_towardzero): Likewise.
65605         (fma_test_downward): Likewise.
65606         (fma_test_upward): Likewise.
65608 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
65610         [BZ #157]
65612         * include/stub-tag.h: Remove file.
65613         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
65614         '#include' of it.
65615         * manual/maint.texi (Porting): Don't reference it.
65616         * Makerules ($(objpfx)stubs): Likewise.
65617         * dirent/closedir.c: Don't include <stub-tag.h>.
65618         * dirent/dirfd.c: Likewise.
65619         * dirent/fdopendir.c: Likewise.
65620         * dirent/getdents.c: Likewise.
65621         * dirent/getdents64.c: Likewise.
65622         * dirent/opendir.c: Likewise.
65623         * dirent/readdir.c: Likewise.
65624         * dirent/readdir64.c: Likewise.
65625         * dirent/readdir64_r.c: Likewise.
65626         * dirent/readdir_r.c: Likewise.
65627         * dirent/rewinddir.c: Likewise.
65628         * dirent/seekdir.c: Likewise.
65629         * dirent/telldir.c: Likewise.
65630         * gmon/profil.c: Likewise.
65631         * grp/setgroups.c: Likewise.
65632         * inet/if_index.c: Likewise.
65633         * io/access.c: Likewise.
65634         * io/chdir.c: Likewise.
65635         * io/chmod.c: Likewise.
65636         * io/chown.c: Likewise.
65637         * io/close.c: Likewise.
65638         * io/dup.c: Likewise.
65639         * io/dup2.c: Likewise.
65640         * io/dup3.c: Likewise.
65641         * io/euidaccess.c: Likewise.
65642         * io/faccessat.c: Likewise.
65643         * io/fchdir.c: Likewise.
65644         * io/fchmod.c: Likewise.
65645         * io/fchmodat.c: Likewise.
65646         * io/fchown.c: Likewise.
65647         * io/fchownat.c: Likewise.
65648         * io/fcntl.c: Likewise.
65649         * io/flock.c: Likewise.
65650         * io/fstatfs.c: Likewise.
65651         * io/fstatfs64.c: Likewise.
65652         * io/fstatvfs.c: Likewise.
65653         * io/fstatvfs64.c: Likewise.
65654         * io/futimens.c: Likewise.
65655         * io/fxstat.c: Likewise.
65656         * io/fxstat64.c: Likewise.
65657         * io/fxstatat.c: Likewise.
65658         * io/fxstatat64.c: Likewise.
65659         * io/getcwd.c: Likewise.
65660         * io/isatty.c: Likewise.
65661         * io/lchmod.c: Likewise.
65662         * io/lchown.c: Likewise.
65663         * io/link.c: Likewise.
65664         * io/linkat.c: Likewise.
65665         * io/lseek.c: Likewise.
65666         * io/lseek64.c: Likewise.
65667         * io/lxstat64.c: Likewise.
65668         * io/mkdir.c: Likewise.
65669         * io/mkdirat.c: Likewise.
65670         * io/mkfifo.c: Likewise.
65671         * io/mkfifoat.c: Likewise.
65672         * io/open.c: Likewise.
65673         * io/open64.c: Likewise.
65674         * io/openat.c: Likewise.
65675         * io/openat64.c: Likewise.
65676         * io/pipe.c: Likewise.
65677         * io/pipe2.c: Likewise.
65678         * io/poll.c: Likewise.
65679         * io/posix_fadvise.c: Likewise.
65680         * io/posix_fadvise64.c: Likewise.
65681         * io/posix_fallocate.c: Likewise.
65682         * io/posix_fallocate64.c: Likewise.
65683         * io/read.c: Likewise.
65684         * io/readlink.c: Likewise.
65685         * io/readlinkat.c: Likewise.
65686         * io/rmdir.c: Likewise.
65687         * io/sendfile.c: Likewise.
65688         * io/sendfile64.c: Likewise.
65689         * io/statfs.c: Likewise.
65690         * io/statfs64.c: Likewise.
65691         * io/statvfs.c: Likewise.
65692         * io/statvfs64.c: Likewise.
65693         * io/symlink.c: Likewise.
65694         * io/symlinkat.c: Likewise.
65695         * io/ttyname.c: Likewise.
65696         * io/ttyname_r.c: Likewise.
65697         * io/umask.c: Likewise.
65698         * io/unlink.c: Likewise.
65699         * io/unlinkat.c: Likewise.
65700         * io/utime.c: Likewise.
65701         * io/utimensat.c: Likewise.
65702         * io/write.c: Likewise.
65703         * io/xmknod.c: Likewise.
65704         * io/xmknodat.c: Likewise.
65705         * io/xstat.c: Likewise.
65706         * io/xstat64.c: Likewise.
65707         * login/getpt.c: Likewise.
65708         * login/grantpt.c: Likewise.
65709         * login/unlockpt.c: Likewise.
65710         * math/e_acoshl.c: Likewise.
65711         * math/e_acosl.c: Likewise.
65712         * math/e_asinl.c: Likewise.
65713         * math/e_atan2l.c: Likewise.
65714         * math/e_atanhl.c: Likewise.
65715         * math/e_coshl.c: Likewise.
65716         * math/e_expl.c: Likewise.
65717         * math/e_fmodl.c: Likewise.
65718         * math/e_gammal_r.c: Likewise.
65719         * math/e_hypotl.c: Likewise.
65720         * math/e_j0l.c: Likewise.
65721         * math/e_j1l.c: Likewise.
65722         * math/e_jnl.c: Likewise.
65723         * math/e_lgammal_r.c: Likewise.
65724         * math/e_log10l.c: Likewise.
65725         * math/e_log2l.c: Likewise.
65726         * math/e_logl.c: Likewise.
65727         * math/e_powl.c: Likewise.
65728         * math/e_rem_pio2l.c: Likewise.
65729         * math/e_sinhl.c: Likewise.
65730         * math/e_sqrtl.c: Likewise.
65731         * math/fclrexcpt.c: Likewise.
65732         * math/fedisblxcpt.c: Likewise.
65733         * math/feenablxcpt.c: Likewise.
65734         * math/fegetenv.c: Likewise.
65735         * math/fegetexcept.c: Likewise.
65736         * math/fegetround.c: Likewise.
65737         * math/feholdexcpt.c: Likewise.
65738         * math/fesetenv.c: Likewise.
65739         * math/fesetround.c: Likewise.
65740         * math/feupdateenv.c: Likewise.
65741         * math/fgetexcptflg.c: Likewise.
65742         * math/fraiseexcpt.c: Likewise.
65743         * math/fsetexcptflg.c: Likewise.
65744         * math/ftestexcept.c: Likewise.
65745         * math/k_cosl.c: Likewise.
65746         * math/k_rem_pio2l.c: Likewise.
65747         * math/k_sinl.c: Likewise.
65748         * math/k_tanl.c: Likewise.
65749         * math/s_asinhl.c: Likewise.
65750         * math/s_atanl.c: Likewise.
65751         * math/s_cbrtl.c: Likewise.
65752         * math/s_erfl.c: Likewise.
65753         * math/s_expm1l.c: Likewise.
65754         * math/s_log1pl.c: Likewise.
65755         * math/s_tanhl.c: Likewise.
65756         * misc/acct.c: Likewise.
65757         * misc/brk.c: Likewise.
65758         * misc/chflags.c: Likewise.
65759         * misc/chroot.c: Likewise.
65760         * misc/fchflags.c: Likewise.
65761         * misc/fgetxattr.c: Likewise.
65762         * misc/flistxattr.c: Likewise.
65763         * misc/fremovexattr.c: Likewise.
65764         * misc/fsetxattr.c: Likewise.
65765         * misc/fsync.c: Likewise.
65766         * misc/ftruncate.c: Likewise.
65767         * misc/futimes.c: Likewise.
65768         * misc/futimesat.c: Likewise.
65769         * misc/getdomain.c: Likewise.
65770         * misc/getdtsz.c: Likewise.
65771         * misc/gethostid.c: Likewise.
65772         * misc/gethostname.c: Likewise.
65773         * misc/getloadavg.c: Likewise.
65774         * misc/getpagesize.c: Likewise.
65775         * misc/getsysstats.c: Likewise.
65776         * misc/getxattr.c: Likewise.
65777         * misc/gtty.c: Likewise.
65778         * misc/ioctl.c: Likewise.
65779         * misc/lgetxattr.c: Likewise.
65780         * misc/listxattr.c: Likewise.
65781         * misc/llistxattr.c: Likewise.
65782         * misc/lremovexattr.c: Likewise.
65783         * misc/lsetxattr.c: Likewise.
65784         * misc/lutimes.c: Likewise.
65785         * misc/madvise.c: Likewise.
65786         * misc/mincore.c: Likewise.
65787         * misc/mlock.c: Likewise.
65788         * misc/mlockall.c: Likewise.
65789         * misc/mmap.c: Likewise.
65790         * misc/mprotect.c: Likewise.
65791         * misc/msync.c: Likewise.
65792         * misc/munlock.c: Likewise.
65793         * misc/munlockall.c: Likewise.
65794         * misc/munmap.c: Likewise.
65795         * misc/preadv.c: Likewise.
65796         * misc/preadv64.c: Likewise.
65797         * misc/ptrace.c: Likewise.
65798         * misc/pwritev.c: Likewise.
65799         * misc/pwritev64.c: Likewise.
65800         * misc/readv.c: Likewise.
65801         * misc/reboot.c: Likewise.
65802         * misc/remap_file_pages.c: Likewise.
65803         * misc/removexattr.c: Likewise.
65804         * misc/revoke.c: Likewise.
65805         * misc/select.c: Likewise.
65806         * misc/setdomain.c: Likewise.
65807         * misc/setegid.c: Likewise.
65808         * misc/seteuid.c: Likewise.
65809         * misc/sethostid.c: Likewise.
65810         * misc/sethostname.c: Likewise.
65811         * misc/setregid.c: Likewise.
65812         * misc/setreuid.c: Likewise.
65813         * misc/setxattr.c: Likewise.
65814         * misc/sstk.c: Likewise.
65815         * misc/stty.c: Likewise.
65816         * misc/swapoff.c: Likewise.
65817         * misc/swapon.c: Likewise.
65818         * misc/sync.c: Likewise.
65819         * misc/syncfs.c: Likewise.
65820         * misc/syscall.c: Likewise.
65821         * misc/truncate.c: Likewise.
65822         * misc/ualarm.c: Likewise.
65823         * misc/usleep.c: Likewise.
65824         * misc/ustat.c: Likewise.
65825         * misc/utimes.c: Likewise.
65826         * misc/vhangup.c: Likewise.
65827         * misc/writev.c: Likewise.
65828         * posix/_exit.c: Likewise.
65829         * posix/alarm.c: Likewise.
65830         * posix/execve.c: Likewise.
65831         * posix/fexecve.c: Likewise.
65832         * posix/fork.c: Likewise.
65833         * posix/fpathconf.c: Likewise.
65834         * posix/getaddrinfo.c: Likewise.
65835         * posix/getegid.c: Likewise.
65836         * posix/geteuid.c: Likewise.
65837         * posix/getgid.c: Likewise.
65838         * posix/getgroups.c: Likewise.
65839         * posix/getlogin.c: Likewise.
65840         * posix/getlogin_r.c: Likewise.
65841         * posix/getpgid.c: Likewise.
65842         * posix/getpid.c: Likewise.
65843         * posix/getppid.c: Likewise.
65844         * posix/getresgid.c: Likewise.
65845         * posix/getresuid.c: Likewise.
65846         * posix/getsid.c: Likewise.
65847         * posix/getuid.c: Likewise.
65848         * posix/glob64.c: Likewise.
65849         * posix/nanosleep.c: Likewise.
65850         * posix/pathconf.c: Likewise.
65851         * posix/pause.c: Likewise.
65852         * posix/posix_madvise.c: Likewise.
65853         * posix/pread.c: Likewise.
65854         * posix/pread64.c: Likewise.
65855         * posix/pwrite.c: Likewise.
65856         * posix/pwrite64.c: Likewise.
65857         * posix/sched_getaffinity.c: Likewise.
65858         * posix/sched_getp.c: Likewise.
65859         * posix/sched_gets.c: Likewise.
65860         * posix/sched_primax.c: Likewise.
65861         * posix/sched_primin.c: Likewise.
65862         * posix/sched_rr_gi.c: Likewise.
65863         * posix/sched_setaffinity.c: Likewise.
65864         * posix/sched_setp.c: Likewise.
65865         * posix/sched_sets.c: Likewise.
65866         * posix/sched_yield.c: Likewise.
65867         * posix/setgid.c: Likewise.
65868         * posix/setlogin.c: Likewise.
65869         * posix/setpgid.c: Likewise.
65870         * posix/setresgid.c: Likewise.
65871         * posix/setresuid.c: Likewise.
65872         * posix/setsid.c: Likewise.
65873         * posix/setuid.c: Likewise.
65874         * posix/sleep.c: Likewise.
65875         * posix/spawni.c: Likewise.
65876         * posix/sysconf.c: Likewise.
65877         * posix/times.c: Likewise.
65878         * posix/wait.c: Likewise.
65879         * posix/wait3.c: Likewise.
65880         * posix/wait4.c: Likewise.
65881         * posix/waitpid.c: Likewise.
65882         * resolv/gai_sigqueue.c: Likewise.
65883         * resource/getpriority.c: Likewise.
65884         * resource/getrlimit.c: Likewise.
65885         * resource/getrusage.c: Likewise.
65886         * resource/nice.c: Likewise.
65887         * resource/setpriority.c: Likewise.
65888         * resource/setrlimit.c: Likewise.
65889         * resource/ulimit.c: Likewise.
65890         * rt/aio_cancel.c: Likewise.
65891         * rt/aio_fsync.c: Likewise.
65892         * rt/aio_read.c: Likewise.
65893         * rt/aio_sigqueue.c: Likewise.
65894         * rt/aio_suspend.c: Likewise.
65895         * rt/aio_write.c: Likewise.
65896         * rt/clock_getres.c: Likewise.
65897         * rt/clock_gettime.c: Likewise.
65898         * rt/clock_nanosleep.c: Likewise.
65899         * rt/clock_settime.c: Likewise.
65900         * rt/lio_listio.c: Likewise.
65901         * rt/mq_close.c: Likewise.
65902         * rt/mq_getattr.c: Likewise.
65903         * rt/mq_notify.c: Likewise.
65904         * rt/mq_open.c: Likewise.
65905         * rt/mq_receive.c: Likewise.
65906         * rt/mq_send.c: Likewise.
65907         * rt/mq_setattr.c: Likewise.
65908         * rt/mq_timedreceive.c: Likewise.
65909         * rt/mq_timedsend.c: Likewise.
65910         * rt/mq_unlink.c: Likewise.
65911         * rt/shm_open.c: Likewise.
65912         * rt/shm_unlink.c: Likewise.
65913         * rt/timer_create.c: Likewise.
65914         * rt/timer_delete.c: Likewise.
65915         * rt/timer_getoverr.c: Likewise.
65916         * rt/timer_gettime.c: Likewise.
65917         * rt/timer_settime.c: Likewise.
65918         * setjmp/__longjmp.c: Likewise.
65919         * setjmp/setjmp.c: Likewise.
65920         * signal/kill.c: Likewise.
65921         * signal/killpg.c: Likewise.
65922         * signal/raise.c: Likewise.
65923         * signal/sigaction.c: Likewise.
65924         * signal/sigaltstack.c: Likewise.
65925         * signal/sigblock.c: Likewise.
65926         * signal/sigignore.c: Likewise.
65927         * signal/sigintr.c: Likewise.
65928         * signal/signal.c: Likewise.
65929         * signal/sigpause.c: Likewise.
65930         * signal/sigpending.c: Likewise.
65931         * signal/sigqueue.c: Likewise.
65932         * signal/sigreturn.c: Likewise.
65933         * signal/sigset.c: Likewise.
65934         * signal/sigsetmask.c: Likewise.
65935         * signal/sigstack.c: Likewise.
65936         * signal/sigsuspend.c: Likewise.
65937         * signal/sigtimedwait.c: Likewise.
65938         * signal/sigvec.c: Likewise.
65939         * signal/sigwait.c: Likewise.
65940         * signal/sigwaitinfo.c: Likewise.
65941         * signal/sysv_signal.c: Likewise.
65942         * socket/accept.c: Likewise.
65943         * socket/accept4.c: Likewise.
65944         * socket/bind.c: Likewise.
65945         * socket/connect.c: Likewise.
65946         * socket/getpeername.c: Likewise.
65947         * socket/getsockname.c: Likewise.
65948         * socket/getsockopt.c: Likewise.
65949         * socket/isfdtype.c: Likewise.
65950         * socket/listen.c: Likewise.
65951         * socket/recv.c: Likewise.
65952         * socket/recvfrom.c: Likewise.
65953         * socket/recvmsg.c: Likewise.
65954         * socket/send.c: Likewise.
65955         * socket/sendmsg.c: Likewise.
65956         * socket/sendto.c: Likewise.
65957         * socket/setsockopt.c: Likewise.
65958         * socket/shutdown.c: Likewise.
65959         * socket/sockatmark.c: Likewise.
65960         * socket/socket.c: Likewise.
65961         * socket/socketpair.c: Likewise.
65962         * stdio-common/ctermid.c: Likewise.
65963         * stdio-common/cuserid.c: Likewise.
65964         * stdio-common/remove.c: Likewise.
65965         * stdio-common/rename.c: Likewise.
65966         * stdio-common/renameat.c: Likewise.
65967         * stdio-common/tempname.c: Likewise.
65968         * stdlib/getcontext.c: Likewise.
65969         * stdlib/makecontext.c: Likewise.
65970         * stdlib/setcontext.c: Likewise.
65971         * stdlib/swapcontext.c: Likewise.
65972         * stdlib/system.c: Likewise.
65973         * streams/fattach.c: Likewise.
65974         * streams/fdetach.c: Likewise.
65975         * streams/getmsg.c: Likewise.
65976         * streams/getpmsg.c: Likewise.
65977         * streams/putmsg.c: Likewise.
65978         * streams/putpmsg.c: Likewise.
65979         * sysdeps/unix/bsd/getpt.c: Likewise.
65980         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
65981         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
65982         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
65984         Likewise.
65985         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
65986         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
65987         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
65988         * sysvipc/msgctl.c: Likewise.
65989         * sysvipc/msgget.c: Likewise.
65990         * sysvipc/msgrcv.c: Likewise.
65991         * sysvipc/msgsnd.c: Likewise.
65992         * sysvipc/semctl.c: Likewise.
65993         * sysvipc/semget.c: Likewise.
65994         * sysvipc/semop.c: Likewise.
65995         * sysvipc/semtimedop.c: Likewise.
65996         * sysvipc/shmat.c: Likewise.
65997         * sysvipc/shmctl.c: Likewise.
65998         * sysvipc/shmdt.c: Likewise.
65999         * sysvipc/shmget.c: Likewise.
66000         * termios/tcdrain.c: Likewise.
66001         * termios/tcflow.c: Likewise.
66002         * termios/tcflush.c: Likewise.
66003         * termios/tcgetattr.c: Likewise.
66004         * termios/tcgetpgrp.c: Likewise.
66005         * termios/tcsendbrk.c: Likewise.
66006         * termios/tcsetattr.c: Likewise.
66007         * termios/tcsetpgrp.c: Likewise.
66008         * time/adjtime.c: Likewise.
66009         * time/clock.c: Likewise.
66010         * time/getitimer.c: Likewise.
66011         * time/gettimeofday.c: Likewise.
66012         * time/setitimer.c: Likewise.
66013         * time/settimeofday.c: Likewise.
66014         * time/stime.c: Likewise.
66015         * time/time.c: Likewise.
66017 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
66019         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
66020         /usr/old/bin.
66022         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
66023         instead of spaces.
66024         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
66026 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
66028         [BZ #14796]
66029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
66030         FE_TONEAREST before applying Dekker multiplication and Knuth
66031         addition.  Clear inexact exceptions and check for exact zero
66032         results afterwards.
66033         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66034         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66035         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66036         * math/libm-test.inc (fma_test): Add more tests.
66037         (fma_test_towardzero): Likewise.
66038         (fma_test_downward): Likewise.
66039         (fma_test_upward): Likewise.
66040         * sysdeps/generic/math_private.h (default_libc_fesetround): New
66041         function.
66042         (libc_fesetround): New macro.
66043         (libc_fesetroundf): Likewise.
66044         (libc_fesetroundl): Likewise.
66045         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
66046         function.
66047         (libc_fesetround_387): Likewise.
66048         (libc_fesetroundf): New macro.
66049         (libc_fesetround): Likewise.
66050         (libc_fesetroundl): Likewise.
66051         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66052         function.
66053         (libc_fesetroundf): New macro.
66054         (libc_fesetround): Likewise.
66055         (libc_fesetroundl): Likewise.
66056         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66057         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66058         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66059         libm_hidden_ver.
66060         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66061         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66062         libm_hidden_def.
66063         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66064         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66065         libm_hidden_ver.
66066         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66067         libm_hidden_def.
66069         [BZ #3439]
66070         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66071         integer constant usable in #if and use that to give value to enum
66072         constant.
66073         (FE_DIVBYZERO): Likewise.
66074         (FE_UNDERFLOW): Likewise.
66075         (FE_OVERFLOW): Likewise.
66076         (FE_INVALID): Likewise.
66077         (FE_INVALID_SNAN): Likewise.
66078         (FE_INVALID_ISI): Likewise.
66079         (FE_INVALID_IDI): Likewise.
66080         (FE_INVALID_ZDZ): Likewise.
66081         (FE_INVALID_IMZ): Likewise.
66082         (FE_INVALID_COMPARE): Likewise.
66083         (FE_INVALID_SOFTWARE): Likewise.
66084         (FE_INVALID_SQRT): Likewise.
66085         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66086         (FE_TONEAREST): Likewise.
66087         (FE_TOWARDZERO): Likewise.
66088         (FE_UPWARD): Likewise.
66089         (FE_DOWNWARD): Likewise.
66090         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66091         (FE_DIVBYZERO): Likewise.
66092         (FE_OVERFLOW): Likewise.
66093         (FE_UNDERFLOW): Likewise.
66094         (FE_INEXACT): Likewise.
66095         (FE_TONEAREST): Likewise.
66096         (FE_DOWNWARD): Likewise.
66097         (FE_UPWARD): Likewise.
66098         (FE_TOWARDZERO): Likewise.
66099         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66100         (FE_UNDERFLOW): Likewise.
66101         (FE_OVERFLOW): Likewise.
66102         (FE_DIVBYZERO): Likewise.
66103         (FE_INVALID): Likewise.
66104         (FE_TONEAREST): Likewise.
66105         (FE_TOWARDZERO): Likewise.
66106         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66107         (FE_OVERFLOW): Likewise.
66108         (FE_UNDERFLOW): Likewise.
66109         (FE_DIVBYZERO): Likewise.
66110         (FE_INEXACT): Likewise.
66111         (FE_TONEAREST): Likewise.
66112         (FE_TOWARDZERO): Likewise.
66113         (FE_UPWARD): Likewise.
66114         (FE_DOWNWARD): Likewise.
66115         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66116         (FE_DIVBYZERO): Likewise.
66117         (FE_OVERFLOW): Likewise.
66118         (FE_UNDERFLOW): Likewise.
66119         (FE_INEXACT): Likewise.
66120         (FE_TONEAREST): Likewise.
66121         (FE_DOWNWARD): Likewise.
66122         (FE_UPWARD): Likewise.
66123         (FE_TOWARDZERO): Likewise.
66125 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66127         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66129 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66131         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66132         commands.  Quote $PWD.
66133         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66134         -x" by "export".
66135         (remove_newlines): Remove.
66137 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66139         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66140         * stdlib/stdlib.h (atof): Moved to ...
66141         * include/bits/stdlib-float.h: Here.  New file.
66142         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66143         * stdlib/bits/stdlib-float.h: New file.
66144         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66145         -mno-sse -mno-mmx.
66146         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66147         <xmmintrin.h>.
66149 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66151         * conform/conformtest.pl (@headers): Add fenv.h.
66152         * conform/data/fenv.h-data: New file.
66153         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66154         include of <math/fenv.h>.
66156         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66157         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66158         && !UNIX98].  Enables tests for XOPEN2K8.
66159         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66160         POSIX2008]: Likewise.
66162         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66163         (struct rusage): Do not expect type or its members.
66165         [BZ #3439]
66166         * math/math.h (FP_NAN): Define macro to integer constant usable in
66167         #if and use that to give value to enum constant.
66168         (FP_INFINITE): Likewise.
66169         (FP_ZERO): Likewise.
66170         (FP_SUBNORMAL): Likewise.
66171         (FP_NORMAL): Likewise.
66173 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66175         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66176         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66177         arguments.
66179 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66181         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66182         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66183         autoconf-time if not.
66184         * configure.in: Remove AC_PREREQ.
66186 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66188         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66189         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66190         of the internal implementation.
66192 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66194         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66195         except include of <misc/sys/syslog.h>.
66197 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66200         function returns with a NULL context exit with zero.
66202 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66204         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66206 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66208         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66209         (run_program_cmd): This.
66210         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66211         (tst_langinfo): New variable.  Use it.
66213 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66215         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66216         floating point opcodes.
66218 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66220         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66221         variable.
66223         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66225         * sysdeps/mach/hurd/powerpc: Remove directory.
66226         * sysdeps/mach/powerpc: Likewise.
66228 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66230         * scripts/check-local-headers.sh: Ignore c++ headers.
66232 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66234         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66235         __libc_cleanup_region_start argument.
66237 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66239         [BZ #14784]
66240         [BZ #14785]
66241         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66242         x * y using scaling, not as x * y + z.
66243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66244         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66245         * math/libm-test.inc (fma_test): Add more tests.
66246         (fma_test_towardzero): Likewise.
66247         (fma_test_downward): Likewise.
66248         (fma_test_upward): Likewise.
66250 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66252         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66254 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66256         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66257         New variable.
66259 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66261         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66263 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66266         Fix sort order.
66267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66268         Likewise.
66270 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66273         Fix the order of the list for glibc 2.17.
66274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66275         Likewise.
66277 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66281 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66283         [BZ #14610]
66284         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66285         for low part of x being zero before using __atanl (y).
66286         * math/libm-test.inc (atan2_test): Add another test.
66288         * manual/install.texi (Configuring and compiling): Document
66289         general use of test-wrapper and test-wrapper-env.
66290         * INSTALL: Regenerated.
66292         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66293         (__fma): Do not extract and scale down low bits on after-rounding
66294         systems when result rounded to normal precision would have normal
66295         exponent.
66296         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66297         (__fmal): Do not extract and scale down low bits on after-rounding
66298         systems when result rounded to normal precision would have normal
66299         exponent.
66300         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66301         (__fmal): Do not extract and scale down low bits on after-rounding
66302         systems when result rounded to normal precision would have normal
66303         exponent.
66304         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66305         macro.
66306         (fma_test): Add more tests.
66307         (fma_test_towardzero): Likewise.
66308         (fma_test_downward): Likewise.
66309         (fma_test_upward): Likewise.
66311 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66313         * sysdeps/i386/tininess.h: Renamed to ...
66314         * sysdeps/x86/tininess.h: This.
66315         * sysdeps/x86_64/tininess.h: Removed.
66317 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66319         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66320         input.  Use $(build-program-cmd).
66321         ($(objpfx)tst-array1-static.out): Likewise.
66322         ($(objpfx)tst-array2.out): Likewise.
66323         ($(objpfx)tst-array3.out): Likewise.
66324         ($(objpfx)tst-array4.out): Likewise.
66325         ($(objpfx)tst-array5.out): Likewise.
66326         ($(objpfx)tst-array5-static.out): Likewise.
66328 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66330         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66331         if defined.
66333         * nss/nsswitch.h (nss_interface_function): Provide new
66334         macro for use with NSS functions.
66335         * grp/initgroups.c: Use new macro.
66336         * nss/getXXbyYY.c: Likewise.
66337         * nss/getXXbyYY_r.c: Likewise.
66338         * nss/getXXent.c: Likewise.
66339         * nss/getXXent_r.c: Likewise.
66340         * sysdeps/posix/getaddrinfo.c: Likewise.
66342 2012-10-30  Andreas Jaeger  <aj@suse.de>
66344         * po/ru.po: Update Russion translation from translation project.
66346 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66348         [BZ #14152]
66349         [BZ #14783]
66350         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66351         result and shift together with sticky bit instead of replicating
66352         round-to-nearest rounding.
66353         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66354         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66355         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
66356         missing underflow exceptions.
66357         (fma_test_towardzero): Add more tests.
66358         (fma_test_downward): Likewise.
66359         (fma_test_upward): Likewise.
66361         [BZ #14047]
66362         * sysdeps/generic/tininess.h: New file.
66363         * sysdeps/i386/tininess.h: Likewise.
66364         * sysdeps/sh/tininess.h: Likewise.
66365         * sysdeps/x86_64/tininess.h: Likewise.
66366         * stdlib/tst-strtod-underflow.c: Likewise.
66367         * stdlib/tst-tininess.c: Likewise.
66368         * stdlib/strtod_l.c: Include <tininess.h>.
66369         (round_and_return): Do not set errno for exact underflow cases.
66370         Force an underflow exception when setting errno for underflow.
66371         Determine underflow based on rounding to normal precision if
66372         TININESS_AFTER_ROUNDING.
66373         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
66374         ERANGE for exact underflow cases.
66375         * stdlib/Makefile (tests): Add tst-tininess and
66376         tst-strtod-underflow.
66377         ($(objpfx)tst-tininess): Use $(link-libm).
66378         ($(objpfx)tst-strtod-underflow): Likewise.
66380 2012-10-30  Andreas Jaeger  <aj@suse.de>
66382         [BZ#14767]
66383         * elf/Makefile (tests): Remove conditional for have-initfini-array
66384         since this is now always required and the variable does not exist
66385         anymore.
66386         (tests-static): Likewise.
66387         (modules-names): Likewise.
66389         * po/eo.po: Add Esperanto translation from translation project.
66391         * elf/tst-array1.c (fini_array): Make writeable so that it can be
66392         merged with constructor/destructor.
66393         (init_array): Likewise.
66394         * elf/tst-array2dep.c (fini_array): Likewise.
66395         (init_array): Likewise.
66397 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
66399         * manual/message.texi: Delete @cartouche tags.
66401 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
66403         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
66404         EOPNOTSUPP.
66405         * sysdeps/mach/hurd/fsync.c: Likewise.
66407         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
66408         [_POSIX_REALTIME_SIGNALS]: Change condition to
66409         [_POSIX_REALTIME_SIGNALS > 0].
66411 2012-10-27  Andreas Jaeger  <aj@suse.de>
66413         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
66414         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
66415         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
66416         [__WORDSIZE != 64]: Likewise.
66418 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
66420         *  iconvdata/tst-table.sh: Remove ${SHELL}.
66421         *  iconvdata/tst-tables.sh: Likewise.
66423 2012-10-25  David S. Miller  <davem@davemloft.net>
66425         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66426         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
66427         of strtoull.
66429         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
66430         ifunc-impl-list.c
66431         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66432         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
66433         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
66434         file.
66436 2012-10-25  Roland McGrath  <roland@hack.frob.com>
66438         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66439         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
66440         __getdirentries.
66442 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66443             Jim Blandy  <jimb@codesourcery.com>
66445         * scripts/cross-test-ssh.sh: New file.
66446         * manual/install.texi (Configuring and compiling): Document use of
66447         cross-test-ssh.sh.
66448         * INSTALL: Regenerated.
66450 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
66452         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
66453         EOPNOTSUPP.
66455 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66457         * Makeconfig (run-program-prefix): Fix comment.
66459 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
66460             Jim Blandy  <jimb@codesourcery.com>
66462         * Makeconfig (test-wrapper): New variable,
66463         (test-wrapper-env): Likewise.
66464         [$(cross-compiling) = yes && $(test-wrapper) != ""]
66465         (run-built-tests): Define to yes.
66466         (run-program-prefix): Use $(test-wrapper).
66467         (built-program-cmd): Likewise.
66468         * Rules (make-test-out): Use $(test-wrapper-env) and
66469         $(host-built-program-cmd).
66470         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
66471         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
66472         tst-pathopt.sh.
66473         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
66474         $(test-wrapper-env) to tst-rtld-load-self.sh.
66475         ($(objpfx)order2.out): Use $(test-wrapper).
66476         ($(objpfx)tst-initorder.out): Likewise.
66477         ($(objpfx)tst-initorder2.out): Likewise.
66478         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
66479         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
66480         (test_wrapper_env): New variable.  Use it to run ld.so.
66481         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
66482         Use it to run ld.so.
66483         (test_wrapper_env): Likewise.
66484         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
66485         $(test-wrapper) to run-iconv-test.sh.
66486         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
66487         (ICONV): Use $test_wrapper.
66488         * posix/Makefile ($(objpfx)globtest.out): Pass
66489         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
66490         globtest.sh, not $(run-program-prefix).
66491         * posix/globtest.sh (run_via_rtld_prefix): New variable.
66492         (test_wrapper): Likewise.
66493         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
66494         set together with run_via_rtld_prefix.
66495         (run_program_prefix): Define in terms of test_wrapper and
66496         run_via_rtld_prefix.
66498 2012-10-24  Roland McGrath  <roland@hack.frob.com>
66500         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
66501         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
66502         Targets removed.
66504         [BZ #14743]
66505         * include/time.h: Remove librt_hidden_proto (clock_gettime).
66506         Declare __clock_getres, __clock_gettime, __clock_settime,
66507         __clock_nanosleep, and __clock_getcpuclockid.
66508         * rt/clock_gettime.c: Define __clock_gettime as an alias.
66509         Remove librt_hidden_def (clock_gettime).
66510         * sysdeps/unix/clock_gettime.c: Likewise.
66511         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
66512         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
66513         * rt/clock_getres.c: Define __clock_getres as an alias.
66514         * sysdeps/posix/clock_getres.c: Likewise.
66515         * rt/clock_settime.c: Define __clock_settime as an alias.
66516         * sysdeps/unix/clock_settime.c: Likewise.
66517         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
66518         * sysdeps/unix/clock_nanosleep.c: Likewise.
66519         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
66520         * rt/clock-compat.c: New file.
66521         * rt/Makefile (librt-routines): Add clock-compat and move
66522         $(clock-routines) to ...
66523         (routines): ... here, new variable.
66524         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
66525         Don't add get_clockfreq here.
66526         * rt/Versions (libc: GLIBC_2.17): New version set.
66527         Add clock_* symbols here.
66528         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
66529         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
66530         (GLIBC_2.17): Add clock_* symbols.
66531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66533         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66535         Likewise.
66536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66537         Likewise.
66538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66542         * NEWS: Mention the move.
66544         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
66545         Use __open, __read, __close rather than their public counterparts.
66546         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66547         (__get_clockfreq_via_cpuinfo): Likewise.
66548         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
66549         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
66551         * config.h.in (HAVE_IFUNC): New #undef.
66552         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
66553         was successful.
66554         * configure: Regenerated.
66556 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
66558         * configure.in: Move READELF check to start of file.
66559         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
66560         libc_cv_asm_gnu_indirect_function in the process.
66561         * configure: Regenerated.
66563 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
66565         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
66566         send the output to /dev/null.
66567         (libc_cv_cc_with_libunwind): Likewise.
66568         (libc_cv_as_noexecstack): Likewise.
66569         * configure: Regenerate.
66571 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
66573         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
66575         * posix/globtest.sh (TMPDIR): Do not set.
66576         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
66577         (testout): Likewise.
66579 2012-10-24  Andreas Jaeger  <aj@suse.de>
66581         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
66582         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
66583         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
66584         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
66585         posix_fadvise64, posix_fallocate64.
66587         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
66588         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
66589         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
66590         Likewise.
66591         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
66592         Likewise.
66593         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
66595         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
66596         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
66597         <bits/fcntl-linux.h>.
66598         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
66600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
66601         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
66602         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
66603         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
66604         [__WORDSIZE != 64]: Likewise.
66606 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
66608         * Makeconfig (run-built-tests): New variable.
66609         * Rules [$(cross-compiling) = yes]: Change condition to
66610         [$(run-built-tests) = no].
66611         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
66612         to [$(run-built-tests) = yes].
66613         * elf/Makefile [$(cross-compiling) = no]: Likewise.
66614         * grp/Makefile [$(cross-compiling) = no]: Likewise.
66615         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
66616         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
66617         * intl/Makefile [$(cross-compiling) = no]: Likewise.
66618         * io/Makefile [$(cross-compiling) = no]: Likewise.
66619         * libio/Makefile [$(cross-compiling) = no]: Likewise.
66620         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
66621         * misc/Makefile [$(cross-compiling) = no]: Likewise.
66622         * posix/Makefile [$(cross-compiling) = no]: Likewise.
66623         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
66624         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
66625         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
66626         * string/Makefile [$(cross-compiling) = no]: Likewise.
66628         * posix/Makefile ($(objpfx)globtest.out): Pass
66629         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
66630         $(rtld-installed-name).
66631         * posix/globtest.sh (elf_objpfx): Remove variable.
66632         (rtld_installed_name): Likewise.
66633         (library_path): Likewise.
66634         (run_program_prefix): New variable.  Use for running globtest
66635         binary.
66637 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
66638             Joseph Myers  <joseph@codesourcery.com>
66640         * Makeconfig (host-built-program-cmd): New variable.
66641         * elf/Makefile (tst-stackguard1-ARGS): Use
66642         $(host-built-program-cmd).
66643         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
66644         (tst-spawn-ARGS): Likewise.
66645         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
66647 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
66648             Jim Blandy  <jimb@codesourcery.com>
66650         * Makeconfig (run-via-rtld-prefix): New variable.
66651         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
66652         (built-program-cmd): Likewise.
66654 2012-10-22  Andreas Jaeger  <aj@suse.de>
66656         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
66657         __O_RSYNC if it exists, otherwise to O_SYNC.
66659 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
66660             Joseph Myers  <joseph@codesourcery.com>
66662         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
66663         /dev/null.
66664         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
66665         from /dev/null
66666         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
66667         /dev/null.
66669 2012-10-22  Andreas Jaeger  <aj@suse.de>
66671         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
66672         Define always.
66673         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
66675         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66676         bits/fcntl-linux.h.
66678         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
66679         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
66681         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
66682         to __O_LARGEFILE.
66683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
66684         to __O_LARGEFILE.
66686 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
66687             Joseph Myers  <joseph@codesourcery.com>
66689         * config.make.in (NM): New variable.
66691 2012-10-21  Andreas Jaeger  <aj@suse.de>
66693         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
66694         definitions and declarations that are provided by
66695         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66697 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
66699         [BZ #14683]
66700         * elf/Makefile (tests-static): Add tst-leaks1-static.
66701         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
66702         ($(objpfx)tst-leaks1-static): New rule.
66703         ($(objpfx)tst-leaks1-static-mem): Likewise.
66704         (tst-leaks1-static-ENV): New macro.
66705         * elf/dl-open.c (dl_open_worker): Check the main application
66706         only if SHARED is defined.
66707         * elf/tst-leaks1-static.c: New file.
66709 2012-10-20  Andreas Jaeger  <aj@suse.de>
66711         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
66712         generic values for Linux.
66713         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
66714         and declarations that are provided by <bits/fcntl-linux.h> and
66715         include <bits/fcntl-linux.h>.
66716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66719 2012-10-20  Roland McGrath  <roland@hack.frob.com>
66721         * io/fcntl.h: Move include of <bits/types.h> to the top and
66722         include it unconditionally.
66724 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
66726         * wcsmbs/Makefile (tests-ifunc): New variable.
66727         (tests): Add $(tests-ifunc).
66728         * wcsmbs/test-wcschr-ifunc.c: New file.
66729         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
66730         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
66731         * wcsmbs/test-wcslen-ifunc.c: Likewise.
66732         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
66733         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
66735         * string/Makefile (tests-ifunc): New variable.
66736         (tests): Add $(tests-ifunc).
66737         * string/test-memccpy.c (TEST_NAME): New macro.
66738         * string/test-memchr.c (TEST_NAME): Likewise.
66739         * string/test-memcmp.c (TEST_NAME): Likewise.
66740         * string/test-memcpy.c (TEST_NAME): Likewise.
66741         * string/test-memmem.c (TEST_NAME): Likewise.
66742         * string/test-memmove.c (TEST_NAME): Likewise.
66743         * string/test-memset.c (TEST_NAME): Likewise.
66744         * string/test-rawmemchr.c (TEST_NAME): Likewise.
66745         * string/test-stpcpy.c (TEST_NAME): Likewise.
66746         * string/test-stpncpy.c (TEST_NAME): Likewise.
66747         * string/test-strcasecmp.c (TEST_NAME): Likewise.
66748         * string/test-strcasestr.c (TEST_NAME): Likewise.
66749         * string/test-strcat.c (TEST_NAME): Likewise.
66750         * string/test-strchr.c (TEST_NAME): Likewise.
66751         * string/test-strcmp.c(TEST_NAME): Likewise.
66752         * string/test-strcpy.c (TEST_NAME): Likewise.
66753         * string/test-strcspn.c (TEST_NAME): Likewise.
66754         * string/test-strlen.c (TEST_NAME): Likewise.
66755         * string/test-strncasecmp.c (TEST_NAME): Likewise.
66756         * string/test-strncmp.c (TEST_NAME): Likewise.
66757         * string/test-strncpy.c (TEST_NAME): Likewise.
66758         * string/test-strnlen.c (TEST_NAME): Likewise.
66759         * string/test-strpbrk.c (TEST_NAME): Likewise.
66760         * string/test-strrchr.c (TEST_NAME): Likewise.
66761         * string/test-strspn.c (TEST_NAME): Likewise.
66762         * string/test-strstr.c (TEST_NAME): Likewise.
66763         * string/test-bcopy-ifunc.c: New file.
66764         * string/test-bzero-ifunc.c: Likewise.
66765         * string/test-memccpy-ifunc.c: Likewise.
66766         * string/test-memchr-ifunc.c: Likewise.
66767         * string/test-memcmp-ifunc.c: Likewise.
66768         * string/test-memcpy-ifunc.c: Likewise.
66769         * string/test-memmem-ifunc.c: Likewise.
66770         * string/test-memmove-ifunc.c: Likewise.
66771         * string/test-mempcpy-ifunc.c: Likewise.
66772         * string/test-memset-ifunc.c: Likewise.
66773         * string/test-rawmemchr-ifunc.c: Likewise.
66774         * string/test-stpcpy-ifunc.c: Likewise.
66775         * string/test-stpncpy-ifunc.c: Likewise.
66776         * string/test-strcasecmp-ifunc.c: Likewise.
66777         * string/test-strcasestr-ifunc.c: Likewise.
66778         * string/test-strcat-ifunc.c: Likewise.
66779         * string/test-strchr-ifunc.c: Likewise.
66780         * string/test-strchrnul-ifunc.c: Likewise.
66781         * string/test-strcmp-ifunc.c: Likewise.
66782         * string/test-strcpy-ifunc.c: Likewise.
66783         * string/test-strcspn-ifunc.c: Likewise.
66784         * string/test-strlen-ifunc.c: Likewise.
66785         * string/test-strncasecmp-ifunc.c: Likewise.
66786         * string/test-strncat-ifunc.c: Likewise.
66787         * string/test-strncmp-ifunc.c: Likewise.
66788         * string/test-strncpy-ifunc.c: Likewise.
66789         * string/test-strnlen-ifunc.c: Likewise.
66790         * string/test-strpbrk-ifunc.c: Likewise.
66791         * string/test-strrchr-ifunc.c: Likewise.
66792         * string/test-strspn-ifunc.c: Likewise.
66793         * string/test-strstr-ifunc.c: Likewise.
66795         * debug/Makefile (tests-ifunc): New variable.
66796         (tests): Add $(tests-ifunc).
66797         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
66798         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
66799         * debug/test-stpcpy_chk-ifunc.c: New file.
66800         * debug/test-strcpy_chk-ifunc.c: Likewise.
66802 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
66804         [BZ #13601]
66805         * elf/dl-load.c (open_verify): Retry read if the entire ELF
66806         header is not read in.
66808 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
66810         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
66811         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
66812         directly.  Pass built executable to script as
66813         $(built-program-cmd).
66814         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
66815         $testprogram without using LD_LIBRARY_PATH and $ldso.
66817         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
66818         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
66819         $(rtld-installed-name).
66820         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
66821         (rtld_installed_name): Likewise.
66822         (library_path): Likewise.
66823         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
66824         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
66825         $(run-program-prefix) to tst-tables.sh.
66826         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
66827         it to run tst-table-from and tst-table-to.
66828         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
66829         Pass it to tst-table.sh.
66830         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
66831         $(run-program-prefix) to tst-gettext.sh.
66832         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
66833         tst-translit.sh.
66834         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
66835         tst-gettext2.sh.
66836         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
66837         to run tst-gettext.
66838         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
66839         to run tst-gettext2.
66840         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
66841         to run tst-translit.
66842         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
66843         $(run-program-prefix) to tst-mtrace.sh.
66844         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
66845         to run tst-mtrace.
66846         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
66847         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
66848         $(rtld-installed-name).
66849         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
66850         (rtld_installed_name): Likewise.
66851         (run_program_prefix): New variable.  Use it to run wordexp-test.
66853         * Makeconfig (ARCH): Remove all definitions.
66854         (machine): Likewise.
66855         [ARCH]: Remove conditional code.
66856         [!objdir]: Give error.
66857         [!objdir] (objpfx): Remove.
66858         [!objdir] (common-objpfx): Likewise.
66859         [!objdir] (common-objdir): Likewise.
66860         * configure.in (config_makefile): Remove.  Hardcode Makefile in
66861         AC_CONFIG_FILES call.
66862         * configure: Regenerated.
66864         [BZ #13888]
66865         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
66866         or TMPDIR.
66867         (testout): Likewise.
66869         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
66870         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
66871         $(rtld-installed-name).
66872         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
66873         (rtld_installed_name): Likewise.
66874         (runit): Remove function.
66875         (run_getconf): New variable,  Use it for running getconf binary.
66877 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
66879         [BZ #14716]
66880         * string/test-memmem.c (check_result): New function.
66881         (do_one_test): Use it.
66882         (check1): New function.
66883         (test_main): Use it.
66885 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
66887         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
66889 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
66891         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
66892         (_G_LSEEK64): Likewise.
66893         (_G_MMAP64): Likewise.
66894         (_G_FSTAT64): Likewise.
66895         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
66896         (_G_LSEEK64): Likewise.
66897         (_G_MMAP64): Likewise.
66898         (_G_FSTAT64): Likewise.
66899         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
66900         unconditional.  Call __mmap64 directly.
66901         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
66902         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
66903         __lseek64 directly.
66904         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
66905         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
66906         __mmap64 directly.
66907         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
66908         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
66909         __lseek64 directly.
66910         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
66911         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
66912         __lseek64 directly.
66913         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
66914         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
66915         __lseek64 directly.
66916         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
66917         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
66918         __fxstat64 directly.
66919         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
66920         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
66921         unconditional.
66922         (freopen64) [!_G_OPEN64]: Remove conditional code.
66923         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
66924         unconditional.
66925         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
66926         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
66927         unconditional.
66928         (ftello64) [!_G_LSEEK64]: Remove conditional code.
66929         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
66930         unconditional.
66931         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66932         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
66933         unconditional.
66934         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
66935         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
66936         unconditional.
66937         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66938         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
66939         unconditional.
66940         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66941         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
66942         unconditional.
66943         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66945 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66947         [BZ #12140]
66948         * manual/memory.texi (Malloc Tunable Parameters): Add note
66949         about free list pointers overwriting some perturb bytes.
66950         Wording suggested by Roland McGrath.
66952 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
66954         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
66955         (lgamma_test): Likewise.
66956         (tgamma_test): Likewise.
66958 2012-10-16  Florian Weimer  <fweimer@redhat.com>
66960         [BZ #14700]
66961         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
66962         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
66964 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
66966         * NEWS: Mention BZ #14716.
66967         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
66968         when removing AVAILABLE1_USES_J macro.
66970 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
66972         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
66973         (__bswap_64): __uint64_t for unsigned 64-bit int.
66975 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
66977         * include/string.h (memmem): Declare libc hidden alias.
66978         * string/memmem.c (memmem): Define libc hidden alias.
66979         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
66980         __read, __close instead of open, read, close.
66982 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
66984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
66985         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
66986         global and hidden.
66987         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
66988         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
66989         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
66990         Likewise.
66991         (__rawmemchr_sse2): Likewise.
66992         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
66993         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
66994         (__strchr_sse2): Likewise.
66995         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
66996         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
66997         (__strcasecmp_sse2): Likewise.
66998         (__strncasecmp_sse2): Likewise.
66999         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
67000         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
67001         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
67002         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
67003         (__strrchr_sse2): Likewise.
67004         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
67005         ifunc-impl-list.c.
67006         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
67007         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67008         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
67009         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67010         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
67011         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
67012         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67013         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67014         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
67015         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
67016         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
67017         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
67018         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
67019         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
67020         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
67021         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
67022         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
67023         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
67024         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
67025         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
67026         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
67027         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
67028         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
67029         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67030         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
67031         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67032         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
67033         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67034         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
67035         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
67037         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
67038         global and hidden.
67039         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
67040         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
67041         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
67042         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
67043         Likewise.
67044         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
67045         Likewise.
67046         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
67047         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67048         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
67049         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67050         ifunc-impl-list.c.
67051         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67052         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67053         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67054         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67055         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67056         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67057         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67058         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67059         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67060         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67061         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67062         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67063         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67064         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67065         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67066         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67067         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67068         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67069         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67070         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67071         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67072         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67073         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67074         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67075         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67076         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67077         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67078         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67079         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67080         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67081         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67082         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67083         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67084         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67085         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67086         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67087         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67088         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67089         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67090         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67091         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67093         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67094         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67095         * include/ifunc-impl-list.h: New file.
67096         * misc/ifunc-impl-list.c: Likewise.
67097         * misc/Makefile (routines): Add ifunc-impl-list.
67098         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67099         * string/test-string.h: Include <ifunc-impl-list.h>.
67100         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67101         TEST_NAME]: New variables.
67102         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67103         are defined.
67104         (test_init): Call __libc_ifunc_impl_list to initialize
67105         func_list if TEST_IFUNC and TEST_NAME are defined.
67107         * string/Makefile (strop-tests): Add bcopy and bzero.
67108         * string/test-bcopy.c: New file.
67109         * string/test-bzero.c: Likewise.
67110         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67111         defined.
67112         * string/test-memset.c: Support bzero test if TEST_BZERO is
67113         defined.
67114         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67115         __libc_memmove.
67116         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67117         __libc_memset.
67118         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67119         of memset.
67121 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67123         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67124         * configure: Regenerated.
67126         * Makeconfig (+link-static-before-libc): Don't include
67127         $(link-static-libc).
67129         * libio/libio.h (_IO_pos_t): Remove.
67131 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67133         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67134         McGrath.
67136 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67138         * crypt/crypt-entry.c: Include fips-private.h.
67139         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67140         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67141         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67142         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67144 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67146         * crypt/crypt-private.h: Include stdbool.h.
67147         (_ufc_setup_salt_r): Return bool.
67148         * crypt/crypt-entry.c: Include errno.h.
67149         (__crypt_r): Return NULL with EINVAL for bad salt.
67150         * crypt/crypt_util.c (bad_for_salt): New.
67151         (_ufc_setup_salt_r): Check that salt is long enough and within
67152         the specified alphabet.
67153         * crypt/badsalttest.c: New file.
67154         * crypt/Makefile (tests): Add it.
67155         ($(objpfx)badsalttest): New.
67157 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67159         * NEWS: Add entry for BZ #14602.
67161 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67163         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67164         type-generic.
67165         * math/libm-test.inc: Update comment listing what functions and
67166         macros are tested.
67167         (isgreater_test): New function.
67168         (isgreaterequal_test): Likewise.
67169         (isless_test): Likewise.
67170         (islessequal_test): Likewise.
67171         (islessgreater_test): Likewise.
67172         (isunordered_test): Likewise.
67173         (main): Call the new functions.
67175 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67177         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67178         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67179         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67180         * sysdeps/i386/configure: Regenerated.
67181         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67182         * sysdeps/mach/configure: Regenerated.
67183         * sysdeps/mach/hurd/configure: Regenerated.
67184         * sysdeps/powerpc/configure: Regenerated.
67185         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67186         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67187         * sysdeps/s390/s390-32/configure: Regenerated.
67188         * sysdeps/s390/s390-64/configure: Regenerated.
67189         * sysdeps/sh/configure: Regenerated.
67190         * sysdeps/sparc/configure: Regenerated.
67191         * sysdeps/unix/sysv/linux/configure: Regenerated.
67192         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67193         * sysdeps/x86_64/configure: Regenerated.
67195         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67196         defined.  Don't check if MAP is NULL.
67198 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67200         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67201         (_G_stat64): Likewise.
67202         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67203         (_G_stat64): Likewise.
67204         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67205         instead of struct _G_stat64.
67206         * libio/fileops.c (mmap_remap_check): Likewise.
67207         (decide_maybe_mmap): Likewise.
67208         (_IO_new_file_seekoff): Likewise.
67209         (_IO_file_stat): Likewise.
67210         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67211         _G_off64_t.
67212         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67213         instead of struct _G_stat64.
67214         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67216 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67218         [BZ #14602]
67219         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67220         Replace with ...
67221         (CHECK_EOL): New macro.
67222         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67223         CHECK_EOL.
67224         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67225         Replace with CHECK_EOL.
67226         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67227         Replace with CHECK_EOL.
67229 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67231         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67232         type-generic.
67233         * math/libm-test.inc: Update comment listing what functions and
67234         macros are tested.
67235         (finite_test): New function.
67236         (isinf_test): Likewise.
67237         (isnan_test): Likewise.
67238         (fpclassify_test): Test subnormal input.
67239         (isfinite_test): Likewise.
67240         (isnormal_test): Likewise.
67241         (main): Call the new functions.
67243 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67245         [BZ #14660]
67246         * Makerules (%.dynsym): Force C locale when running
67247         $(OBJDUMP) --dynamic-syms.
67249 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67251         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67252         <stdint.h>.
67254 2012-10-06  David S. Miller  <davem@davemloft.net>
67256         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67257         upper 32-bits of the length value in %o2 since we use branch-on-register
67258         tests which consider the entire 64-bit register.
67260 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67262         * string/test-strstr.c (check2): Add a test for page boundary.
67264 2012-10-05  David S. Miller  <davem@davemloft.net>
67266         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67267         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67268         file.
67269         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67270         sysdep_routines.
67271         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67272         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67273         and bzero when HWCAP_SPARC_CRYPTO is present.
67275 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67277         [BZ #14602]
67278         * string/test-strstr.c (check2): New function.
67279         (test_main): Call check2.
67281         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67282         and bug-strchr1.
67283         * string/bug-strcasestr1.c (do_test): Moved to ...
67284         * string/test-strcasestr.c (check1): Here.  New function.
67285         (do_one_test): Break out result checking code into ...
67286         (check_result): This.  New function.
67287         (do_one_test): Call check_result.
67288         (test_main): Call check1.
67289         * string/bug-strchr1.c (do_test): Moved to ...
67290         * string/test-strchr.c (check1): Here.  New function.
67291         (do_one_test): Break out result checking code into ...
67292         (check_result): This.  New function.
67293         (do_one_test): Call check_result.
67294         (test_main): Call check1.
67295         * string/bug-strstr1.c (main): Moved to ...
67296         * string/test-strstr.c (check1): Here.  New function.
67297         (do_one_test): Break out result checking code into ...
67298         (check_result): This.  New function.
67299         (do_one_test): Call check_result.
67300         (test_main): Call check1.
67301         * string/bug-strcasestr1.c: Removed.
67302         * string/bug-strchr1.c: Likewise.
67303         * string/bug-strstr1.c: Likewise.
67305         * elf/Makefile (dl-routines): Add hwcaps.
67306         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67307         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67308         (_dl_important_hwcaps): Moved to ...
67309         * elf/dl-hwcaps.c: Here.  New file.
67310         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67312         [BZ #14557]
67313         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67314         if IS_IN_rtld isn't defined.
67316         * elf/dl-support.c (_dl_sysinfo_map): New.
67317         Include "get-dynamic-info.h" and "setup-vdso.h".
67318         (_dl_non_dynamic_init): Call setup_vdso.
67319         * elf/dynamic-link.h: Don't include <assert.h>.
67320         (elf_get_dynamic_info): Moved to ...
67321         * elf/get-dynamic-info.h: Here.  New file.
67322         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67323         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67324         * elf/setup-vdso.h: Here.  New file.
67325         * elf/rtld.c: Include "setup-vdso.h".
67326         (dl_main): Call setup_vdso.
67328 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67330         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67331         creal in comment listing functions tested.  List finite, isinf,
67332         isnan, isless, islessequal, isgreater, isgreaterequal,
67333         islessgreater, isunordered, lgamma_r and pow10 as functions and
67334         macros not tested.  Mention which functions not tested are aliases
67335         for other functions.  Fix typo.  Note that signs of NaNs are not
67336         tested.
67338         * scripts/config.guess: Update from config.git.
67339         * scripts/config.sub: Likewise.
67341 2012-10-04  Roland McGrath  <roland@hack.frob.com>
67343         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67344         * misc/madvise.c (madvise): Renamed to __madvise.
67345         Make madvise a weak alias.
67346         * include/sys/mman.h: Declare __madvise.
67347         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67348         * sysdeps/unix/syscalls.list
67349         (madvise): Make __madvise the strong name, and madvise a weak alias.
67350         * sysdeps/unix/sysv/linux/syscalls.list
67351         (madvise, mmap): Remove redundant entries.
67352         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67353         * malloc/malloc.c (mtrim): Likewise.
67354         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67356 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67358         * sysdeps/mach/hurd/dl-cache.c: File removed.
67359         * config.h.in (USE_LDCONFIG): New #undef.
67360         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67361         * configure: Regenerated.
67362         * elf/Makefile (dl-routines): Add dl-cache only under
67363         [$(use-ldconfig) = yes].
67364         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67365         cache on [USE_LDCONFIG].
67366         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
67367         [USE_LDCONFIG].
67368         * elf/rtld.c (dl_main): Likewise.
67370 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
67372         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
67373         _SC_LEVEL4_CACHE_LINESIZE.
67375 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67377         * sysdeps/unix/bsd/confstr.h: File removed.
67379 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
67381         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
67382         sys/sdt-config.h.
67384 2012-10-02  Roland McGrath  <roland@hack.frob.com>
67386         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
67387         Make 'mapoff' field ElfW(Off) rather than off_t.
67389 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
67391         * nscd/Makefile: Remove nscd-cflags and all its users.
67392         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
67393         (CFLAGS-nonlib): Add compiler flags for nscd modules.
67395         [BZ #10631]
67396         * malloc.c (malloc_printerr): Clarify error message.
67398 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
67400         [BZ #14648]
67401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67402         Set bit_FMA_Usable if FMA is supported.
67403         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
67404         macro.
67405         (bit_FMA4_Usable): Updated.
67406         (index_FMA_Usable): New macro.
67407         (CPUID_FMA): Likewise.
67408         (HAS_FMA): Defined with bit_FMA_Usable.
67410 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67412         * bits/types.h (__swblk_t): Type removed.
67413         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
67414         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
67415         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67416         (__SWBLK_T_TYPE): Likewise.
67417         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67418         (__SWBLK_T_TYPE): Likewise.
67419         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67420         (__SWBLK_T_TYPE): Likewise.
67421         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67422         (__SWBLK_T_TYPE): Likewise.
67424 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
67425             Honza Horak <hhorak@redhat.com>
67427         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
67428         (xdr_mapname): Use YPMAXMAP as maxsize.
67429         (xdr_peername): Use YPMAXPEER as maxsize.
67430         (xdr_keydat): Use YPAXRECORD as maxsize.
67431         (xdr_valdat): Use YPMAXRECORD as maxsize.
67433 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67435         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
67437         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
67438         * csu/init-first.c: ... here.
67439         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
67440         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
67441         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
67442         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
67443         * sysdeps/i386/init-first.c: File removed.
67444         * sysdeps/sh/init-first.c: File removed.
67446 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
67448         [BZ #14645]
67449         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
67450         if x * y might underflow to zero and z is zero.
67451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67453         * math/libm-test.inc (min_subnorm_value): New variable.
67454         (fma_test): Add more tests.
67455         (fma_test_towardzero): Likewise.
67456         (fma_test_downward): Likewise.
67457         (fma_test_upward): Likewise.
67458         (initialize): Set min_subnorm_value.
67460 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
67462         [BZ #14638]
67463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
67464         0 + 0.
67465         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
67466         mode for addition resulting in exact zero.
67467         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
67468         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
67469         exact 0 + 0.
67470         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67471         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67472         * math/libm-test.inc (fma_test): Add more tests.
67473         (fma_test_towardzero): New function.
67474         (fma_test_downward): Likewise.
67475         (fma_test_upward): Likewise.
67476         (main): Call the new functions.
67478 2012-09-28  David S. Miller  <davem@davemloft.net>
67480         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
67482 2012-09-28  Roland McGrath  <roland@hack.frob.com>
67484         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
67485         instead of SIGALRM.
67487         * sysdeps/gnu/_G_config.h: Moved to ...
67488         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
67489         * sysdeps/mach/hurd/_G_config.h: Moved to ...
67490         * sysdeps/generic/_G_config.h: ... here.
67492         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
67494         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
67496         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
67497         Conditionalize target on [libnss_test1.so-version].
67499         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
67501         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
67502         (elfobjdir): Move out of conditionals.
67504         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
67505         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
67506         (__nss_lookup_function): Conditionalize label remove_from_tree on
67507         [!DO_STATIC_NSS || SHARED], matching its only use.
67509 2012-09-28  David S. Miller  <davem@davemloft.net>
67511         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
67512         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
67513         file.
67514         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67515         sysdep_routines.
67516         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67517         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
67518         when HWCAP_SPARC_CRYPTO is present.
67520 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67522         * io/tst-mknodat.c: Create a FIFO instead of a socket.
67524 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
67526         [BZ #6530]
67527         * stdio-common/vfprintf.c (process_string_arg): Revert
67528         2000-07-22 change.
67530 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
67532         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
67533         for testcase.
67534         * stdio-common/tst-sprintf.c: Include <locale.h>
67535         (main): Test sprintf's handling of incomplete multibyte
67536         characters.
67538 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
67540         * elf/dl-runtime.c (VERSYMIDX): Removed.
67541         * elf/dl-version.c (VERSYMIDX): Likewise.
67542         * elf/do-rel.h (VERSYMIDX): Likewise.
67543         (VALIDX): Likewise.
67544         * elf/dynamic-link.h (VERSYMIDX): Likewise.
67545         * elf/rtld.c (VALIDX): Likewise.
67546         (ADDRIDX): Likewise.
67547         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
67548         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
67549         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
67550         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
67551         (VALIDX): Likewise.
67552         (ADDRIDX): Likewise.
67554 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67556         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
67558 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
67560         [BZ #11438]
67561         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
67562         to global scope.
67563         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
67564         addresses are in the same scope as 192.0.2/24.
67565         * posix/gai.conf: Document new scope table defaults.
67567 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67569         [BZ #5298]
67570         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
67571         for ftell.  Compute offsets from write pointers instead.
67572         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67574 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67576         [BZ #14543]
67577         * libio/Makefile (tests): New test case tst-fseek.
67578         * libio/tst-fseek.c: New test case to verify that fseek/ftell
67579         combination works in wide mode.
67580         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
67581         state when the external buffer state changes.
67583 2012-09-27  David S. Miller  <davem@davemloft.net>
67585         [BZ #14376]
67586         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
67587         pass reloc->r_addend in as the 'high' argument to
67588         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
67590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67592 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67594         * rt/tst-aio2.c: Include <pthread.h>.
67595         * rt/tst-aio3.c: Likewise.
67597 2012-09-27  Steve Ellcey  <sellcey@mips.com>
67599         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
67601 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
67603         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
67604         contents on [SHARED].
67606 2012-09-26  Marek Polacek  <polacek@redhat.com>
67608         [BZ #14530]
67609         [BZ #13741]
67610         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
67611         for C++ and GCC <4.3 as well as for non GCC compilers.
67613 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
67615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67617 2012-09-25  Roland McGrath  <roland@hack.frob.com>
67619         * Makefile.in (all, install): Declare with .PHONY.
67620         Reported by Michael Hope <michael.hope@linaro.org>.
67622 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67624         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
67625         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
67626         system header.
67627         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
67628         Likewise.
67629         (sydep_routines): Add the new and the internal functions.
67630         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
67631         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
67632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
67633         (GLIBC_2.17): Add the new function.
67634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67635         (GLIBC_2.17): Likewise.
67636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
67637         (GLIBC_2.17): Likewise.
67638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
67639         (GLIBC_2.17): Likewise.
67640         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
67642 2012-09-25  Alan Modra  <amodra@gmail.com>
67644         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
67645         Add release barrier before setting once_control to say
67646         initialisation is done.  Add hints on lwarx.  Use macro in
67647         place of isync.
67648         (clear_once_control): Add release barrier.
67650 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
67652         [BZ #13629]
67653         * math/s_clog.c (__clog): Handle more values close to |z| = 1
67654         specially.
67655         * math/s_clog10.c (__clog10): Likewise.
67656         * math/s_clog10f.c (__clog10f): Likewise.
67657         * math/s_clog10l.c (__clog10l): Likewise.
67658         * math/s_clogf.c (__clogf): Likewise.
67659         * math/s_clogl.c (__clogl): Likewise.
67660         * math/Makefile (libm-calls): Add x2y2m1.
67661         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
67662         (__x2y2m1): Likewise.
67663         (__x2y2m1l): Likewise.
67664         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
67665         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
67666         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
67667         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
67668         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
67669         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
67670         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
67671         * sysdeps/i386/fpu/libm-test-ulps: Update.
67672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67674         [BZ #14621]
67675         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
67676         int as type of variable DEPTH.
67677         (glob): Use size_t instead of int as type of variables NEWCOUNT
67678         and OLD_PATHC.
67680 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67682         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67683         Add s_sincosf-sse2.
67684         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
67685         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
67686         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
67687         macros for using routine as __sincosf_ia32.
67688         Use macro for function declaration and weak_alias.
67689         * sysdeps/i386/fpu/libm-test-ulps: Update.
67691         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
67692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67694         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
67695         subnormal argument.
67696         * math/s_cexpf.c (__cexpf): Likewise.
67697         * math/s_csinf.c (__csinf): Likewise.
67698         * math/s_csinhf.c (__csinhf): Likewise.
67699         * math/s_ctanf.c (__ctanf): Likewise.
67700         * math/s_ctanhf.c (__ctanhf): Likewise.
67701         * math/s_ccosh.c (__ccoshf): Likewise.
67702         * math/s_cexp.c (__cexpl): Likewise.
67703         * math/s_csin.c (__csin): Likewise.
67704         * math/s_csinh.c (__csinh): Likewise.
67705         * math/s_ctan.c (__ctan): Likewise.
67706         * math/s_ctanh.c (ctanh): Likewise.
67707         * math/s_ccoshl.c (__ccoshl): Likewise.
67708         * math/s_cexpl.c (__cexpl): Likewise.
67709         * math/s_csinl.c (__csinl): Likewise.
67710         * math/s_csinhl.c (__csinhl): Likewise.
67711         * math/s_ctanl.c (__ctanl): Likewise.
67712         * math/s_ctanhl.c (__ctanhl): Likewise.
67714 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
67716         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
67717         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
67718         (_IO_off_t): Define to __off_t, not _G_off_t.
67719         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
67720         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
67721         (_IO_wint_t): Define to wint_t, not _G_wint_t.
67722         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
67723         type of __dummy and __dummy2 fields.
67724         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
67725         (_G_ssize_t): Likewise.
67726         (_G_off_t): Likewise.
67727         (_G_pid_t): Likewise.
67728         (_G_uid_t): Likewise.
67729         (_G_wchar_t): Likewise.
67730         (_G_wint_t): Likewise.
67731         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
67732         (_G_ssize_t): Likewise.
67733         (_G_off_t): Likewise.
67734         (_G_pid_t): Likewise.
67735         (_G_uid_t): Likewise.
67736         (_G_wchar_t): Likewise.
67737         (_G_wint_t): Likewise.
67738         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
67739         (_G_ssize_t): Likewise.
67740         (_G_off_t): Likewise.
67741         (_G_pid_t): Likewise.
67742         (_G_uid_t): Likewise.
67743         (_G_wchar_t): Likewise.
67744         (_G_wint_t): Likewise.
67746 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67748         * malloc/arena.c: Include malloc-sysdep.h.
67749         (shrink_heap): Use check_may_shrink_heap to decide if madvise
67750         is sufficient to shrink the heap or an unmap is needed.
67751         * sysdeps/generic/malloc-sysdep.h: New file.  Define
67752         new function check_may_shrink_heap.
67753         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
67754         new function check_may_shrink_heap.
67756 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67758         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
67759         comments.
67761 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
67763         * catgets/test-gencat.sh: Add "set -e".
67764         * elf/tst-pathopt.sh: Likewise.
67765         * grp/tst_fgetgrent.sh: Likewise.
67766         * iconvdata/run-iconv-test.sh: Likewise.
67767         * intl/tst-gettext.sh: Likewise.
67768         * intl/tst-gettext2.sh: Likewise.
67769         * intl/tst-gettext4.sh: Likewise.
67770         * intl/tst-gettext6.sh: Likewise.
67771         * intl/tst-translit.sh: Likewise.
67772         * io/ftwtest-sh: Likewise.
67773         * libio/test-freopen.sh: Likewise.
67774         * malloc/tst-mtrace.sh: Likewise.
67775         * posix/globtest.sh: Likewise.
67776         * posix/tst-getconf.sh: Likewise.
67777         * posix/wordexp-tst.sh: Likewise.
67778         * stdio-common/tst-printf.sh: Likewise.
67779         * stdio-common/tst-unbputc.sh: Likewise.
67780         * stdlib/tst-fmtmsg.sh: Likewise.
67781         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
67782         * catgets/Makefile: Do not specify -e option when running
67783         testsuite shell scripts.
67784         * elf/Makefile: Likewise.
67785         * grp/Makefile: Likewise.
67786         * iconvdata/Makefile: Likewise.
67787         * intl/Makefile: Likewise.
67788         * io/Makefile: Likewise.
67789         * libio/Makefile: Likewise.
67790         * malloc/Makefile: Likewise.
67791         * posix/Makefile: Likewise.
67792         * stdio-common/Makefile: Likewise.
67793         * stdlib/Makefile: Likewise.
67794         * sysdeps/x86_64/Makefile: Likewise.
67796         * io/ftwtest-sh: Add copyright header.
67797         * posix/globtest.sh: Likewise.
67798         * posix/tst-getconf.sh: Likewise.
67799         * posix/wordexp-tst.sh: Likewise.
67800         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
67802 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
67804         [BZ #13679]
67805         * Makeconfig (+link): Defined as $(+link-static) if
67806         $(build-shared) isn't yes.
67807         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
67808         isn't yes.
67809         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
67811         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
67813         [BZ #14562]
67814         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
67815         new chunk size with MALLOC_ALIGN_MASK.
67817 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
67819         [BZ #5044]
67820         * stdio-common/printf_fphex.c: Include <stdbool.h> and
67821         <rounding-mode.h>.
67822         (__printf_fphex): Determine rounding using get_rounding_mode and
67823         round_away.
67824         * stdio-common/tst-printf-round.c (struct hex_test): New
67825         structure.
67826         (hex_tests): New variable.
67827         (test_hex_in_one_mode): New function.
67828         (do_test): Also run tests for hex float output.
67830 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
67832         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
67833         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
67834         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
67835         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
67836         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
67837         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
67838         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
67839         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
67841 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
67843         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
67844         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
67845         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
67846         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
67848 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
67850         [BZ #14579]
67851         * elf/rtld.c (dl_main): Limit the check for self loading to normal
67852         mode only.
67853         * elf/tst-rtld-load-self.sh: New test.
67854         * elf/Makefile: Run it.
67856 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
67858         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
67859         (tst-writev-ENV): Remove.
67860         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
67862 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
67864         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
67866 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
67868         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
67869         unconditional.
67870         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
67871         Likewise.
67872         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
67873         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
67874         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
67875         Likewise.
67877 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
67879         [BZ #14587]
67880         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
67881         * config.make.in (have-cpp-asm-debuginfo): Removed.
67882         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
67883         * configure: Regenerated.
67885 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
67887         [BZ #5044]
67888         * stdio-common/printf_fp.c: Include <stdbool.h> and
67889         <rounding-mode.h>.
67890         (___printf_fp): Determine rounding using get_rounding_mode and
67891         round_away.
67892         * stdio-common/tst-printf-round.c: New file.
67893         * stdio-common/Makefile (tests): Add tst-printf-round.
67894         (link-libm): New variable.
67895         ($(objpfx)tst-printf-round): Depend in $(link-libm).
67897 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
67899         [BZ #14576]
67900         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
67901         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
67902         Likewise.
67903         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
67904         Likewise.
67906 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
67908         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
67909         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67910         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67911         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67913 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
67915         [BZ #14518]
67916         * include/rounding-mode.h: New file.
67917         * sysdeps/generic/get-rounding-mode.h: Likewise.
67918         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
67919         * stdlib/strtod_l.c: Include <rounding-mode.h>.
67920         (MAX_VALUE): New macro.
67921         (MIN_VALUE): Likewise.
67922         (overflow_value): New function.
67923         (underflow_value): Likewise.
67924         (round_and_return): Use overflow_value and underflow_value to
67925         determine return values in overflow and underflow cases.  Use
67926         round_away to determine rounding depending on rounding mode.
67927         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
67928         determine return values in overflow and underflow cases.
67929         * stdlib/tst-strtod-round.c: Include <fenv.h>.
67930         (struct test_results): New structure.
67931         (struct test): Use struct test_results to store expected results
67932         for all rounding modes.
67933         (TEST): Include expected results for all rounding modes.
67934         (test_in_one_mode): New function.
67935         (do_test): Use test_in_one_mode to compute and check results.
67936         Check results for all rounding modes.
67937         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
67938         $(link-libm).
67940 2012-12-09  Allan McRae  <allan@archlinux.org>
67942         * sysdeps/i386/fpu/libm-test-ulps: Update
67944 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
67946         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
67947         (_G_int32_t): Likewise.
67948         (_G_uint16_t): Likewise.
67949         (_G_uint32_t): Likewise.
67950         (_G_HAVE_BOOL): Likewise.
67951         (_G_HAVE_ATEXIT): Likewise.
67952         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67953         (_G_HAVE_IO_FILE_OPEN): Likewise.
67954         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
67955         (_G_int32_t): Likewise.
67956         (_G_uint16_t): Likewise.
67957         (_G_uint32_t): Likewise.
67958         (_G_HAVE_BOOL): Likewise.
67959         (_G_HAVE_ATEXIT): Likewise.
67960         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67961         (_G_HAVE_IO_FILE_OPEN): Likewise.
67962         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
67963         (_G_int32_t): Likewise.
67964         (_G_uint16_t): Likewise.
67965         (_G_uint32_t): Likewise.
67966         (_G_HAVE_BOOL): Likewise.
67967         (_G_HAVE_ATEXIT): Likewise.
67968         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67969         (_G_HAVE_IO_FILE_OPEN): Likewise.
67971 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
67973         * csu/libc-tls.c: Update copyright years.
67975 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
67977         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
67978         [!_G_USING_THUNKS]: Remove conditional code.
67979         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
67980         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
67982         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
67983         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
67984         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67985         (_G_VTABLE_LABEL_PREFIX): Likewise.
67986         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67987         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67988         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67989         (_G_VTABLE_LABEL_PREFIX): Likewise.
67990         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67991         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67992         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67993         (_G_VTABLE_LABEL_PREFIX): Likewise.
67994         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67996 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
67998         * libio/Makefile: Include ../Makeconfig before tests.
67999         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
68000         only if $(build-shared) is yes.
68002         * iconv/gconv_db.c: Update copyright years.
68004 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68006         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
68007         unwind info if defined PIC. Fix special cases description.
68008         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
68010         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
68011         DP_HI_MASK entry.
68012         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
68014 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
68016         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
68018         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
68019         is NULL.
68021         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
68022         (LDLIBS-tst-chk4): This.
68023         (LDFLAGS-tst-chk5): Renamed to ...
68024         (LDLIBS-tst-chk5): This.
68025         (LDFLAGS-tst-chk6): Renamed to ...
68026         (LDLIBS-tst-chk6): This.
68027         (LDFLAGS-tst-lfschk4): Renamed to ...
68028         (LDLIBS-tst-lfschk4): This.
68029         (LDFLAGS-tst-lfschk5): Renamed to ...
68030         (LDLIBS-tst-lfschk5): This.
68031         (LDFLAGS-tst-lfschk6): Renamed to ...
68032         (LDLIBS-tst-lfschk6): This.
68034         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
68035         on $(common-objpfx)soversions.mk.
68037 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
68039         [BZ #10014]
68040         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
68041         example host name.
68043 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68045         * malloc/arena.c (arena_get_retry): New function that gets
68046         another arena for the caller to try its request on.
68047         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
68048         current arena cannot fulfill the request.
68049         (__libc_memalign): Likewise.
68050         (__libc_memalign): Likewise.
68051         (__libc_pvalloc): Likewise.
68052         (__libc_calloc): Likewise.
68054 2012-09-05  John Tobey  <john.tobey@gmail.com>
68056         [BZ #13542]
68057         * manual/arith.texi (Operations on Complex): Fix description
68058         of carg branch cut.
68060 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68062         [BZ #10014]
68063         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68064         host name.
68066         [BZ #10038]
68067         * manual/memory.texi (Memory): Make order of menu items match
68068         order of sections.
68070 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68072         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68073         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68074         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68076 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68078         * csu/libc-tls.c (static_dtv): Renamed to ...
68079         (_dl_static_dtv): This.  Make it global.
68080         (_dl_initial_dtv): Removed.
68081         (__libc_setup_tls): Updated.
68082         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68083         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68084         DL_INITIAL_DTV.
68086 2012-09-06  Petr Machata  <pmachata@redhat.com>
68088         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68089         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68090         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68091         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68093 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68095         [BZ #14545]
68096         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68097         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68098         freeing dtv[-1].
68100 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68102         [BZ #14544]
68103         * Makeconfig (link-static-before-libc): Replace $(+prector)
68104         with $(+prectorT).
68105         (link-static-after-libc): Replace $(+postctor) with
68106         $(+postctorT).
68107         (link-bounded): Replace $(+prector)/$(+postctor) with
68108         $(+prectorT)/$(+postctorT).
68109         (+prectorT): New macro.
68110         (+postctorT): Likewise.
68112 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68114         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68115         (round_str): Handle values above the maximum for IBM long double
68116         as inexact.
68117         * stdlib/tst-strtod-round.c (tests): Regenerated.
68119 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68121         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68122         assembler flag.
68123         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68124         zarch_nohighgprs around the zarch optimized routines.
68125         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68126         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68127         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68128         for zarch.
68130 2012-09-05  David S. Miller  <davem@davemloft.net>
68132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68134         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68135         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68136         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68137         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68138         entries.
68140 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68142         * malloc/arena.c: Fold copyright years.
68143         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68145 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68147         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68151         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68153 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68155         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68156         change internal state upon failure.
68158 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68160         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68161         * malloc/memusage.c (mmap): Likewise.
68162         (mmap64, mremap): Likewise.  Adjust name in comment.
68164 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68166         * libio/fileops.c: Fix typos in comments.
68167         * libio/oldfileops.c: Likewise.
68168         * libio/wfileops.c: Likewise.
68170 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68172         [BZ #1349]
68173         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68174         (tst-malloc-usable-ENV): Set environment for test case.
68175         * malloc/hooks.c (malloc_check_get_size): New function to get
68176         requested size.
68177         * malloc/malloc.c (musable): Use malloc_check_get_size.
68178         * malloc/tst-malloc-usable.c: New test case.
68180 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68182         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68184 2012-09-05  Allan McRae  <allan@archlinux.org>
68186         [BZ #13966]
68187         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68188         determine header location.
68189         * configure: Regenerated.
68191 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68193         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68194         float format.
68195         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68196         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68197         format.
68198         (test): Regenerate.
68200 2012-09-04  David S. Miller  <davem@davemloft.net>
68202         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68203         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68204         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68206 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68208         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68209         failures.
68211         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68213 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68215         [BZ #9914]
68216         * libio/iogetdelim.c: Include <limits.h>.
68217         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68218         + len + 1 would overflow.
68220 2012-09-03  Andreas Jaeger  <aj@suse.de>
68222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68223         * sysdeps/i386/fpu/libm-test-ulps: Update.
68225 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68227         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68228         Add s_sinf-sse2, s_conf-sse2.
68230         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68231         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68232         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68233         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68235         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68236         for using routine as __sinf_ia32.
68237         Use macro for function declaration and weak_alias.
68238         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68239         for using routine as __cosf_ia32.
68240         Use macro for function declaration and weak_alias.
68242         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68243         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68245         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68246         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68249         * math/libm-test.inc (cos_test): Add more test cases.
68250         (sin_test): Likewise.
68251         (sincos_test): Likewise.
68253 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68255         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68256         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68257         hidden.
68258         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68260 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68262         [BZ #14538]
68263         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68264         first element of the GOT.
68265         (elf_machine_load_address): Return the difference between
68266         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68268 2012-09-01  Allan McRae  <allan@archlinux.org>
68270         [BZ #13412]
68271         * configure.in (AWK): Require gawk version 3.0 or later.
68272         * configure: Regenerated.
68274 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68276         * sysdeps/unix/sysv/linux/kernel-features.h
68277         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68278         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68279         [__NR_clock_getres]: Make code unconditional.
68280         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68281         (clock_getcpuclockid): Remove code left unreachable by removal of
68282         conditionals.
68283         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68284         code unconditional.
68285         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68286         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68287         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68288         Make code unconditional.
68289         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68290         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68291         * sysdeps/unix/sysv/linux/clock_settime.c
68292         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68293         conditional code.
68294         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68295         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68297 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68299         [BZ #14476]
68300         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68301         scripts/test-installation.pl.
68303         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68304         and $ld_so_version if it is set.
68306 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68308         [BZ #14516]
68309         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68310         failure if reading from procfs failed.
68311         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68313 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68315         * sysdeps/unix/sysv/linux/kernel-features.h
68316         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68317         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68318         Remove conditional code.
68319         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68320         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68321         Remove conditional code.
68322         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68323         * sysdeps/unix/sysv/linux/i386/fxstat.c
68324         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68325         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68326         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68327         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68329         * sysdeps/unix/sysv/linux/i386/lxstat.c
68330         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68332         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68333         Remove conditional code.
68334         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68335         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68336         Remove conditional code.
68337         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68338         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68339         <kernel-features.h>.
68340         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68341         Remove.
68342         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68343         Remove conditional code.
68344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68345         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68346         Remove conditional.
68348 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
68350         [BZ #5400]
68351         * NEWS: Add fixed bug number.
68353 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68355         [BZ #14519]
68356         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68357         underflowing exponent in case of negative sign.
68358         * stdlib/tst-strtod-round-data: Add more tests.
68359         * stdlib/tst-strtod-round.c (tests): Regenerated.
68361         [BZ #3479]
68362         * stdlib/strtod_l.c (NDIG): Remove.
68363         (HEXNDIG): Likewise.
68364         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68365         smallest representable value.
68366         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
68367         lie within an exact representation of 1/2 ulp of the result.
68368         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
68369         unconditionally.
68370         (TENS_P9_IDX): Define unconditionally.
68371         (TENS_P9_SIZE): Likewise.
68372         (TENS_P10_IDX): Likewise.
68373         (TENS_P10_SIZE): Likewise.
68374         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
68375         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
68376         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
68377         entries for 10^2^13 and 10^2^14.
68378         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
68379         (TENS_P13_IDX): Define.
68380         (TENS_P13_SIZE): Likewise.
68381         (TENS_P14_IDX): Likewise.
68382         (TENS_P14_SIZE): Likewise.
68383         (_fpioconst_pow10): Change array size to
68384         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
68385         unconditional.
68386         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
68387         1024]: Add entries for 10^2^13 and 10^2^14.
68388         [LAST_POW10 > _LAST_POW10]: Remove #error.
68389         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
68390         (_fpioconst_pow10): Change array size to
68391         FPIOCONST_POW10_ARRAY_SIZE.
68392         * stdlib/gen-fpioconst.c: New file.
68393         * stdlib/gen-tst-strtod-round.c: Likewise.
68394         * stdlib/tst-strtod-round-data: Likewise.
68395         * stdlib/tst-strtod-round.c: Likewise.
68396         * stdlib/Makefile (tests): Add tst-strtod-round.
68398         [BZ #14459]
68399         * stdlib/strtod_l.c: Include <stdint.h>.
68400         (NDEBUG): Do not define.
68401         (round_and_return): Change EXPONENT parameter to type intmax_t.
68402         Rearrange calculations to avoid internal overflow possibilities.
68403         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
68404         Rearrange calculations to avoid internal overflow possibilities.
68405         Assert that number fits inside MPNSIZE limbs.
68406         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
68407         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
68408         calculations and add assertions to avoid internal overflow
68409         possibilities.  Add casts to avoid signed/unsigned operations.
68410         * stdlib/tst-strtod-overflow.c: New file.
68411         * stdlib/Makefile (tests): Add tst-strtod-overflow.
68413 2012-08-25  Marek Polacek  <polacek@redhat.com>
68415         * time/time.h: Fix some typos in comments.
68417 2012-08-23  Roland McGrath  <roland@hack.frob.com>
68419         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
68420         * posix/tst-rfc3484-2.c: Likewise.
68421         * posix/tst-rfc3484-3.c: Likewise.
68423 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
68425         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
68426         (EF_ARM_ABI_FLOAT_HARD): Likewise.
68428 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
68430         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
68431         #include of fxstatat64.c.
68433 2012-08-22  Roland McGrath  <roland@hack.frob.com>
68435         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
68436         * shadow/getspent_r.c: Likewise.
68437         * shadow/getspnam.c: Likewise.
68438         * shadow/getspnam_r.c: Likewise.
68439         * gshadow/getsgent.c: Likewise.
68440         * gshadow/getsgent_r.c: Likewise.
68441         * gshadow/getsgnam.c: Likewise.
68442         * gshadow/getsgnam_r.c: Likewise.
68443         * inet/getnetbyad.c: Likewise.
68444         * inet/getnetbyad_r.c: Likewise.
68445         * inet/getnetbynm.c: Likewise.
68446         * inet/getnetbynm_r.c: Likewise.
68447         * inet/getnetent.c: Likewise.
68448         * inet/getnetent_r.c: Likewise.
68449         * inet/getproto.c: Likewise.
68450         * inet/getproto_r.c: Likewise.
68451         * inet/getprtent.c: Likewise.
68452         * inet/getprtent_r.c: Likewise.
68453         * inet/getprtname.c: Likewise.
68454         * inet/getprtname_r.c: Likewise.
68455         * inet/getrpcbyname.c: Likewise.
68456         * inet/getrpcbyname_r.c: Likewise.
68457         * inet/getrpcbynumber.c: Likewise.
68458         * inet/getrpcbynumber_r.c: Likewise.
68459         * inet/getrpcent.c: Likewise.
68460         * inet/getrpcent_r.c: Likewise.
68461         * inet/getaliasent.c: Likewise.
68462         * inet/getaliasent_r.c: Likewise.
68463         * inet/getaliasname.c: Likewise.
68464         * inet/getaliasname_r.c: Likewise.
68465         * nscd/getgrgid_r.c: Likewise.
68466         * nscd/getgrnam_r.c: Likewise.
68467         * nscd/gethstbyad_r.c: Likewise.
68468         * nscd/gethstbynm3_r.c: Likewise.
68469         * nscd/getpwnam_r.c: Likewise.
68470         * nscd/getpwuid_r.c: Likewise.
68471         * nscd/getsrvbynm_r.c: Likewise.
68472         * nscd/getsrvbypt_r.c: Likewise.
68473         * nscd/gai.c: Likewise.
68475         * configure.in (build_nscd): New substituted variable, set
68476         by --disable-build-nscd and defaults to $use_nscd.
68477         * configure: Regenerated.
68478         * config.make.in (build-nscd): New substituted variable.
68479         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
68480         Change conditional to require [$(build-nscd) = yes] as well.
68481         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
68483         [BZ# 13696]
68484         * configure.in (use_nscd): New substituted variable, set by
68485         --disable-nscd.  If enabled, define USE_NSCD.
68486         * configure: Regenerated.
68487         * config.h.in: Add USE_NSCD.
68488         * config.make.in (use-nscd): New substituted variable.
68489         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
68490         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
68491         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
68492         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
68493         (CFLAGS-getgrnam_r.c): Likewise.
68494         (CFLAGS-initgroups.c): Likewise.
68495         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
68496         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
68497         Variables removed.
68498         * inet/getnetgrent_r.c
68499         (nscd_setnetgrent): New function, broken out of ...
68500         (setnetgrent): ... here.  Call it.
68501         (innetgr): Conditionalize nscd bits on [USE_NSCD].
68502         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
68503         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
68504         * nscd/Makefile (routines, aux): Move definitions after include of
68505         Makeconfig.  Conditionalize on [$(use-nscd) != no].
68506         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
68507         Conditionalize on [USE_NSCD].
68508         (is_nscd, nscd_init_cb): Likewise.
68509         (nss_load_library): Conditionalize init callback on [USE_NSCD].
68510         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
68511         * nss/nss_db/db-init.c: Likewise.
68512         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
68513         [USE_NSCD].
68514         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
68515         (make_request): Use it.
68516         (cache_valid_p): New function.
68517         (__check_pf): Use it.
68518         * NEWS: Add item for --disable-nscd.
68520 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
68522         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
68523         to support sed >= 4.2.1-20-ga9bf076.
68524         * configure: Regenerated.
68526 2012-08-22  Roland McGrath  <roland@hack.frob.com>
68528         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
68529         Conditionalize whole body on [IREL].
68531 2012-08-22  Jeff Law <law@redhat.com>
68533         [BZ #14505]
68534         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
68535         if the family is PF_UNSPEC.
68537 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
68539         * Makerules (lib-version): Rename from V.
68540         (install-lib-nosubdir): Change V to lib-version.
68542 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
68544         [BZ #14252]
68545         * powerpc32/power6/wcschr.c: New file.
68546         * powerpc32/power6/wcscpy.c: New file.
68547         * powerpc32/power6/wcsrchr.c: New file.
68548         * powerpc64/power6/wcschr.c: New file.
68549         * powerpc64/power6/wcscpy.c: New file.
68550         * powerpc64/power6/wcsrchr.c: New file.
68552 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
68554         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
68555         (two_way_short_needle): Use it.
68556         * string/strstr.c (AVAILABLE1_USES_J): Define.
68557         * string/strcasestr.c: Likewise.
68559         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
68560         array references.
68561         * string/strcasestr.c (TOLOWER): Make side-effect safe.
68563         [BZ #11607]
68564         * NEWS: Add an entry.
68565         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
68566         define their defaults.
68567         (two_way_short_needle): Detect end-of-string on-the-fly.
68568         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
68569         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
68570         * string/bug-strcasestr1.c: New test.
68571         * string/Makefile: Run it.
68573 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
68575         [BZ #11607]
68576         * string/str-two-way.h (two_way_short_needle): Optimize matching of
68577         the first character.
68579 2012-08-21  Roland McGrath  <roland@hack.frob.com>
68581         * csu/elf-init.c (__libc_csu_irel): Function removed.
68582         * csu/libc-start.c (apply_irel): New function.
68583         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
68585 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
68587         * sysdeps/unix/sysv/linux/kernel-features.h
68588         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
68589         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68590         <kernel-features.h>.
68591         [__NR_fadvise64_64]: Make code unconditional.
68592         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
68593         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68594         !__NR_fadvise64_64)]: Likewise.
68595         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68596         !__NR_fadvise64_64))]: Likewise.
68597         [__NR_fadvise64]: Make code unconditional.
68598         [!__NR_fadvise64]: Remove conditional code.
68599         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
68600         <kernel-features.h>.
68601         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68602         unconditional.
68603         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68604         conditional code.
68605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
68606         not include <kernel-features.h>.
68607         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68608         unconditional.
68609         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68610         conditional code.
68611         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
68612         include <kernel-features.h>.
68613         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68614         unconditional.
68615         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68616         conditional code.
68618 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68620         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
68621         slight instruction rearrangements per scrollpipe analysis.
68622         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68624 2012-08-20  Roland McGrath  <roland@hack.frob.com>
68626         * manual/syslog.texi (syslog; vsyslog, closelog):
68627         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
68628         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
68630         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
68631         DSOCAPS to match condition on defining it.
68633 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
68635         * sysdeps/unix/sysv/linux/kernel-features.h
68636         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
68637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
68638         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68639         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
68641         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68642         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
68644         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68645         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68647         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
68648         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
68650         * sysdeps/unix/sysv/linux/kernel-features.h
68651         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
68652         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
68653         unconditional.
68654         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68655         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
68656         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68657         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68658         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
68659         Make code unconditional.
68660         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68661         (__mmap64) [!__NR_mmap2]: Likewise.
68662         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
68663         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68664         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68665         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
68666         [__NR_mmap2]: Make code unconditional.
68667         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68668         (__mmap64) [!__NR_mmap2]: Likewise.
68670 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68672         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
68674 2012-08-18  Andreas Jaeger  <aj@suse.de>
68676         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
68678 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
68680         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
68681         * include/unistd.h (__have_sock_cloexec): Likewise.
68682         (__have_pipe2): Likewise.
68683         (__have_dup3): Likewise.
68685 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
68687         [BZ #9685]
68688         * include/unistd.h (__have_pipe2): Change define into an extern int.
68689         (__have_dup3): Likewise.
68690         * socket/have_sock_cloexec.c: Include fcntl.h.
68691         (__have_pipe2): New variable.
68692         (__have_dup3): Likewise.
68694 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
68696         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
68698 2012-08-17  Marek Polacek  <polacek@redhat.com>
68700         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
68701         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
68703 2012-08-17  Roland McGrath  <roland@hack.frob.com>
68705         * configure.in: Add AC_SUBST for sysheaders.
68706         * configure: Regenerated.
68707         * config.make.in (sysheaders): New substituted variable.
68709         * sysdeps/unix/mkfifo.c: Moved ...
68710         * sysdeps/posix/mkfifo.c: ... here.
68711         * sysdeps/unix/mkfifoat.c: Moved ...
68712         * sysdeps/posix/mkfifoat.c: ... here.
68714         * sysdeps/unix/utime.c: Moved ...
68715         * sysdeps/posix/utime.c: ... here.
68717         * sysdeps/unix/time.c: Moved ...
68718         * sysdeps/posix/time.c: ... here.
68719         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
68720         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
68722         * sysdeps/unix/nice.c: Moved ...
68723         * sysdeps/posix/nice.c: ... here.
68725         * sysdeps/unix/alarm.c: Moved ...
68726         * sysdeps/posix/alarm.c: ... here.
68728         * intl/Makefile ($(codeset_mo)): Depend on the input file.
68730 2012-08-17  Jeff Law <law@redhat.com>
68732         * intl/Makefile (codeset_mo): New variable.
68733         ($(codeset_mo)): New target.
68734         (tst-codeset.out): Depend on that.  Remove explicit rule.
68735         (tst-gettext3.out, tst-gettext5.out): Likewise.
68736         (LOCPATH-ENV, tst-codeset-ENV): New variables.
68737         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
68738         * intl/tst-codeset.sh: Remove.
68739         * intl/tst-gettext3.sh: Likewise.
68740         * intl/tst-gettext5.sh: Likewise.
68742 2012-08-17  Roland McGrath  <roland@hack.frob.com>
68744         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
68745         * sysdeps/unix/syscalls.list: ... here.
68747         * sysdeps/posix/getaddrinfo.c
68748         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
68749         (gaiconf_init, gaiconf_reload): Use them.
68750         [!_STATBUF_ST_NSEC]
68751         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
68752         Define using time_t rather than struct timespec.
68754         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
68755         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
68756         Macros removed.
68757         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
68758         [!NO_THREADS].
68759         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
68760         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
68761         Likewise.
68763         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
68764         __libc_cleanup_push argument.
68766         * bits/param.h: New file.
68767         * misc/sys/param.h: New file.
68768         * include/sys/param.h: New file.
68769         * misc/Makefile (headers): Add bits/param.h.
68770         * sysdeps/generic/sys/param.h: File removed.
68771         * sysdeps/unix/sysv/linux/bits/param.h: New file.
68772         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
68773         * sysdeps/mach/hurd/bits/param.h: New file.
68774         * sysdeps/mach/hurd/sys/param.h: File removed.
68776         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
68777         last change.
68779         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
68780         [_IO_MTSAFE_IO].
68781         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
68782         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
68783         New macros.
68785         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
68786         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
68787         rather than -D_IO_MTSAFE_IO conditionally.
68788         * stdio-common/Makefile (CPPFLAGS): Likewise.
68789         * wcsmbs/Makefile (CPPFLAGS): Likewise.
68790         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
68791         Use $(libio-mtsafe).
68792         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
68793         of -D_IO_MTSAFE_IO.
68794         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
68795         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
68796         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
68797         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
68798         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
68799         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
68800         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
68801         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
68802         (CFLAGS-fread_u_chk.c): Likewise.
68803         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
68804         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
68805         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
68806         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
68807         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
68808         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
68809         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
68810         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
68811         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
68813         * libio/Makefile: Test [$(libc-reentrant) = yes]
68814         instead of [$(filter %REENTRANT, $(defines)) nonempty].
68816         * Makeconfig
68817         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
68818         * sysdeps/pthread/configure: File removed.
68819         * sysdeps/pthread/Makeconfig: New file.
68820         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
68821         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
68823 2012-08-16  Gary Benson  <gbenson@redhat.com>
68825         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
68826         unmapping the first object in a namespace.
68828 2012-08-16  Roland McGrath  <roland@hack.frob.com>
68830         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
68831         (__internal_setnetgrent): ... this.  Add internal_function to
68832         definition.  Add libc_hidden_def.
68833         (setnetgrent): Update caller.
68834         (internal_endnetgrent): Renamed to ...
68835         (__internal_endnetgrent): ... this.  Add internal_function to
68836         definition.  Add libc_hidden_def.
68837         (endnetgrent): Update caller.
68838         (internal_getnetgrent_r): Renamed to ...
68839         (__internal_getnetgrent_r): ... this.  Add internal_function to
68840         definition.  Add libc_hidden_def.
68841         (__getnetgrent_r): Update caller.
68842         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
68844 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
68846         * stdlib/longlong.h: Update from GCC.
68848 2012-08-16  Roland McGrath  <roland@hack.frob.com>
68850         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
68851         on _QL, which is set by umul_ppmm but never used.
68852         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
68853         variables, which are set by GMP macros but never used.
68854         * stdio-common/_itowa.c (_itowa): Likewise.
68855         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
68856         * stdlib/mod_1.c (mpn_mod_1): Likewise.
68858 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
68860         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
68861         struct La_sh_regs is not constant.
68862         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
68863         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
68864         and struct La_sparc64_regs are not constant.
68866 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
68868         * sysdeps/unix/sysv/linux/kernel-features.h
68869         (__ASSUME_POSIX_TIMERS): Remove.
68870         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68871         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68872         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
68873         Make code unconditional.
68874         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68875         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
68876         Make code unconditional.
68877         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68878         * sysdeps/unix/sysv/linux/clock_nanosleep.c
68879         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
68880         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68881         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
68882         Make code unconditional.
68883         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68884         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
68885         (__libc_missing_posix_timers): Remove.
68887 2012-08-15  Roland McGrath  <roland@hack.frob.com>
68889         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
68890         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
68892         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
68894         * elf/dl-sym.c: Include <stdlib.h>.
68896         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
68897         constants, which avoids warnings in 32-bit builds.
68899         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
68900         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
68902         * misc/lseek.c: File moved to ...
68903         * io/lseek.c: ... here.
68905         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
68907         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
68908         shifting LEN more than 31 bits at once.
68910 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68912         [BZ #14195]
68913         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
68914         segmentation fault for a case of two empty input strings.
68915         * string/test-strncasecmp.c (check1): Renamed to...
68916         (bz12205): ...this.
68917         (bz14195): Add new testcase for two empty input strings and N > 0.
68918         (test_main): Call new testcase, adapt for renamed function.
68920 2012-08-15  Andreas Jaeger  <aj@suse.de>
68922         [BZ #14090]
68923         * crypt/md5test2.c: New test, based on test supplied by Serge
68924         Belyshev <belyshev@depni.sinp.msu.ru>.
68925         * crypt/Makefile (xtests): Add md5test-giant..
68926         * crypt/Makefile ($(objpfx)md5test-giant): Add.
68928 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
68930         [BZ #14090]
68931         * crypt/md5.c (md5_process_block): Don't assume the buffer
68932         length is less than 2**32.
68933         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
68934         length is less than 2**64.
68936 2012-08-15  Roland McGrath  <roland@hack.frob.com>
68938         * string/str-two-way.h: Include <sys/param.h>.
68939         (MAX): Macro removed.
68941         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
68942         Move #define and #undef of memmove to just before and after
68943         including <string.h>.
68945         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
68946         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
68947         and after including <string.h>.  Move declarations of
68948         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
68949         to before #include "string/memmove.c".
68951         * include/dirent.h: Declare __getdirentries.
68953         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
68954         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
68956 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
68958         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
68959         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
68960         * sysdeps/i386/configure: Regenerated.
68961         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
68962         STABS_CURRENT_FILE, and STABS_FUN.
68963         (END): Remove call to STABS_FUN_END.
68964         (STABS_CURRENT_FILE1): Delete.
68965         (STABS_CURRENT_FILE): Likewise.
68966         (STABS_FUN): Likewise.
68967         (STABS_FUN_END): Likewise.
68968         (STABS_FUN2): Likewise.
68969         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
68970         * sysdeps/x86_64/configure: Regenerated.
68972 2012-08-14  Roland McGrath  <roland@hack.frob.com>
68974         * elf/dl-open.c: Include <atomic.h>.
68975         * elf/dl-lookup.c: Likewise.
68977 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
68979         * sysdeps/unix/sysv/linux/kernel-features.h
68980         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
68981         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
68982         unconditionally.
68983         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
68984         unconditionally.
68985         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
68986         condition on __ASSUME_CLONE_THREAD_FLAGS.
68988 2012-08-14  Andreas Jaeger  <aj@suse.de>
68990         * sysdeps/i386/fpu/libm-test-ulps: Update.
68992 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
68994         * include/atomic.h (atomic_exchange_and_add): Split into ...
68995         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
68996         New atomic macros.
68998 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
69000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69002 2012-08-13  Jeff Law <law@redhat.com>
69004         * manual/stdio.texi (snprintf): Clarify handling of the trailing
69005         null byte in the output string.
69007 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
69009         * sysdeps/unix/sysv/linux/kernel-features.h
69010         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
69011         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
69012         (__ASSUME_ARG_MAX_STACK_BASED): Define.
69013         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69014         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
69015         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
69016         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69018 2012-08-09  Jeff Law <law@redhat.com>
69020         [BZ #13939]
69021         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
69022         When avoid_arena is set, don't retry in the that arena.  Pick the
69023         next one, whatever it might be.
69024         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
69025         (arena_lock): Pass in new parameter to arena_get2.
69026         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
69027         arena_get2.
69028         (__libc_malloc): Unify retrying after main arena failure with
69029         __libc_memalign version.
69030         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
69032 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
69034         [BZ #14166]
69035         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
69036         to __redirect_strstr.
69037         (__strstr_sse42): Use typeof __redirect_strstr.
69038         (__strstr_ia32): Likewise.
69039         (__libc_strstr): New prototype.
69040         (strstr): Renamed to ...
69041         (__libc_strstr): This.
69042         (strstr): New strong alias of __libc_strstr.
69043         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69044         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
69045         __redirect_time.
69046         Include <time.h>.
69047         (__libc_time): New prototype.
69048         (time_ifunc): Replace time with __libc_time.
69049         (time): New strong alias and hidden definition of __libc_time.
69050         (__GI_time): Remove strong alias.
69051         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69052         Include <stddef.h>.
69053         (memmove): Redefined to __redirect_memmove.
69054         (__memmove_sse2): Use typeof __redirect_memmove.
69055         (__memmove_ssse3): Likewise.
69056         (__memmove_ssse3_back): Likewise.
69057         (__libc_memmove): New prototype.
69058         (memmove): Renamed to ...
69059         (__libc_memmove): This.
69060         (memmove): New strong alias of __libc_memmove.
69062 2012-08-08  Mark Salter  <msalter@redhat.com>
69064         * elf/elf.h
69065         (R_MN10300_TLS_GD): Define.
69066         (R_MN10300_TLS_LD): Likewise.
69067         (R_MN10300_TLS_LDO): Likewise.
69068         (R_MN10300_TLS_GOTIE): Likewise.
69069         (R_MN10300_TLS_IE): Likewise.
69070         (R_MN10300_TLS_LE): Likewise.
69071         (R_MN10300_TLS_DTPMOD): Likewise.
69072         (R_MN10300_TLS_DTPOFF): Likewise.
69073         (R_MN10300_TLS_TPOFF): Likewise.
69074         (R_MN10300_SYM_DIFF): Likewise.
69075         (R_MN10300_ALIGN): Likewise.
69076         (R_MN10300_NUM): Update.
69078 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69080         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69081         Remove.
69083 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69085         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69087         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69088         sysdeps/unix -> sysdeps/posix move.
69089         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69091 2012-08-07      Allan McRae     <allan@archlinux.org>
69093         [BZ #14303]
69094         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69095         (SUNOS_CPP): Likewise.
69096         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69097         not found.
69098         (open_input): Call CPP using execvp.
69100 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69102         * sysdeps/unix/sysv/linux/kernel-features.h
69103         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69104         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69105         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69106         (__ASSUME_WAITID_SYSCALL): Likewise.
69107         * sysdeps/unix/sysv/linux/dl-execstack.c
69108         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69109         code unconditional.
69110         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69111         conditional code.
69112         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69113         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69114         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69115         code.
69116         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69117         unconditional.
69118         [__ASSUME_WAITID_SYSCALL]: Likewise.
69119         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69121 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69123         * sysdeps/unix/closedir.c: Renamed to ...
69124         * sysdeps/posix/closedir.c: ... here.
69125         * sysdeps/unix/dirfd.c: Renamed to ...
69126         * sysdeps/posix/dirfd.c: ... here.
69127         * sysdeps/unix/dirstream.h: Renamed to ...
69128         * sysdeps/posix/dirstream.h: ... here.
69129         * sysdeps/unix/fdopendir.c: Renamed to ...
69130         * sysdeps/posix/fdopendir.c: ... here.
69131         * sysdeps/unix/opendir.c: Renamed to ...
69132         * sysdeps/posix/opendir.c: ... here.
69133         * sysdeps/unix/readdir.c: Renamed to ...
69134         * sysdeps/posix/readdir.c: ... here.
69135         * sysdeps/unix/readdir_r.c: Renamed to ...
69136         * sysdeps/posix/readdir_r.c: ... here.
69137         * sysdeps/unix/rewinddir.c: Renamed to ...
69138         * sysdeps/posix/rewinddir.c: ... here.
69139         * sysdeps/unix/seekdir.c: Renamed to ...
69140         * sysdeps/posix/seekdir.c: ... here.
69141         * sysdeps/unix/telldir.c: Renamed to ...
69142         * sysdeps/posix/telldir.c: ... here.
69143         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69144         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69145         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69146         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69148         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69149         * bits/fcntl.h: ... here.
69151         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69152         not 0.
69153         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69154         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69155         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69156         (struct flock): Move l_start, l_len to the beginning.
69157         Use __pid_t for l_pid.
69158         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69159         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69160         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69161         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69162         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69163         [__USE_LARGEFILE64] (struct flock64): New type.
69164         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69166         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69167         * bits/dirent.h: ... here.
69169         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69170         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69172 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69174         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69175         Change from 2.6.0 to 2.6.16.
69176         * sysdeps/unix/sysv/linux/configure: Regenerated.
69177         * sysdeps/unix/sysv/linux/kernel-features.h
69178         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69179         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69180         version.
69181         (__ASSUME_UTIMES): Likewise.
69182         (__ASSUME_CLONE_STOPPED): Remove.
69183         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69184         architectures, not kernel version.
69185         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69186         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69187         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69188         (__ASSUME_WAITID_SYSCALL): Likewise.
69189         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69190         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69191         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69192         refer to older versions.
69194 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69196         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69197         Define alphasort64 as an alias.
69198         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69199         Define versionsort64 as an alias.
69200         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69201         Define scandir64 as an alias.
69202         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69203         Define scandirat64 as an alias.
69204         * dirent/alphasort64.c (alphasort64):
69205         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69206         * dirent/versionsort64.c: Likewise.
69207         * dirent/scandir64.c: Likewise.
69208         * dirent/scandirat64.c: Likewise.
69209         * sysdeps/wordsize-64/alphasort.c: File removed.
69210         * sysdeps/wordsize-64/alphasort64.c: File removed.
69211         * sysdeps/wordsize-64/scandir.c: File removed.
69212         * sysdeps/wordsize-64/scandir64.c: File removed.
69213         * sysdeps/wordsize-64/scandirat.c: File removed.
69214         * sysdeps/wordsize-64/scandirat64.c: File removed.
69215         * sysdeps/wordsize-64/versionsort.c: File removed.
69216         * sysdeps/wordsize-64/versionsort64.c: File removed.
69217         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69218         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69219         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69220         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69221         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69222         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69223         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69224         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69226         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69227         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69228         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69229         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69230         [defined __arch64__ || defined __sparcv9]
69231         (__INO_T_MATCHES_INO64_T): New macro.
69232         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69233         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69234         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69235         * sysdeps/unix/sysv/linux/bits/dirent.h
69236         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69237         (_DIRENT_MATCHES_DIRENT64): New macro.
69239         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69240         Define lockf64 as an alias.
69241         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69242         Define fseeko64 as an alias.
69243         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69244         Define ftello64 as an alias.
69245         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69246         Define _IO_fgetpos64 and fgetpos64 as aliases.
69247         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69248         Define _IO_fsetpos64 and fsetpos64 as aliases.
69249         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69250         Conditionalize body on this.
69251         * libio/fseeko64.c: Likewise.
69252         * libio/ftello64.c: Likewise.
69253         * libio/iofgetpos64.c: Likewise.
69254         * libio/iofsetpos64.c: Likewise.
69255         * sysdeps/wordsize-64/lockf.c: File removed.
69256         * sysdeps/wordsize-64/lockf64.c: File removed.
69257         * sysdeps/wordsize-64/fseeko.c: File removed.
69258         * sysdeps/wordsize-64/fseeko64.c: File removed.
69259         * sysdeps/wordsize-64/ftello.c: File removed.
69260         * sysdeps/wordsize-64/ftello64.c: File removed.
69261         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69262         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69263         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69264         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69265         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69266         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69267         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69268         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69269         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69270         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69271         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69272         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69273         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69274         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69276         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69277         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69278         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69279         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69280         [defined __arch64__ || defined __sparcv9]
69281         (__OFF_T_MATCHES_OFF64_T): New macro.
69282         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69283         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69284         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69285         (__OFF_T_MATCHES_OFF64_T): New macro.
69287 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69289         * stdlib/secure-getenv.c (__secure_getenv): Replace
69290         GLIBC_2_16 with GLIBC_2_17.
69292 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69294         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69295         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69297 2012-08-03  David S. Miller  <davem@davemloft.net>
69299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69301 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69303         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69304         Remove.
69305         (__ASSUME_CORRECT_SI_PID): Likewise.
69306         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69307         (__ASSUME_TMPFS_NAME): Likewise.
69308         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69309         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69310         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69311         (HAVE_AUX_SECURE): Make definition unconditional.
69312         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69313         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69315 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69317         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69318         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69319         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69320         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69321         __eloop_threshold instead of SYMLOOP_MAX.
69323         * sysdeps/generic/eloop-threshold.h: New file.
69324         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69325         of MAXSYMLINKS.
69326         * elf/chroot_canon.c (chroot_canon): Likewise.
69328 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69330         [BZ #13717]
69331         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69332         Change to 2.6.0 everywhere.
69333         * sysdeps/unix/sysv/linux/configure: Regenerated.
69334         * sysdeps/unix/sysv/linux/kernel-features.h
69335         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69336         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69337         kernel versions.
69338         (__ASSUME_POSIX_TIMERS): Define unconditionally.
69339         (__ASSUME_FUTEX_REQUEUE): Remove.
69340         (__ASSUME_STATFS64): Define unconditionally.
69341         (__ASSUME_AT_SECURE): Likewise.
69342         (__ASSUME_CORRECT_SI_PID): Likewise.
69343         (__ASSUME_TGKILL): Define without depending on kernel version for
69344         i386.
69345         (__ASSUME_UTIMES): Likewise.
69346         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69347         kernel version.
69348         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69349         (__ASSUME_TMPFS_NAME): Likewise.
69350         * README: Update reference to Linux kernel versions.
69352 2012-08-02  Marek Polacek  <polacek@redhat.com>
69354         [BZ# 14150]
69355         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
69356         libc_cv_asm_type_prefix with %.
69357         * configure: Regenerated.
69358         * include/libc-symbols.h: Remove comment about
69359         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69360         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69361         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69362         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69363         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69364         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69365         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
69366         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
69367         * elf/tst-unique2mod1.c: Likewise.
69368         * elf/tst-unique1mod2.c: Likewise.
69369         * elf/tst-unique1mod1.c: Likewise.
69370         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
69371         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
69372         Replace ASM_TYPE_DIRECTIVE with .type.
69373         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69374         * sysdeps/i386/sysdep.h: Likewise.
69375         * sysdeps/x86_64/sysdep.h: Likewise.
69376         * sysdeps/sh/sysdep.h: Likewise.
69377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69378         Do not define ASM_TYPE_DIRECTIVE.
69379         * sysdeps/powerpc/sysdep.h: Likewise.
69380         * sysdeps/powerpc/powerpc32/sysdep.h:
69381         Replace ASM_TYPE_DIRECTIVE with .type.
69382         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69383         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69384         * sysdeps/i386/fpu/e_powf.S: Likewise.
69385         * sysdeps/i386/fpu/e_expl.S: Likewise.
69386         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69387         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69388         * sysdeps/i386/fpu/e_pow.S: Likewise.
69389         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69390         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69391         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69392         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69393         * sysdeps/i386/fpu/e_log2.S: Likewise.
69394         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69395         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69396         * sysdeps/i386/fpu/e_powl.S: Likewise.
69397         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69398         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69399         * sysdeps/i386/fpu/e_logl.S: Likewise.
69400         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69401         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69402         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69403         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69404         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69405         * sysdeps/i386/fpu/e_log.S: Likewise.
69406         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69407         * sysdeps/i386/fpu/e_logf.S: Likewise.
69408         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69409         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69410         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69411         * sysdeps/i386/fpu/e_log10.S: Likewise.
69412         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69413         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69414         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69415         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69416         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69417         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
69418         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69419         * sysdeps/i386/i686/strtok.S: Likewise.
69420         * sysdeps/i386/i386-mcount.S: Likewise.
69421         * sysdeps/i386/strtok.S: Likewise.
69422         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
69423         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69424         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69425         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69426         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69427         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69428         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69429         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69430         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69431         * sysdeps/x86_64/_mcount.S: Likewise.
69432         * sysdeps/x86_64/strtok.S: Likewise.
69433         * sysdeps/sh/_mcount.S: Likewise.
69435 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69437         * libio/iofopen.c: Include <fcntl.h>.
69438         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
69439         (_IO_fopen64, fopen64): Define as aliases.
69440         * libio/iofopen64.c: Include <fcntl.h>.
69441         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
69442         Conditionalize body on this.
69443         * sysdeps/wordsize-64/iofopen.c: File removed.
69444         * sysdeps/wordsize-64/iofopen64.c: File removed.
69446 2012-08-01  Marek Polacek  <polacek@redhat.com>
69448         * libc/Makeconfig: Use elf in place of binfmt-subdir.
69449         Use dlfcn directly instead of a variable.
69450         (binfmt-subdir): Do not define.
69451         (dlfcn): Likewise.
69453 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
69455         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
69456         Remove all definitions.
69457         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
69458         <kernel-features.h>.
69459         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69460         (miss_F_GETOWN_EX): Remove all definitions.
69461         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
69462         macro definition.
69463         [!__ASSUME_FCNTL64]: Remove conditional code.
69464         [__ASSUME_FCNTL64]: Make code unconditional.
69465         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
69466         <kernel-features.h>.
69467         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69468         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
69469         (lockf64) [__NR_fcntl64]: Make code unconditional.
69470         (lockf64) [__ASSUME_FCNTL64]: Likewise.
69472         * sysdeps/unix/sysv/linux/kernel-features.h
69473         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
69474         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
69475         Make code unconditional.
69476         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69477         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
69479         [__NR_vfork]: Make code unconditional.
69480         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69481         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
69483         [__NR_vfork]: Make code unconditional.
69484         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69485         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69487 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69489         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
69490         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
69492         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69493         Define mkstemp64 as an alias.
69494         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69495         Define mkstemps64 as an alias.
69496         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69497         Define mkostemp64 as an alias.
69498         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69499         Define mkostemps64 as an alias.
69500         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
69501         Conditionalize body on this.
69502         * misc/mkostemp64.c: Likewise.
69503         * misc/mkostemps64.c: Likewise.
69504         * misc/mkstemps64.c: Likewise.
69505         * sysdeps/wordsize-64/mkstemp64.c: File removed.
69506         * sysdeps/wordsize-64/mkostemp64.c: File removed.
69507         * sysdeps/wordsize-64/mkostemp.c: File removed.
69508         * sysdeps/wordsize-64/mkstemp.c: File removed.
69509         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
69510         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
69511         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
69512         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
69514         [BZ #14138]
69515         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
69516         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
69517         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
69518         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
69520         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
69521         compat_symbol macros from <shlib-compat.h> rather than the underlying
69522         default_symbol_version and symbol_version macros, so that DEFAULT
69523         lines in shlib-versions are respected.
69524         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
69526 2012-08-01  Florian Weimer  <fweimer@redhat.com>
69528         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
69529         Declare with warn_unused_result.
69530         (setgid, setregid, setegid, setresgid): Likewise.
69531         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
69532         Likewise.
69533         * WUR-REPORT: Remove set*id functions.
69535 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
69537         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
69539 2012-07-31  Roland McGrath  <roland@hack.frob.com>
69541         [BZ #10191]
69542         * include/sys/socket.h (__libc_accept, __libc_accept4):
69543         Add attribute_hidden.
69544         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
69546         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
69547         use of PTR_MANGLE.
69548         * inet/getnetgrent_r.c (setup): Likewise.
69550         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
69552 2012-07-31  David S. Miller  <davem@davemloft.net>
69554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69556 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
69558         [BZ #13629]
69559         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
69560         value between 1.0 and 2.0 and smaller part has absolute value less
69561         than 1.0.
69562         * math/s_clog10.c (__clog10): Likewise.
69563         * math/s_clog10f.c (__clog10f): Likewise.
69564         * math/s_clog10l.c (__clog10l): Likewise.
69565         * math/s_clogf.c (__clogf): Likewise.
69566         * math/s_clogl.c (__clogl): Likewise.
69567         * math/libm-test.inc (clog_test): Add more tests.
69568         (clog10_test): Likewise.
69569         * sysdeps/i386/fpu/libm-test-ulps: Update.
69570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69572 2012-07-31  Florian Weimer  <fweimer@redhat.com>
69574         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
69575         Exit with zero in case no suitable GID is found, and write a
69576         message to standard error.
69578 2012-07-30  Roland McGrath  <roland@hack.frob.com>
69580         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
69581         rather than to 1.
69582         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
69583         (MAXPATHLEN): Removed.
69584         (NOGROUP, NODEV): New macros.
69585         (setbit, clrbit, isset, isclr): New macros.
69586         (howmany, roundup, powerof2): New macros.
69587         (DEV_BSIZE): New macro.
69589         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
69590         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
69592         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
69593         definition on [!__NO_LONG_DOUBLE_MATH].
69595         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
69596         PTR_MANGLE and PTR_DEMANGLE.
69598         * socket/accept4.c (accept4): Rename to __libc_accept4.
69599         Define accept4 as a weak alias.
69601         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
69602         on [_DIRENT_HAVE_D_TYPE].
69603         * io/ftw.c (ftw_dir): Likewise.
69605         * io/xmknod.c (__xmknod): Don't check PATH for being null.
69607         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
69609         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
69610         Use the BSD numbers rather than the arbitrary ones we had.
69611         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
69612         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
69613         (SIGXCPU, SIGXFSZ): New macros.
69614         (_NSIG): Now 32.
69616         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
69617         initializer on [_LIBC_REENTRANT].
69619         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
69620         definitions inside [_POSIX_MAPPED_FILES].
69622         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
69624         * dirent/opendir.c: Include <fcntl.h>.
69626         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
69627         (__libc_getspecific): Likewise.
69628         (__libc_key_create): Likewise.
69630         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
69631         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
69632         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
69633         (tmpfile64): Define as alias.
69634         * sysdeps/wordsize-64/tmpfile.c: File removed.
69635         * sysdeps/wordsize-64/tmpfile64.c: File removed.
69636         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
69637         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
69639         * stdio-common/vfscanf.c: Include <stdbool.h>.
69640         * nss/makedb.c: Likewise.
69641         * stdio-common/_i18n_number.h: Likewise.
69642         * argp/argp-help.c: Likewise.
69643         * posix/wordexp.c: Likewise.
69644         * sysdeps/posix/spawni.c: Likewise.
69645         * nss/nss_files/files-initgroups.c: Likewise.
69646         * stdio-common/reg-modifier.c: Include <stdlib.h>.
69647         * nss/nss_files/files-initgroups.c: Likewise.
69648         * nss/nss_db/db-netgrp.c: Likewise.
69649         * nss/nss_db/db-initgroups.c: Likewise.
69650         * io/fchmodat.c: Include <sys/stat.h>.
69652         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
69653         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
69655         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
69656         [HAVE_MMAP].
69658         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
69659         Add multiple inclusion protection.
69661 2012-07-27  David S. Miller  <davem@davemloft.net>
69663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69665 2012-07-27  Gary Benson  <gbenson@redhat.com>
69667         [BZ #14298]
69668         * elf/rtld.c: Include <stap-probe.h>.
69669         (dl_main): Added static probes "init_start" and "init_complete".
69670         * elf/dl-load.c: Include <stap-probe.h>.
69671         (lose): Take new parameter "nsid".
69672         Added static probe "map_failed".
69673         (_dl_map_object_from_fd): Pass namespace id to lose.
69674         Added static probe "map_start".
69675         (open_verify): Pass namespace id to lose.
69676         * elf/dl-open.c: Include <stap-probe.h>.
69677         (dl_open_worker) Added static probes "map_complete", "reloc_start"
69678         and "reloc_complete".
69679         * elf/dl-close.c: Include <stap-probe.h>.
69680         (_dl_close_worker): Added static probes "unmap_start" and
69681         "unmap_complete".
69682         * elf/rtld-debugger-interface.txt: New file documenting the above.
69684 2012-07-26  Roland McGrath  <roland@hack.frob.com>
69686         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
69687         rather than a string variable.
69688         * sunrpc/rpc_main.c (h_output): Likewise.
69689         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
69691 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
69693         * inet/check_native.c: New file.
69695 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
69697         [BZ #13629]
69698         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
69699         if larger part has absolute value 1.0.
69700         * math/s_clog10.c (__clog10): Likewise.
69701         * math/s_clog10f.c (__clog10f): Likewise.
69702         * math/s_clog10l.c (__clog10l): Likewise.
69703         * math/s_clogf.c (__clogf): Likewise.
69704         * math/s_clogl.c (__clogl): Likewise.
69705         * math/libm-test.inc (clog_test): Add more tests.
69706         (clog10_test): Likewise.
69707         * sysdeps/i386/fpu/libm-test-ulps: Update.
69708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69710         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
69711         (pltexit): Likewise.
69712         (La_regs): Likewise.
69713         (La_retval): Likewise.
69714         (int_retval): Likewise.
69715         Update #error for removed macros to refer only to definitions in
69716         tst-audit.h.
69717         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
69718         macro.
69719         (pltexit): Likewise.
69720         (La_regs): Likewise.
69721         (La_retval): Likewise.
69722         (int_retval): Likewise.
69723         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
69724         macro.
69725         (pltexit): Likewise.
69726         (La_regs): Likewise.
69727         (La_retval): Likewise.
69728         (int_retval): Likewise.
69729         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
69730         macro.
69731         (pltexit): Likewise.
69732         (La_regs): Likewise.
69733         (La_retval): Likewise.
69734         (int_retval): Likewise.
69735         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
69736         macro.
69737         (pltexit): Likewise.
69738         (La_regs): Likewise.
69739         (La_retval): Likewise.
69740         (int_retval): Likewise.
69741         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
69742         macro.
69743         (pltexit): Likewise.
69744         (La_regs): Likewise.
69745         (La_retval): Likewise.
69746         (int_retval): Likewise.
69747         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
69748         macro.
69749         (pltexit): Likewise.
69750         (La_regs): Likewise.
69751         (La_retval): Likewise.
69752         (int_retval): Likewise.
69753         * sysdeps/generic/tst-audit.h: Update comment to refer only to
69754         macro definitions in tst-audit.h.
69755         * sysdeps/i386/tst-audit.h: New file.
69756         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
69757         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
69758         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
69759         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
69760         * sysdeps/sh/tst-audit.h: Likewise.
69761         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
69762         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
69763         * sysdeps/x86_64/tst-audit.h: Likewise.
69765 2012-07-26  Andreas Jaeger  <aj@suse.de>
69767         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
69768         ptrace.
69770         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
69771         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
69772         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
69773         PTRACE_O_MASK.
69774         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
69775         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
69776         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
69778         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
69779         value.
69781         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
69782         _sigsys.
69783         (si_call_addr, si_syscall, si_arch): Define new macro.
69784         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
69785         _sigsys.
69786         (si_call_addr, si_syscall, si_arch): Define new marcro.
69787         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
69788         _sigsys.
69789         (si_call_addr, si_syscall, si_arch): Define new macro.
69790         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
69791         _sigsys.
69792         (si_call_addr, si_syscall, si_arch): Define new macro.
69794 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
69796         [BZ #13717]
69797         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69798         Change to 2.4.21 where previously 2.4.1.
69799         * sysdeps/unix/sysv/linux/configure: Regenerated.
69800         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
69801         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
69802         Linux kernel version.
69803         (__ASSUME_STD_AUXV): Remove.
69804         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
69805         kernel version.
69806         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
69807         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
69808         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
69809         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
69810         (__ASSUME_NETLINK_SUPPORT): Likewise.
69811         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
69812         (__no_netlink_support): Remove conditional definition.
69813         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
69814         Remove.
69815         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
69816         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
69817         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
69818         (if_nameindex_ioctl): Remove.
69819         (if_nameindex_netlink): Do not handle __no_netlink_support.
69820         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
69821         code.
69822         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
69823         Remove conditional code.
69824         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
69825         code.
69826         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
69827         unconditional.
69828         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
69829         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
69830         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
69831         Remove.
69832         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
69833         [!__ASSUME_STD_AUXV]: Remove conditional code.
69834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
69835         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
69836         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
69837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
69838         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
69839         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
69840         code.
69841         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
69842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
69843         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
69844         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
69845         conditional code.
69846         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
69847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
69848         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
69849         code.
69850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
69851         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
69852         conditional code.
69853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
69854         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69855         code unconditional.
69856         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69857         conditional code.
69858         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69859         unconditional.
69860         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69861         conditional code.
69862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
69863         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69864         unconditional.
69865         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69866         conditional code.
69867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
69868         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69869         code unconditional.
69870         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69871         conditional code.
69872         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69873         unconditional.
69874         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69875         conditional code.
69876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
69877         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69878         code unconditional.
69879         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69880         conditional code.
69881         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69882         unconditional.
69883         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69884         conditional code.
69886 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
69888         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
69889         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
69890         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
69891         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
69892         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
69893         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
69894         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
69895         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
69896         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
69897         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
69898         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
69899         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
69900         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
69901         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
69902         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
69903         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
69904         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
69905         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
69906         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
69907         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
69908         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
69909         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
69910         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69912 2012-07-25  Florian Weimer  <fweimer@redhat.com>
69914         * Versions.def: Add GLIBC_2.17.
69915         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
69916         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
69917         Introduce __libc_secure_getenv.
69918         * stdlib/Versions (2.17): Add secure_getenv
69919         (GLIBC_PRIVATE): Add __libc_secure_getenv.
69920         * stdlib/secure-getenv.c: Rename __secure_getenv to
69921         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
69922         symbol __secure_getenv for GLIBC_2.0.
69923         * stdlib/tst-secure-getenv.c: New.
69924         * stdlib/Makefile (tests): Add testcase.
69925         * manual/startup.texi (Environment Access): Document
69926         secure_getenv.
69927         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
69928         __libc_secure_getenv.
69929         * inet/ruserpass.c (ruserpass): Likewise.
69930         * malloc/mtrace.c (mtrace): Likewise.
69931         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
69932         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
69933         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
69934         * sysdeps/posix/tempname.c: Likewise.  Evaluate
69935         HAVE_SECURE_GETENV.
69936         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
69937         __secure_getenv to __libc_secure_getenv.
69938         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
69939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69940         Likewise.
69941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69942         Likewise.
69943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69945         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69951 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
69953         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
69954         (struct La_i86_retval): Likewise.
69955         (struct La_x86_64_regs): Likewise.
69956         (struct La_x86_64_retval): Likewise.
69957         (struct La_x32_regs): Likewise.
69958         (struct La_x32_retval): Likewise.
69959         (struct La_ppc32_regs): Likewise.
69960         (struct La_ppc32_retval): Likewise.
69961         (struct La_ppc64_regs): Likewise.
69962         (struct La_ppc64_retval): Likewise.
69963         (struct La_sh_regs): Likewise.
69964         (struct La_sh_retval): Likewise.
69965         (struct La_s390_32_regs): Likewise.
69966         (struct La_s390_32_retval): Likewise.
69967         (struct La_s390_64_regs): Likewise.
69968         (struct La_s390_64_retval): Likewise.
69969         (struct La_sparc32_regs): Likewise.
69970         (struct La_sparc32_retval): Likewise.
69971         (struct La_sparc64_regs): Likewise.
69972         (struct La_sparc64_retval): Likewise.
69973         (struct audit_ifaces): Remove architecture-specific pltenter and
69974         pltexit members.
69975         * sysdeps/i386/ldsodefs.h: New file.
69976         * sysdeps/powerpc/ldsodefs.h: Likewise.
69977         * sysdeps/s390/ldsodefs.h: Likewise.
69978         * sysdeps/sh/ldsodefs.h: Likewise.
69979         * sysdeps/sparc/ldsodefs.h: Likewise.
69980         * sysdeps/x86_64/ldsodefs.h: Likewise.
69982 2012-07-25  Marek Polacek  <polacek@redhat.com>
69984         [BZ #6808]
69985         * math/libm-test.inc (yn_test): Add another test.
69986         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
69987         to ERANGE when the result is +-Inf.
69988         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
69989         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
69990         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
69991         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
69993 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
69995         * conform/data/time.h-data (NULL): Use macro-constant.  Require
69996         equal to 0.
69997         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
69998         clock_t.
69999         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
70001 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
70003         * configure.in <sysdeps resolving>: Correct printing
70004         Implies_before.
70005         * configure: Regenerate.
70007 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
70009         * math/w_ilogb.c: Include <limits.h>.
70010         * math/w_ilogbl.c: Likewise.
70012 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70014         * manual/lang.texi (__va_copy): Document primarily as ISO C99
70015         va_copy.  Document allowing for unavailable va_copy only as
70016         pre-C99 compatibility.
70017         * manual/string.texi (Copying and Concatenation): Use va_copy
70018         instead of __va_copy in concat example.
70020 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
70022         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
70023         (__sendto): Use create_address_port.  Initialize APORT and deallocate
70024         it if not null.
70026         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
70027         with O_NOLINK passed to __file_name_lookup.
70029         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
70030         with O_NOLINK passed to __file_name_lookup.
70032         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
70033         negative N or less than NGIDS.
70035         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
70036         type to string_t.  Set ERANGE as errno and return it if NAME is not big
70037         enough.  Use memcpy instead of strncpy.
70039 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70041         * elf/Makefile (check-data): Remove.
70042         (localplt.data): New vpath directive.
70043         ($(objpfx)check-localplt.out): Use localplt.data from vpath
70044         instead of $(check-data).
70045         * scripts/data/localplt-generic.data: Move to ...
70046         * sysdeps/generic/localplt.data: ... here.
70047         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
70048         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
70049         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70051         ... here.
70052         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70054         ... here.
70055         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70057         ... here.
70058         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70060         ... here.
70061         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70063         ... here.
70064         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70066         ... here.
70068 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70070         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70071         PPC32 and PPC64 files.
70072         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70073         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70075 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70077         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70078         __makecontext_ret to ...
70079         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70080         ... here and call exit if uc_link is NULL.  New file.
70081         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70082         __makecontext_ret.S.
70083         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70084         __makecontext_ret to ...
70085         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70086         ... here and call exit if uc_link is NULL.  New file.
70087         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70088         __makecontext_ret.S.
70090 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70092         * elf/elf.h (R_390_IRELATIVE): New definition.
70093         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70094         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70095         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70096         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70097         (elf_machine_lazy_rel): Likewise.
70098         * sysdeps/s390/dl-irel.h: New file.
70099         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70100         * sysdeps/s390/s390-64/memset.S: New asm code.
70101         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70102         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70103         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70104         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70105         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70106         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70107         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70108         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70109         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70110         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70111         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70112         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70113         * sysdeps/s390/s390-32/memset.S: New asm code.
70114         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70116 2012-07-17  Marek Polacek  <polacek@redhat.com>
70118         [BZ #14349]
70119         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70120         * sysdeps/s390/s390-64/configure.in: Likewise.
70121         * sysdeps/sparc/configure.in: Likewise.
70122         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70123         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70124         * sysdeps/i386/configure.in: Likewise.
70125         * sysdeps/x86_64/configure.in: Likewise.
70126         * sysdeps/sh/configure.in: Likewise.
70127         * sysdeps/s390/s390-32/configure: Regenerated.
70128         * sysdeps/s390/s390-64/configure: Likewise.
70129         * sysdeps/x86_64/configure: Likewise.
70130         * sysdeps/sh/configure: Likewise.
70131         * sysdeps/powerpc/powerpc64/configure: Likewise.
70132         * sysdeps/powerpc/powerpc32/configure: Likewise.
70133         * sysdeps/sparc/configure: Likewise.
70134         * sysdeps/i386/configure: Likewise.
70136         * elf/dl-open.c: Comment fixes.
70138 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70140         * Makefile [CXX] (check-data): Remove.
70141         [CXX] (c++-types.data): New vpath directive.
70142         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70143         vpath.  Do not allow for C++ type data being missing.
70144         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70145         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70146         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70147         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70148         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70149         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70150         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70152         ... here.
70153         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70155         ... here.
70156         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70158         ... here.
70159         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70161         ... here.
70162         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70164         ... here.
70165         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70167         ... here.
70168         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70170         ... here.
70171         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70174         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70175         definitions to architecture-specific files.
70176         (TLS_IE): Likewise.
70177         (TLS_LD): Likewise.
70178         (TLS_GD): Likewise.
70179         * sysdeps/i386/tls-macros.h: New file.
70180         * sysdeps/powerpc/tls-macros.h: Likewise.
70181         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70182         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70183         * sysdeps/sh/tls-macros.h: Likewise.
70184         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70185         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70186         * sysdeps/x86_64/tls-macros.h: Likewise.
70188 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70190         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70191         zero value for regular exit case.
70193         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70194         (__start_context): Preserve zero value for regular exit case.
70196 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70197             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70199         * manual/setjmp.texi (setcontext): Clarify normal process
70200         termination when uc_link is the null pointer.
70201         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70202         exit call.
70204 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70206         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70207         preprocessor.  Test for each exception mask separately.
70209 2012-07-16  Andreas Jaeger  <aj@suse.de>
70211         * po/ru.po: Update from translation team.
70213 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70215         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70216         equal to 0.
70217         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70218         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70219         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70220         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70221         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70223 2012-07-13  Andreas Jaeger  <aj@suse.de>
70225         * po/fr.po: Update from translation team.
70227 2012-07-12  Marek Polacek  <polacek@redhat.com>
70229         [BZ #14173]
70230         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70231         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70232         loop condition.
70234 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70236         [BZ #13717]
70237         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70238         Change to 2.4.1 where previously 2.4.0.
70239         * sysdeps/unix/sysv/linux/configure: Regenerated.
70240         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70241         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70242         version.
70243         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70244         (__ASSUME_AT_CLKTCK): Remove.
70245         (__ASSUME_AT_PAGESIZE): Likewise.
70246         (__ASSUME_AT_XID): Likewise.
70247         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70248         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70249         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70250         unconditionally.
70251         (HAVE_AUX_PAGESIZE): Likewise.
70252         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70253         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70254         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70256 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70258         [BZ #14307]
70259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70260         the temporary buffer used to invoke __gethostbyname2_r,
70261         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70262         host_data / struct gaih_addrtuple.
70263         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70264         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70265         header file nss/nsswitch.h.
70266         * nss/nsswitch.h (global scope): Add definition of implementation
70267         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70268         resolv/nss_dns/dns-host.c).
70270 2012-07-11  Andreas Jaeger  <aj@suse.de>
70272         * po/fr.po: Update from translation team.
70274         * po/sv.po: Update from translation team
70275         * po/fr.po: Another update from translation team.
70277 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70279         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70280         for subnormals or multiply small sinh result by itself.
70281         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70284 2012-07-11  David S. Miller  <davem@davemloft.net>
70286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70288 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70290         [BZ #14347]
70291         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70292         (INTERNAL_MARK): Shift it here.
70294 2012-07-10  Marek Polacek  <polacek@redhat.com>
70296         [BZ #14151]
70297         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70298         libc_cv_asm_global_directive with .globl.
70299         * configure: Regenerated.
70300         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70301         with .globl.
70302         * sysdeps/i386/configure: Regenerated.
70303         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70304         with .globl.
70305         * sysdeps/x86_64/configure: Regenerated.
70306         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70307         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70308         * elf/tst-unique2mod2.c: Likewise.
70309         * elf/tst-unique2mod1.c: Likewise.
70310         * elf/tst-unique1mod2.c: Likewise.
70311         * elf/tst-unique1mod1.c: Likewise.
70312         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70313         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70314         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70315         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70316         * sysdeps/mach/sysdep.h: Likewise.
70317         * sysdeps/i386/sysdep.h: Likewise.
70318         * sysdeps/i386/i386-mcount.S: Likewise.
70319         * sysdeps/x86_64/_mcount.S: Likewise.
70320         * sysdeps/x86_64/sysdep.h: Likewise.
70321         * sysdeps/sh/_mcount.S: Likewise.
70322         * sysdeps/sh/sysdep.h: Likewise.
70323         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70324         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70325         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70326         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70327         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70328         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70329         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70330         * locale/localeinfo.h: Likewise.
70331         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70332         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70334 2012-07-09  Roland McGrath  <roland@hack.frob.com>
70336         [BZ #14336]
70337         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70338         system".
70339         * manual/message.texi (The Uniforum approach): Likewise.
70340         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70341         (glibc iconv Implementation): Likewise.
70343 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
70345         [BZ #14337]
70346         * math/s_clog.c (__clog): Avoid scaling a value down where that
70347         could result in underflow.
70348         * math/s_clog10.c (__clog10): Likewise.
70349         * math/s_clog10f.c (__clog10f): Likewise.
70350         * math/s_clog10l.c (__clog10l): Likewise.
70351         * math/s_clogf.c (__clogf): Likewise.
70352         * math/s_clogl.c (__clogl): Likewise.
70353         * math/libm-test.inc (clog_test): Add more tests.
70354         (clog10_test): Likewise.
70355         * sysdeps/i386/fpu/libm-test-ulps: Update.
70356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70358 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
70360         [BZ #14283]
70361         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70362         by 7 not 8 to examine high bit of fractional part.
70364         [BZ #14042]
70365         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
70366         for call to __mcount_internal.
70367         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
70368         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
70369         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
70371 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
70373         [BZ #14154]
70374         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
70375         approximation for values within 0x1p-13f of an odd multiple of
70376         pi/4.
70377         * math/libm-test.inc (tan_test): Do not allow spurious underflow
70378         exception.  Add more tests.
70379         * sysdeps/i386/fpu/libm-test-ulps: Update.
70381         [BZ #6778]
70382         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
70383         inputs and return -1 for them.  Do not check for +Inf in case not
70384         reachable for +Inf.
70385         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
70386         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
70387         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70388         and return -1 for them.  Do not check for +Inf in case not
70389         reachable for +Inf.
70390         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
70391         define.
70392         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70393         and return -1 for them.  Do not check for +Inf in case not
70394         reachable for +Inf.
70395         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
70396         spurious underflow.
70397         * sysdeps/i386/fpu/libm-test-ulps: Update.
70398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70400 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
70402         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
70404 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
70406         [BZ #14157]
70407         [BZ #14331]
70408         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
70409         could result in spurious underflow.  Scale down values above
70410         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
70411         * math/s_csqrtf.c (__csqrtf): Likewise.
70412         * math/s_csqrtl.c (__csqrtl): Likewise.
70413         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
70414         spurious underflow.
70415         * sysdeps/i386/fpu/libm-test-ulps: Update.
70416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70418 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
70420         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
70421         xopen-msg.sed.
70422         * catgets/xopen-msg.awk: New file.
70423         * catgets/xopen-msg.sed: Removed.
70425         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
70426         po2text.sed.
70427         * intl/po2test.awk: New file.
70428         * intl/po2test.sed: Removed.
70430 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
70432         [BZ #14328]
70433         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
70434         or multiply small sinh result by itself.
70435         * math/s_ctanf.c (__ctanf): Likewise.
70436         * math/s_ctanh.c (__ctanh): Likewise.
70437         * math/s_ctanhf.c (__ctanhf): Likewise.
70438         * math/s_ctanhl.c (__ctanhl): Likewise.
70439         * math/s_ctanl.c (__ctanl): Likewise.
70440         * math/libm-test.inc (ctan_test_tonearest): New function.
70441         (ctan_test_towardzero): Likewise.
70442         (ctan_test_downward): Likewise.
70443         (ctan_test_upward): Likewise.
70444         (ctanh_test_tonearest): Likewise.
70445         (ctanh_test_towardzero): Likewise.
70446         (ctanh_test_downward): Likewise.
70447         (ctanh_test_upward): Likewise.
70448         (main): Call these new functions.
70449         * sysdeps/i386/fpu/libm-test-ulps: Update.
70450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70452 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
70454         * .gitignore: Delete /ports entry.
70456 2012-07-03  Andreas Jaeger  <aj@suse.de>
70458         * po/bg.po: Update from translation team.
70459         * po/cs.po: Likewise.
70460         * po/de.po: Likewise.
70461         * po/hr.po: Likewise.
70462         * po/nl.pl: Likewise.
70463         * po/pl.po: Likewise.
70464         * po/vi.po: Likewise.
70466 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
70468         * Makeconfig [!+link] (+link-before-libc): New variable.
70469         [!+link] (+link-after-libc): Likewise.
70470         [!+link] (+link-tests): Likewise.
70471         [!+link] (+link): Define in terms of $(+link-before-libc) and
70472         $(+link-after-libc).
70473         [!+link-static] (+link-static-before-libc): New variable.
70474         [!+link-static] (+link-static-after-libc): Likewise.
70475         [!+link-static] (+link-static-tests): Likewise.
70476         [!+link-static] (+link-static): Define in terms of
70477         $(+link-static-before-libc) and $(+link-static-after-libc).
70478         [build-shared] (link-libc-before-gnulib): New variable.
70479         [build-shared] (link-libc-tests): Likewise.
70480         [build-shared] (link-libc): Define in terms of
70481         $(link-libc-before-gnulib).
70482         [!build-shared] (link-libc-tests): New variable.
70483         (link-libc-static-tests): New variable.
70484         [!gnulib] (gnulib-arch): New variable.
70485         [!gnulib] (gnulib-tests): Likewise.
70486         [!gnulib] (static-gnulib-arch): Likewise.
70487         [!gnulib] (static-gnulib-tests): Likewise.
70488         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
70489         Define with "=" instead of ":=".
70490         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
70491         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
70492         * Rules (binaries-all-notests): New variable.
70493         (binaries-all-tests): Likewise.
70494         (binaries-static-notests): Likewise.
70495         (binaries-static-tests): Likewise.
70496         (binaries-all): Define using $(binaries-all-notests) and
70497         $(binaries-all-tests).
70498         (binaries-static): Define using $(binaries-static-notests) and
70499         $(binaries-static-tests).
70500         (binaries-shared-tests): New variable.
70501         (binaries-shared-notests): Likewise.
70502         (binaries-shared): Remove variable.
70503         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
70504         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
70505         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
70506         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
70507         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
70508         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
70509         * elf/Makefile (sln-modules): New variable.
70510         (extra-objs): Add $(sln-modules:=.o).
70511         (ldconfig-modules): Add static-stubs.
70512         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
70513         * elf/static-stubs.c: New file.
70515         [BZ #14283]
70516         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
70517         by 7 not 8 to examine high bit of fractional part.  Use volatile
70518         variables when splitting into final array of floats if
70519         __FLT_EVAL_METHOD__ != 0.
70520         * math/libm-test.inc (cos_test): Add another test.
70521         (sin_test): Likewise.
70522         * sysdeps/i386/fpu/libm-test-ulps: Update.
70524         [BZ #14273]
70525         * math/libm-test.inc (cosh_test): Add more tests.
70527         * version.h (RELEASE): Set to "development".
70528         (VERSION): Set to "2.16.90".
70530 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
70532         * NEWS: Update copyright. Remove last-updated date.
70533         Mention math library bug fixes and timezone data changes.
70534         * README: Mention GNU/Hurd, x32, and HPPA support status.
70536 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
70538         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
70540 2012-06-27  Andreas Jaeger  <aj@suse.de>
70542         * manual/contrib.texi (Contributors): Add Samuel Thibault.
70544 2012-06-25  Andreas Jaeger  <aj@suse.de>
70546         * sysdeps/s390/fpu/libm-test-ulps: Update.
70548 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
70549             Thomas Schwinge  <thomas@codesourcery.com>
70551         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
70552         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
70553         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
70554         fanotify_mark.
70556 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
70558         * sysdeps/mach/start.c: Remove file.
70559         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
70560         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
70561         * sysdeps/sh/init-first.c: Likewise.
70563         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
70564         registers for frame unwinding purposes, add CFI directives.
70565         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70566         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
70567         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
70568         Likewise.
70570         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
70571         __fortify_fail returning.
70572         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70574         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
70575         sysdeps/sh/____longjmp_chk.S.
70576         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
70577         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
70578         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
70579         (gen-as-const-headers): Append sigaltstack-offsets.sym.
70581         * sysdeps/sh/abort-instr.h: New file.
70582         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
70583         process in case exit returns.
70585         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
70586         initialize the GOT register before use.
70588         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
70589         calculation of ARGC > 4.
70591         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
70592         meaningful names to some local labels.
70594 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70595             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70597         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
70598         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
70599         (__arch_compare_and_exchange_val_16_acq): Likewise.
70600         (__arch_compare_and_exchange_val_32_acq): Likewise.
70601         (atomic_exchange_and_add): Fix gUSA sequence.
70602         (atomic_add): Likewise.
70603         (atomic_add_negative): Likewise.
70604         (atomic_add_zero): Likewise.
70605         (atomic_bit_test_set): Likewise.
70607 2012-06-22  Andreas Schwab  <schwab@redhat.com>
70609         [BZ #13579]
70610         * include/link.h (struct link_map): Add l_free_initfini.
70611         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
70612         l_initfini.
70613         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
70614         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
70615         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
70616         set.
70618 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
70620         * configure.in: Use AC_LANG_SOURCE.
70621         * configure: Regenerate.
70623 2012-06-22  Roland McGrath  <roland@hack.frob.com>
70625         * configure.in (libc_cv_localstatedir): New substituted variable.
70626         * configure: Regenerated.
70627         * config.make.in (localstatedir): New variable, substituted from
70628         libc_cv_localstatedir.
70629         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
70630         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
70631         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
70632         * sysdeps/gnu/configure: Regenerated.
70634 2012-06-21  Jeff Law  <law@redhat.com>
70636         [BZ #14277]
70637         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
70638         free.  Simplify list management for _LIBC case.
70640 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
70642         [BZ #14273]
70643         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
70644         Clear sign bit of 64-bit integer value before comparing against
70645         overflow value.
70647         * sysdeps/mach/configure: Regenerated.
70649 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
70651         [BZ #14278]
70652         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
70654 2012-06-21  Jeff Law  <law@redhat.com>
70656         [BZ #13882]
70657         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
70658         uint16_t for elements in the "seen" array to avoid char overflows.
70659         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70660         * elf/dl-open.c (dl_open_worker): Likewise.
70662 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
70664         * scripts/list-sources.sh: Scan PORTS for translations.
70665         * po/libc.pot: Regenerated.
70667 2012-06-21  Andreas Jaeger  <aj@suse.de>
70669         [BZ #12194]
70670         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
70671         warning.
70672         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
70673         * bits/byteswap-16.h (__bswap_16): Likewise.
70674         * bits/byteswap.h (__bswap_constant_16): Likewise.
70676 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
70678         [BZ #14117]
70679         * sysdeps/i386/fpu_control.h: Removed.
70680         * sysdeps/x86_64/fpu_control.h: Moved to ...
70681         * sysdeps/x86/fpu_control.h: Here.
70683         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
70684         (_FPU_SETCW): Likewise.
70686 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
70688         [BZ #14117]
70689         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
70690         * sysdeps/x86/fpu/bits/mathinline.h: This.
70691         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
70693         [BZ #14050]
70694         [BZ #14117]
70695         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
70696         functions if __x86_64__ is defined.
70698 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
70700         * string/endian.h: Add !__ASSEMBLER__ condition for including
70701         conversion interfaces.
70703 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
70705         [BZ #14241]
70706         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
70707         of ABS(x) in calculating zero to negative powers other than odd
70708         integers.
70709         * math/libm-test.inc (pow_test): Add more tests.
70711 2012-06-15  Andreas Jaeger  <aj@suse.de>
70713         * manual/contrib.texi (Contributors): Update entry of Liubov
70714         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
70715         Machado Filho.
70717 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
70719         * string/string.h: Add __wur to GNU version of strerror_r.
70721 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
70723         [BZ #14229]
70724         * string/Makefile (tests): Add tst-strtok_r.
70725         * string/tst-strtok_r.c: New file.
70726         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
70727         RAX_LP/RDX_LP on SAVE_PTR.
70729 2012-06-14  Roland McGrath  <roland@hack.frob.com>
70731         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
70733 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
70735         * libm_test.inc (csqrt_test): Allow more spurious underflow
70736         exceptions.
70737         (j0_test): Likewise.
70738         (j1_test): Likewise.
70739         (y0_test): Likewise.
70740         (y1_test): Likewise.
70742 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
70744         * po/Makefile (libc.pot): Use UTF-8 charset.
70746 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
70748         [BZ #14210]
70749         Suppress sign-conversion warning from FD_SET.
70750         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
70751         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
70752         not unsigned long int.
70753         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
70755 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
70757         [BZ #14050]
70758         [BZ #14117]
70759         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
70760         __extern_always_inline instead of __extern_inline.
70761         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
70762         (__signbit): Likewise.
70763         (__signbitl): Support C++ namespace.
70764         (lrintf): New inline function.
70765         (lrint): Likewise.
70766         (llrintf): Likewise.
70767         (llrint): Likewise.
70768         (fmaxf): Likewise.
70769         (fmax): Likewise.
70770         (fminf): Likewise.
70771         (fmin): Likewise.
70772         (rint): Likewise.
70773         (rintf): Likewise.
70774         (ceil): Likewise.
70775         (ceilf): Likewise.
70776         (floor): Likewise.
70777         (floorf): Likewise.
70778         (nearbyint): Likewise.
70779         (nearbyintf): Likewise.
70781 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
70783         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
70784         non-default versions.
70786 2012-06-11  Roland McGrath  <roland@hack.frob.com>
70788         [BZ #14218]
70789         * manual/argp.texi (Argp): Reword argp_parse description slightly.
70791 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
70793         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
70794         (FE_UPWARD, FE_DOWNWARD): Don't define.
70795         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
70796         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70798         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
70799         reading it.
70800         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70801         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70803 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70805         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70806         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
70807         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
70808         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
70810 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
70812         [BZ #14117]
70813         * sysdeps/i386/fpu/bits/fenv.h: Removed.
70814         * sysdeps/i386/fpu/Implies: New file.
70815         * sysdeps/x86_64/fpu/Implies: Likewise.
70816         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
70817         * sysdeps/x86/fpu/bits/fenv.h: This.
70819         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
70820         __SSE_MATH__.
70822 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
70824         [BZ #14134]
70825         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
70826         character 0xffff that matches the last element of the
70827         conversion table.
70829 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70831         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
70832         fmodl commit.
70834 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70836         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
70837         values higher than 25.6283.
70839 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70841         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
70842         subnormal exponent extraction and add some __builtin_expect.
70843         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
70844         Fix for subnormal mantissa calculation.
70846 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
70848         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
70849         cpu2 is -1 and errno is not ENOSYS.
70851 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
70853         [BZ #14117]
70854         * sysdeps/i386/i486/bits/string.h: Renamed to ...
70855         * sysdeps/x86/bits/string.h: This.
70856         * sysdeps/x86_64/bits/string.h: Removed.
70858         * sysdeps/i386/i486/bits/string.h: Define inline functions only
70859         if not compiling for x86-64, but compiling for >= i486.
70861         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
70862         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
70864         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
70865         New macro from Linux kernel 3.4.0.
70866         (FP_XSTATE_MAGIC2): Likewise.
70867         (FP_XSTATE_MAGIC2_SIZE): Likewise.
70868         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
70869         (struct _fpx_sw_bytes): New struct.
70870         (struct _xsave_hdr): Likewise.
70871         (struct _ymmh_state): Likewise.
70872         (struct _xstate): Likewise.
70874         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
70875         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
70876         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
70877         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
70878         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
70879         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
70881         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
70882         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
70883         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
70884         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
70885         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
70886         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
70888 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70890         [BZ #13743]
70891         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
70892         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
70893         (sysdep_headers): Include sys/platform/ppc.h.
70894         * sysdeps/powerpc/test-gettimebase.c: Test for
70895         __ppc_get_timebase() to catch future ISA opcode/insn changes.
70896         * manual/Makefile (appendices): Include platform.texi.
70897         * manual/contrib.texi (Contributors): Update @node pointers.
70898         * manual/maint.texi (Maintenance): Likewise.
70899         (Platform): New node.
70900         * manual/platform.texi: New file.  Document the new features.
70902 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70903             Jakub Jelinek  <jakub@redhat.com>
70905         [BZ #14188]
70906         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
70907         where __builtin_expect is unavailable.
70909 2012-06-03  David S. Miller  <davem@davemloft.net>
70911         * stdlib/longlong.h: Updated from GCC.
70913 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
70915         [BZ #14042]
70916         * sysdeps/powerpc/powerpc32/mcount.c: New file.
70917         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
70918         __mcount_internal.
70919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70920         (GLIBC_2.16): Likewise.
70922 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
70924         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
70926 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
70928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
70929         (default-abi): New variable.
70930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
70931         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
70932         variable.
70933         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
70934         Likewise.
70935         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
70936         Likewise.
70937         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
70938         Likewise.
70940         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
70941         definition.  Document in comment.
70943 2012-06-01  David S. Miller  <davem@davemloft.net>
70945         * stdlib/longlong.h: Updated from GCC.
70947 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
70949         [BZ #14117]
70950         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
70951         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
70952         sys/debugreg.h sys/io.h here.
70953         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
70954         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
70955         sys/io.h.
70956         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
70957         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
70958         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
70959         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
70960         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
70961         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
70963         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
70964         Define only if __x86_64__ is defined.
70966 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
70968         [BZ #14048]
70969         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
70970         Use int64_t for variable i.
70971         * math/libm-test.inc (fmod_test): Add more tests.
70973         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
70974         z computation is not scheduled after fetestexcept.
70975         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
70976         Use math_force_eval instead of asm to ensure calculation scheduled
70977         before exception test.
70978         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
70979         Ensure a1 + u.d computation is not scheduled after fetestexcept.
70981 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
70983         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
70984         computation is not scheduled after fetestexcept.
70986 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
70988         [BZ #14117]
70989         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
70990         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
70992 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70994         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
70995         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70997 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
70999         [BZ #14117]
71000         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
71001         <bits/wordsize.h>.
71002         (__WCHAR_MIN): Support __WORDSIZE == 64.
71003         (__WCHAR_MAX): Likewise.
71005         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
71006         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
71008         [BZ #14183]
71009         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
71010         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71012         [BZ #14117]
71013         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
71014         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
71016         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
71017         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
71019         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
71020         Defined to 1 if __x86_64__ isn't defined.
71021         (_STAT_VER_LINUX_OLD): New.
71022         (st_atime): Remove duplicate.
71023         (st_mtime): Likewise.
71024         (st_ctime): Likewise.
71026 2012-05-31  David S. Miller  <davem@davemloft.net>
71028         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
71029         entries.
71031 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
71033         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
71034         gen-libm-test.pl.
71036         [BZ #14132]
71037         * elf/dl-reloc.c: Include <_itoa.h>.
71038         (_dl_reloc_bad_type): Remove use of INTUSE.
71039         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
71040         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
71041         * stdio-common/psiginfo.c (psiginfo): Likewise.
71042         * stdio-common/psignal.c (psignal): Likewise.
71043         * string/strsignal.c (strsignal): Likewise.
71044         * include/signal.h (_sys_siglist): Declare hidden proto.
71045         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
71046         INTVARDEF with libc_hidden_data_def.
71047         * stdio-common/itoa-udigits.c: Likewise.
71048         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
71049         (_itoa_lower_digits_internal): Remove declaration.
71050         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71051         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71052         (_sys_sigabbrev_internal): Remove aliases.
71053         (_sys_siglist): Define hidden alias.
71055 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
71057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71058         bits/sysctl.h.
71060 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71062         [BZ #14117]
71063         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71064         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71066         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71067         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71068         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71069         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71070         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71071         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71073         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71074         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71075         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71077         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71078         with __addr.
71079         (insw): Likewise.
71080         (insl): Likewise.
71081         (outsb): Likewise.
71082         (outsw): Likewise.
71083         (outsl): Likewise.
71085         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71086         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71087         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71089         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71090         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71091         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71092         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71093         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71094         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71096         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71097         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71099         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71100         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71102         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71103         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71104         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71106         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71107         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71108         to ...
71109         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71111         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71112         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71113         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71115         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71116         for x86-64.
71117         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71119 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71121         * math/math.h (M_El): Use two more decimal places.
71122         (M_LOG2El): Likewise.
71123         (M_LOG10El): Likewise.
71124         (M_LN2l): Likewise.
71125         (M_LN10l): Likewise.
71126         (M_PIl): Likewise.
71127         (M_PI_2l): Likewise.
71128         (M_PI_4l): Likewise.
71129         (M_1_PIl): Likewise.
71130         (M_2_PIl): Likewise.
71131         (M_2_SQRTPIl): Likewise.
71132         (M_SQRT2l): Likewise.
71133         (M_SQRT1_2l): Likewise.
71135 2012-05-31  David S. Miller  <davem@davemloft.net>
71137         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71138         values between float registers.
71139         * sysdeps/sparc/sparc64/memset.S: Likewise.
71140         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71142 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71144         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71145         -D_FORTIFY_SOURCE=1.
71146         (CPPFLAGS-tst-longjmp_chk.c): Define.
71147         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71148         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71149         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71150         CFLAGS-tst-wchar-h.c.
71152 2012-05-31  Marek Polacek  <polacek@redhat.com>
71154         [BZ #14132]
71155         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71156         __endmntent_internal): Remove declaration.
71157         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71158         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71159         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71161 2012-05-30  David S. Miller  <davem@davemloft.net>
71163         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71164         (___Q_simulate_exceptions): Use real FP ops rather than writing
71165         into the %fsr.
71166         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71167         Likewise.
71169 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71171         [BZ #14117]
71172         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71173         * sysdeps/x86/bits/xtitypes.h: This.
71175         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71176         * sysdeps/x86/bits/wordsize.h: This.
71178         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71179         * sysdeps/x86/bits/huge_vall.h: This.
71181         * sysdeps/i386/bits/select.h: Removed.
71182         * sysdeps/x86_64/bits/select.h: Renamed to ...
71183         * sysdeps/x86/bits/select.h: This.
71185         * sysdeps/i386/bits/setjmp.h: Removed.
71186         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71187         * sysdeps/x86/bits/setjmp.h: This.
71189         * sysdeps/i386/bits/mathdef.h: Removed.
71190         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71191         * sysdeps/x86/bits/mathdef.h: This.
71193 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71195         [BZ #14132]
71196         * include/sys/socket.h (__connect_internal)
71197         (__libc_sa_len_internal): Remove declaration.
71198         (__connect, __libc_sa_len): Declare hidden_proto.
71199         (SA_LEN): Remove use of INTUSE.
71200         * socket/connect.c: Add libc_hidden_def.
71201         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71202         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71203         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71204         alias.
71205         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71206         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71207         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71208         of adding _internal alias.
71210 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71212         [BZ #14117]
71213         * sysdeps/i386/bits/link.h: Removed.
71214         * sysdeps/i386/bits/linkmap.h: Likewise.
71215         * sysdeps/x86_64/bits/link.h: Renamed to ...
71216         * sysdeps/x86/bits/link.h: This.
71217         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71218         * sysdeps/x86/bits/linkmap.h: This.
71220         * sysdeps/i386/bits/endian.h: Removed.
71221         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71222         * sysdeps/x86/bits/endian.h: This.
71224         * sysdeps/i386/bits/byteswap.h: Removed.
71225         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71226         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71227         * sysdeps/x86/bits/byteswap.h: This.
71228         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71229         * sysdeps/x86/bits/byteswap-16.h: This.
71230         * sysdeps/i386/Implies: Add x86.
71231         * sysdeps/x86_64/Implies: Likewise.
71233 2012-05-30  David S. Miller  <davem@davemloft.net>
71235         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71236         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71237         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71238         (FP_TRAPPING_EXCEPTIONS): Define.
71239         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71240         (FP_TRAPPING_EXCEPTIONS): Define.
71241         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71242         subnormals only when inexact has been signalled or underflow
71243         exceptions are enabled.
71244         (_FP_PACK_CANONICAL): Likewise.
71246 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71248         [BZ #14183]
71249         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71250         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71252 2012-05-30  Richard Henderson  <rth@twiddle.net>
71254         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71255         with #ifndef NOT_IN_libc.
71257         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71258         marked to avoid plt entry.
71260 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71262         [BZ #14112]
71263         * Makeconfig (default-abi): New macro.
71264         (abi-includes): Likewise.
71265         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71266         $(abi-$(default-abi)-lib-soname) for soname if defined.
71267         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71268         abi-variants.
71269         * Makefile (installed-stubs): Likewise.
71270         * include/stubs-biarch.h: Removed.
71271         * scripts/lib-names.awk: Only handle one library at a time.
71272         * scripts/soversions.awk: Remove WORDSIZE support.
71273         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71274         entries.
71275         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71276         Removed.
71277         (syscall-list-default-condition): Likewise.
71278         (syscall-list-default-condition): Likewise.
71279         (syscall-list-includes): Likewise.
71280         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71281         syscall-list-* with abi-*.  Handle undefined abi-variants.
71282         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71283         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71284         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71285         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71286         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71287         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71288         Removed.
71289         (syscall-list-32-options): Likewise.
71290         (syscall-list-32-condition): Likewise.
71291         (syscall-list-64-options): Likewise.
71292         (syscall-list-64-condition): Likewise.
71293         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71294         macro.
71295         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71296         Renamed to ...
71297         (abi-*): This.
71298         (abi-64-ld-soname): New macro.
71299         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71300         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71301         Renamed to ...
71302         (abi-*): This.
71303         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71304         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71306 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71308         * sysdeps/unix/sysv/linux/kernel-features.h
71309         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71310         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71311         include <kernel-features.h>.
71312         [!__NR_ftruncate64]: Remove conditional code.
71313         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71314         [__NR_ftruncate64]: Make code unconditional.
71315         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71316         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71317         include <kernel-features.h>.
71318         [!__NR_ftruncate64]: Remove conditional code.
71319         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71320         [__NR_ftruncate64]: Make code unconditional.
71321         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71323         include <kernel-features.h>.
71324         [!__NR_ftruncate64]: Remove conditional code.
71325         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71326         [__NR_ftruncate64]: Make code unconditional.
71327         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71329         include <kernel-features.h>.
71330         [!__NR_ftruncate64]: Remove conditional code.
71331         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71332         [__NR_ftruncate64]: Make code unconditional.
71333         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71335         * configure.in (libc_cv_fpie): Weaken to a compile test using
71336         LIBC_TRY_CC_OPTION.
71337         * configure: Regenerated.
71339 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71345         Refreshed.
71346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71352         Refreshed.
71354 2012-05-27  David S. Miller  <davem@davemloft.net>
71356         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71357         (___Q_zero): New.
71358         (__Q_simulate_exceptions): Return void.  Change to simulate
71359         exceptions by writing into the %fsr.
71360         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71361         (__Qp_handle_exceptions): Likewise.
71362         (numbers): Delete.
71363         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71364         __Qp_handle_exceptions.
71365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
71366         __Qp_handle_exceptions.
71367         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71368         as unused and give dummy FP_RND_NEAREST initializer.
71369         (FP_INHIBIT_RESULTS): Define.
71370         (___Q_simulate_exceptions): Update declaration.
71371         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
71372         formatting.
71373         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71374         as unused and give dummy FP_RND_NEAREST initializer.
71375         (__Qp_handle_exceptions): Update declaration.
71376         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
71377         formatting.
71379 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
71381         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
71382         the temporary FPU control word.
71383         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
71384         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
71385         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
71386         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71387         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
71388         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
71389         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
71390         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71391         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
71392         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
71393         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71395 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71397         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
71398         fields.
71400 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
71402         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
71403         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
71404         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
71405         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
71406         Likewise.
71407         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
71408         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
71409         Likewise.
71411 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
71413         * po/h.po: Update from translation team.
71415 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
71417         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
71419         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
71420         handling of denormals.
71421         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71422         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
71423         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71424         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
71427         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
71428         Likewise.
71430 2012-05-26  Marek Polacek  <polacek@redhat.com>
71432         [BZ #14152]
71433         * math/libm-test.inc (fma_test): Don't always expect underflow
71434         exception.
71436 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71438         [BZ #12416]
71439         * elf/tst-execstack.c: Include stackinfo.h.
71440         (do_test): Adjust test case to ensure that pthread_getattr_np
71441         behaviour remains the same after marking stack executable.
71443 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71445         * sysdeps/unix/sysv/linux/kernel-features.h
71446         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
71447         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
71448         kernel-features.h.
71449         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71450         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71451         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
71452         kernel-features.h.
71453         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71454         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71456 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
71458         * configure.in: Define the default includes to being none.
71459         * configure: Regenerated.
71461 2012-05-25  Roland McGrath  <roland@hack.frob.com>
71463         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
71464         * sysdeps/x86_64/setjmp.S: Likewise.
71465         * sysdeps/i386/bsd-setjmp.S: Likewise.
71466         * sysdeps/i386/bsd-_setjmp.S: Likewise.
71467         * sysdeps/i386/setjmp.S: Likewise.
71468         * sysdeps/i386/__longjmp.S: Likewise.
71469         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71470         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
71472         * include/stap-probe.h: New file.
71473         * configure.in: Handle --enable-systemtap.
71474         * configure: Regenerated.
71475         * config.h.in (USE_STAP_PROBE): New #undef.
71476         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
71477         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
71478         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
71480 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71482         [BZ #13717]
71483         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71484         to 2.4.0 where earlier.
71485         * sysdeps/unix/sysv/linux/configure: Regenerated.
71486         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71487         <kernel-features.h>.
71488         [__ASSUME_32BITUIDS]: Make code unconditional.
71489         [!__ASSUME_32BITUIDS]: Remove conditional code.
71490         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
71491         <kernel-features.h>.
71492         [__ASSUME_32BITUIDS]: Make code unconditional.
71493         [!__ASSUME_32BITUIDS]: Remove conditional code.
71494         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
71495         [__ASSUME_32BITUIDS]: Make code unconditional.
71496         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
71497         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
71498         <kernel-features.h>.
71499         [__ASSUME_32BITUIDS]: Make code unconditional.
71500         [!__ASSUME_32BITUIDS]: Remove conditional code.
71501         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
71502         <kernel-features.h>.
71503         [__ASSUME_32BITUIDS]: Make code unconditional.
71504         [!__ASSUME_32BITUIDS]: Remove conditional code.
71505         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
71506         <kernel-features.h>.
71507         [__ASSUME_32BITUIDS]: Make code unconditional.
71508         [!__ASSUME_32BITUIDS]: Remove conditional code.
71509         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
71510         <kernel-features.h>.
71511         [__ASSUME_32BITUIDS]: Make code unconditional.
71512         [!__ASSUME_32BITUIDS]: Remove conditional code.
71513         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71514         <kernel-features.h>.
71515         [__ASSUME_32BITUIDS]: Make code unconditional.
71516         [!__ASSUME_32BITUIDS]: Remove conditional code.
71517         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71518         <kernel-features.h>.
71519         [__ASSUME_32BITUIDS]: Make code unconditional.
71520         [!__ASSUME_32BITUIDS]: Remove conditional code.
71521         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
71522         <kernel-features.h>.
71523         [__ASSUME_32BITUIDS]: Make code unconditional.
71524         [!__ASSUME_32BITUIDS]: Remove conditional code.
71525         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71526         <kernel-features.h>.
71527         [__ASSUME_32BITUIDS]: Make code unconditional.
71528         [!__ASSUME_32BITUIDS]: Remove conditional code.
71529         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71530         <kernel-features.h>.
71531         [__ASSUME_32BITUIDS]: Make code unconditional.
71532         [!__ASSUME_32BITUIDS]: Remove conditional code.
71533         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
71534         <kernel-features.h>.
71535         [__ASSUME_32BITUIDS]: Make code unconditional.
71536         [!__ASSUME_32BITUIDS]: Remove conditional code.
71537         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
71538         <kernel-features.h>.
71539         [__NR_setresgid] (__setresgid): Do not declare.
71540         [__ASSUME_32BITUIDS]: Make code unconditional.
71541         [!__ASSUME_32BITUIDS]: Remove conditional code.
71542         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
71543         <kernel-features.h>.
71544         [__NR_setresuid] (__setresuid): Do not declare.
71545         [__ASSUME_32BITUIDS]: Make code unconditional.
71546         [!__ASSUME_32BITUIDS]: Remove conditional code.
71547         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
71548         <kernel-features.h>.
71549         [__ASSUME_32BITUIDS]: Make code unconditional.
71550         [!__ASSUME_32BITUIDS]: Remove conditional code.
71551         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
71552         <kernel-features.h>.
71553         [__ASSUME_32BITUIDS]: Make code unconditional.
71554         [!__ASSUME_32BITUIDS]: Remove conditional code.
71555         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
71556         <kernel-features.h>.
71557         [__ASSUME_32BITUIDS]: Make code unconditional.
71558         [!__ASSUME_32BITUIDS]: Remove conditional code.
71559         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
71560         <kernel-features.h>.
71561         [__ASSUME_32BITUIDS]: Make code unconditional.
71562         [!__ASSUME_32BITUIDS]: Remove conditional code.
71563         * sysdeps/unix/sysv/linux/i386/setregid.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/i386/setresgid.c: Do not include
71568         <kernel-features.h>.
71569         [__ASSUME_32BITUIDS]: Make code unconditional.
71570         [!__ASSUME_32BITUIDS]: Remove conditional code.
71571         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
71572         <kernel-features.h>.
71573         [__ASSUME_32BITUIDS]: Make code unconditional.
71574         [!__ASSUME_32BITUIDS]: Remove conditional code.
71575         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
71576         <kernel-features.h>.
71577         [__ASSUME_32BITUIDS]: Make code unconditional.
71578         [!__ASSUME_32BITUIDS]: Remove conditional code.
71579         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
71580         <kernel-features.h>.
71581         [__ASSUME_32BITUIDS]: Make code unconditional.
71582         [!__ASSUME_32BITUIDS]: Remove conditional code.
71583         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71584         <kernel-features.h>.
71585         [__ASSUME_32BITUIDS]: Make code unconditional.
71586         [!__ASSUME_32BITUIDS]: Remove conditional code.
71587         * sysdeps/unix/sysv/linux/kernel-features.h
71588         (__ASSUME_SETRESUID_SYSCALL): Remove.
71589         (__ASSUME_SETRESGID_SYSCALL): Likewise.
71590         (__ASSUME_32BITUIDS): Likewise.
71591         (__ASSUME_LDT_WORKS): Likewise.
71592         (__ASSUME_O_DIRECTORY): Likewise.
71593         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
71594         architecture but not kernel version.
71595         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
71596         (__ASSUME_MMAP2_SYSCALL): Likewise.
71597         (__ASSUME_STAT64_SYSCALL): Likewise.
71598         (__ASSUME_IPC64): Likewise.
71599         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
71600         <kernel-features.h>.
71601         [__ASSUME_32BITUIDS]: Make code unconditional.
71602         [!__ASSUME_32BITUIDS]: Remove conditional code.
71603         * sysdeps/unix/sysv/linux/opendir.c: Do not include
71604         <kernel-features.h>.
71605         [__ASSUME_O_DIRECTORY]: Make code unconditional.
71606         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
71607         132096]: Remove conditional code.
71608         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
71609         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71610         <kernel-features.h>.
71611         [__ASSUME_32BITUIDS]: Make code unconditional.
71612         [!__ASSUME_32BITUIDS]: Remove conditional code.
71613         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71614         <kernel-features.h>.
71615         [__ASSUME_32BITUIDS]: Make code unconditional.
71616         [!__ASSUME_32BITUIDS]: Remove conditional code.
71617         * sysdeps/unix/sysv/linux/setegid.c: Do not include
71618         <kernel-features.h>.
71619         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
71620         unconditional.
71621         (__setresgid): Do not declare.
71622         [__ASSUME_32BITUIDS]: Make code unconditional.
71623         [!__ASSUME_32BITUIDS]: Remove conditional code.
71624         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
71625         <kernel-features.h>.
71626         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
71627         unconditional.
71628         (__setresuid): Do not declare.
71629         [__ASSUME_32BITUIDS]: Make code unconditional.
71630         [!__ASSUME_32BITUIDS]: Remove conditional code.
71631         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71632         <kernel-features.h>.
71633         [__ASSUME_32BITUIDS]: Make code unconditional.
71634         [!__ASSUME_32BITUIDS]: Remove conditional code.
71635         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
71636         <kernel-features.h>.
71637         [__ASSUME_32BITUIDS]: Make code unconditional.
71638         [!__ASSUME_32BITUIDS]: Remove conditional code.
71640 2012-05-25  Richard Henderson  <rth@twiddle.net>
71642         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
71643         dl_hwcap to ifunc resolver.
71644         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
71645         elf_ifunc_invoke.
71646         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
71647         dl_hwcap to ifunc resolver.
71648         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
71650 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71652         [BZ #14153]
71653         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
71654         for |x| <= 2**-26, not 2**-57.
71655         * math/libm-test.inc (acos_test): Do not allow spurious underflow
71656         exception.
71658 2012-05-24  Jeff Law  <law@redhat.com>
71660         * stdio-common/Makefile (tests): Add bug25.
71661         * stdio-common/bug25.c: New test.
71663 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
71665         [BZ #13576]
71666         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
71667         multiple of MALLOC_ALIGNMENT in size.
71668         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
71670 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71672         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
71673         Require >= 256.
71674         (FILENAME_MAX): Use macro-int-constant.
71675         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
71676         (_IOFBF): Use macro-int-constant.
71677         (_IOLBF): Likewise.
71678         (_IONBF): Likewise.
71679         (SEEK_CUR): Likewise.
71680         (SEEK_END): Likewise.
71681         (SEEK_SET): Likewise.
71682         (TMP_MAX): Likewise.
71683         (EOF): Use macro-int-constant.  Require < 0.
71684         (NULL): Use macro-constant.  Require == 0.
71685         (stdin): Require type to be FILE *.
71686         (stdout): Likewise.
71687         (stderr): Likewise.
71688         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
71689         macro-int-constant.
71690         (EXIT_SUCCESS): Likewise.
71691         (NULL): Use macro-constant.  Require == 0.
71692         (RAND_MAX): Use macro-int-constant.
71693         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
71694         [C99-based standards] (strtof): Require function.
71695         [C99-based standards] (strtold): Likewise.
71696         [C99-based standards] (strtoll): Likewise.
71697         [C99-based standards] (strtoull): Likewise.
71698         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71699         [ISO || ISO99 || ISO11] (limits.h): Likewise.
71700         [ISO || ISO99 || ISO11] (math.h): Likewise.
71701         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
71702         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71703         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71705 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
71707         [BZ #14132]
71708         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
71709         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
71710         * intl/dgettext.c (DCGETTEXT): Likewise.
71711         * intl/gettext.c (DCGETTEXT): Likewise.
71712         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
71713         * posix/regex_internal.h (gettext): Likewise.
71714         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
71715         Remove declaration.
71716         * include/argz.h (__argz_count_internal)
71717         (__argz_stringify_internal): Remove declaration.
71718         (__argz_count, __argz_stringify): Declare hidden proto.
71719         * intl/dcgettext.c: Remove use of INTDEF.
71720         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
71721         * string/argz-stringify.c: Likewise.
71722         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
71723         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
71724         Declare hidden proto.
71725         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
71726         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
71727         Declare hidden proto.
71728         * include/stdio.h (__asprintf_internal): Don't declare.
71729         (__asprintf): Don't define as macro.  Declare hidden proto.
71730         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
71731         (__fsetlocking): Declare hidden proto.
71732         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
71733         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
71734         hidden proto.
71735         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
71736         (_IO_setlinebuf): Remove use of INTUSE.
71737         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
71738         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
71739         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
71740         Remove declaration.
71741         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
71742         (_IO_do_flush): Remove use of INTUSE.
71743         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
71744         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
71745         (_IO_adjust_column, _IO_least_wmarker)
71746         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
71747         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
71748         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
71749         (_IO_default_doallocate, _IO_wdefault_doallocate)
71750         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
71751         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
71752         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
71753         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
71754         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
71755         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
71756         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
71757         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
71758         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
71759         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
71760         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
71761         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
71762         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
71763         proto.
71764         (_IO_flush_all_internal, _IO_adjust_column_internal)
71765         (_IO_default_uflow_internal, _IO_default_finish_internal)
71766         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
71767         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
71768         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
71769         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
71770         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
71771         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
71772         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
71773         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
71774         (_IO_file_close_internal, _IO_file_close_it_internal)
71775         (_IO_file_underflow_internal, _IO_file_overflow_internal)
71776         (_IO_file_init_internal, _IO_file_attach_internal)
71777         (_IO_file_fopen_internal, _IO_file_read_internal)
71778         (_IO_file_sync_internal, _IO_file_seek_internal)
71779         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
71780         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
71781         (_IO_str_underflow_internal, _IO_str_overflow_internal)
71782         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
71783         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
71784         (_IO_list_all_internal, _IO_link_in_internal)
71785         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
71786         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
71787         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
71788         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
71789         (_IO_do_write_internal, _IO_padn_internal)
71790         (_IO_getline_info_internal, _IO_getline_internal)
71791         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
71792         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
71793         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
71794         (_IO_vfscanf_internal, _IO_vfprintf_internal)
71795         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
71796         (_IO_init_internal, _IO_un_link_internal): Don't declare.
71797         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
71798         with libc_hidden_ver, remove use of INTUSE.
71799         * libio/genops.c: Likewise.
71800         * libio/freopen.c: Likewise.
71801         * libio/freopen64.c: Likewise.
71802         * libio/iofclose.c: Likewise.
71803         * libio/iofdopen.c: Likewise.
71804         * libio/iofflush.c: Likewise.
71805         * libio/iofflush_u.c: Likewise.
71806         * libio/iofgets.c: Likewise.
71807         * libio/iofgets_u.c: Likewise.
71808         * libio/iofopen.c: Likewise.
71809         * libio/iofopncook.c: Likewise.
71810         * libio/iofread.c: Likewise.
71811         * libio/iofread_u.c: Likewise.
71812         * libio/ioftell.c: Likewise.
71813         * libio/iofwrite.c: Likewise.
71814         * libio/iogetline.c: Likewise.
71815         * libio/iogets.c: Likewise.
71816         * libio/iogetwline.c: Likewise.
71817         * libio/iopadn.c: Likewise.
71818         * libio/iopopen.c: Likewise.
71819         * libio/ioseekoff.c: Likewise.
71820         * libio/ioseekpos.c: Likewise.
71821         * libio/iosetbuffer.c: Likewise.
71822         * libio/iosetvbuf.c: Likewise.
71823         * libio/ioungetc.c: Likewise.
71824         * libio/ioungetwc.c: Likewise.
71825         * libio/iovdprintf.c: Likewise.
71826         * libio/iovsprintf.c: Likewise.
71827         * libio/iovsscanf.c: Likewise.
71828         * libio/memstream.c: Likewise.
71829         * libio/obprintf.c: Likewise.
71830         * libio/oldfileops.c: Likewise.
71831         * libio/oldiofclose.c: Likewise.
71832         * libio/oldiofdopen.c: Likewise.
71833         * libio/oldiofopen.c: Likewise.
71834         * libio/oldiopopen.c: Likewise.
71835         * libio/oldstdfiles.c: Likewise.
71836         * libio/putc.c: Likewise.
71837         * libio/setbuf.c: Likewise.
71838         * libio/setlinebuf.c: Likewise.
71839         * libio/stdfiles.c: Likewise.
71840         * libio/strops.c: Likewise.
71841         * libio/vasprintf.c: Likewise.
71842         * libio/vscanf.c: Likewise.
71843         * libio/vsnprintf.c: Likewise.
71844         * libio/vswprintf.c: Likewise.
71845         * libio/wfiledoalloc.c: Likewise.
71846         * libio/wfileops.c: Likewise.
71847         * libio/wgenops.c: Likewise.
71848         * libio/wmemstream.c: Likewise.
71849         * libio/wstrops.c: Likewise.
71850         * libio/__fpurge.c: Likewise.
71851         * libio/__fsetlocking.c: Likewise.
71852         * assert/assert.c: Likewise.
71853         * debug/fgets_chk.c: Likewise.
71854         * debug/fgets_u_chk.c: Likewise.
71855         * debug/fread_chk.c: Likewise.
71856         * debug/fread_u_chk.c: Likewise.
71857         * debug/gets_chk.c: Likewise.
71858         * debug/obprintf_chk.c: Likewise.
71859         * debug/vasprintf_chk.c: Likewise.
71860         * debug/vdprintf_chk.c: Likewise.
71861         * debug/vsnprintf_chk.c: Likewise.
71862         * debug/vsprintf_chk.c: Likewise.
71863         * malloc/mtrace.c: Likewise.
71864         * misc/error.c: Likewise.
71865         * misc/syslog.c: Likewise.
71866         * stdio-common/asprintf.c: Likewise.
71867         * stdio-common/fxprintf.c: Likewise.
71868         * stdio-common/getw.c: Likewise.
71869         * stdio-common/isoc99_fscanf.c: Likewise.
71870         * stdio-common/isoc99_scanf.c: Likewise.
71871         * stdio-common/isoc99_vfscanf.c: Likewise.
71872         * stdio-common/isoc99_vscanf.c: Likewise.
71873         * stdio-common/isoc99_vsscanf.c: Likewise.
71874         * stdio-common/printf-prs.c: Likewise.
71875         * stdio-common/printf_fp.c: Likewise.
71876         * stdio-common/printf_fphex.c: Likewise.
71877         * stdio-common/printf_size.c: Likewise.
71878         * stdio-common/putw.c: Likewise.
71879         * stdio-common/scanf.c: Likewise.
71880         * stdio-common/sprintf.c: Likewise.
71881         * stdio-common/tmpfile.c: Likewise.
71882         * stdio-common/vfprintf.c: Likewise.
71883         * stdio-common/vfscanf.c: Likewise.
71884         * stdlib/strfmon_l.c: Likewise.
71885         * sunrpc/openchild.c: Likewise.
71886         * sunrpc/xdr_stdio.c: Likewise.
71887         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
71888         * sysdeps/mach/hurd/tmpfile.c: Likewise.
71890 2012-05-24  Roland McGrath  <roland@hack.frob.com>
71892         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71894         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
71895         in the third column, to generate for the shared library an IFUNC
71896         that uses _dl_vdso_vsym.
71897         * Makerules (COMPILE.c, compile-stdin.c): New variables.
71898         * Makeconfig (object-suffixes-noshared): New variable.
71900         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
71901         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
71902         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
71903         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
71905         [BZ #14132]
71906         * include/sys/time.h (__gettimeofday): Remove macro.
71907         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
71908         * time/gettimeofday.c (__gettimeofday): Remove #undef.
71909         Remove INTDEF.
71910         (__gettimeofday): Add libc_hidden_def.
71911         (gettimeofday): Add libc_hidden_weak.
71912         * sysdeps/mach/gettimeofday.c: Likewise.
71913         * sysdeps/posix/gettimeofday.c: Likewise.
71914         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
71915         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
71916         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
71917         (__gettimeofday_internal): Remove strong_alias.
71918         (__gettimeofday): Add libc_hidden_def.
71919         (gettimeofday): Add libc_hidden_weak.
71920         * sysdeps/unix/syscalls.list (gettimeofday):
71921         Remove __gettimeofday_internal alias.
71923 2012-05-24  Daniel Jacobowitz  <drow@false.org>
71924             H.J. Lu  <hongjiu.lu@intel.com>
71926         [BZ #12495]
71927         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
71928         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
71929         (largebin_index_32_big): New.
71930         (largebin_index): Use it for 16-byte alignment.
71931         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
71932         correction with front_misalign.
71934 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
71936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
71937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
71938         Likewise.
71939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
71940         Likewise.
71941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71942         Likewise.
71943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
71944         Likewise.
71945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
71946         Likewise.
71947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
71948         Likewise.
71949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
71950         Likewise.
71951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
71952         Likewise.
71953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
71954         Likewise.
71955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
71956         Likewise.
71957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
71958         Likewise.
71959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
71960         Likewise.
71962         * scripts/data/c++-types-x32-linux-gnu.data: New file.
71963         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
71965 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71967         [BZ #10846]
71968         [BZ #14036]
71969         * math/libm-test.inc (exp_test): Add test from bug 14036.
71970         (pow_test): Add test from bug 10846.
71972         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
71973         and other flags.
71974         (special_function): Do not include flags in test name.
71975         (parse_args): Likewise.
71976         * sysdeps/i386/fpu/libm-test-ulps: Update.
71977         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71978         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
71979         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
71980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71982         * math/gen-libm-test.pl (%beautify): Add entries for underflow
71983         exceptions.
71984         * math/libm-test.inc ("Philosophy"): Update comment about
71985         exception testing.
71986         (UNDERFLOW_EXCEPTION): New macro.
71987         (UNDERFLOW_EXCEPTION_OK): Likewise.
71988         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
71989         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
71990         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
71991         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
71992         (INVALID_EXCEPTION_OK): Update value.
71993         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71994         (OVERFLOW_EXCEPTION_OK): Likewise.
71995         (IGNORE_ZERO_INF_SIGN): Likewise.
71996         (test_exceptions): Handle underflow exceptions.
71997         (acos_test): Update for underflow exception expectations.
71998         (cexp_test): Likewise.
71999         (clog_test): Likewise.
72000         (clog10_test): Likewise.
72001         (csqrt_test): Likewise.
72002         (ctan_test): Likewise.
72003         (ctanh_test): Likewise.
72004         (exp_test): Likewise.
72005         (exp10_test): Likewise.
72006         (exp2_test): Likewise.
72007         (expm1_test): Likewise.
72008         (fma_test): Likewise.
72009         (j0_test): Likewise.
72010         (jn_test): Likewise.
72011         (nexttoward_test): Likewise.
72012         (pow_test): Likewise.
72013         (scalbn_test): Likewise.
72014         (scalbln_test): Likewise.
72015         (tan_test): Likewise.
72016         (y1_test): Likewise.
72017         * sysdeps/i386/fpu/libm-test-ulps: Update.
72018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72020 2012-05-23  David S. Miller  <davem@davemloft.net>
72022         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72023         (__libc_sigaction): Remove unused local variables.
72025 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72027         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
72029 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
72031         mktime: avoid signed integer overflow
72032         * time/mktime.c (__mktime_internal): Do not mishandle the case
72033         where diff == INT_MIN.
72035         mktime: simplify computation of average
72036         * time/mktime.c (ranged_convert): Use new time_t_avg function
72037         instead of rolling our own (probably-slower) code.
72039         mktime: do not assume signed right shift propagates sign bit
72040         * time/mktime.c (isdst_differ): New static function.
72041         (__mktime_internal): No need to normalize tm_isdst now.
72042         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
72043         tm_isdst values.
72045         mktime: merge another wrapv change from gnulib
72046         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
72047         from some compilers.
72049         mktime: remove incorrect attempt at unusual arithmetics
72050         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72051         The code didn't really work on such machines anyway.
72052         (TYPE_MINIMUM): Assume two's complement.
72053         (twos_complement_arithmetic): Verify that long_int and time_t
72054         are two's complement (or unsigned, in the latter case).
72056         mktime: check signed shifts on long_int and time_t, too
72057         * time/mktime.c (SHR): Check that shifts work as desired
72058         on the types long_int and time_t too, as SHR is used on
72059         such types.
72061         mktime: do not assume 'long' is wide enough
72062         * time/mktime.c (verify): Move decl up.
72063         (long_int): New type.
72064         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72065         to remove assumption in the code that 'long' is wide enough to
72066         store year values.  This assumption is not true on x32 and on
72067         some non-glibc platforms.
72069         mktime: merge wrapv change from gnulib
72070         * time/mktime.c (WRAPV): New macro.
72071         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72072         (guess_time_tm, __mktime_internal): Do not assume that signed
72073         integer overflow wraps around; modern compilers generate code
72074         where this assumption is no longer valid.
72076 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72078         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72079         Replace "jmp L(pseudo_end)" with "ret".
72080         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72081         Likewise.
72083 2012-05-23  Andreas Jaeger  <aj@suse.de>
72085         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72086         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72088 2012-05-23  Andreas Jaeger  <aj@suse.de>
72089             Maximilian Attems  <max@stro.at>
72091         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72092         New macros.
72094 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72096         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72097         code so that pseudo_end is just ret and the stack pointer is
72098         correct also for static library in error case.
72100 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72102         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72103         move to syscalls.list.
72104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72109         * manual/install.texi (Running make install): Do not mention Linux
72110         kernel version for which pt_chown is not needed.
72111         (Linux): Do not mention problems with nscd with 2.0 kernels.
72112         * INSTALL: Regenerated.
72114 2012-05-23  Andreas Jaeger  <aj@suse.de>
72116         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72117         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72118         macro.
72119         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72120         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72121         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72122         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72123         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72125         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72127         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72128         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72129         * sysdeps/unix/sysv/linux/bits/in.h
72130         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72132 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72134         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72135         (PREPARE_VERSION): Just use assert instead, it will be elided
72136         under [NDEBUG] anyway.
72138 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72140         * sysdeps/unix/sysv/linux/Makefile: Include
72141         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72142         (sysdep_routines): Remove sysctl.
72143         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72144         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72145         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72146         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72147         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72149 2012-05-22  Andreas Jaeger  <aj@suse.de>
72151         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72152         that pseudo_end is just ret and the stack pointer is correct also
72153         for static library in error case.
72155 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72157         [BZ #14122]
72158         * nss/nsswitch.c (defconfig_entries): New variable.
72159         (__nss_database_lookup): Don't leak defconfig entries.
72160         (nss_parse_service_list): Don't leak on error paths.
72161         (free_database_entries): New function.
72162         (free_defconfig): New function.
72163         (free_mem): Move common code to free_database_entries.
72165 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72167         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72168         Add arch_prctl.
72169         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72171         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72172         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72174         New macro.
72175         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72176         (INTERNAL_SYSCALL_TYPES): Likewise.
72177         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72178         (LOAD_REGS_TYPES_[1-6]): Likewise.
72179         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72180         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72182 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72184         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72185         copysignl for GLIBC_2_0.
72186         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72187         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72188         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72189         logbl for GLIBC_2_0.
72190         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72191         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72193 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72195         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72196         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72198         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72199         Use "neg %eax".
72201         * time/mktime.c: Update copyright years.
72203 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72205         mktime: merge comment-quoting-style change from gnulib
72206         * time/mktime.c: Quote 'like this' in comments.
72207         The GNU coding standards suggest that we no longer quote `like this',
72208         as "`" and "'" are typically rendered asymmetrically nowadays.
72209         The typical gnulib style is to quote 'like this' when quoting
72210         code, and "like this" when quoting English.
72212         * time/mktime.c (compile-command): Add "-I.".
72214         mktime: merge mktime-internal.h change from gnulib
72215         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72217         mktime: merge time_r change from gnulib
72218         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72220         mktime: merge DEBUG change from gnulib
72221         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72222         case system <time.h> has a #define.
72224         mktime: merge <sys/types.h> change from gnulib
72225         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72226         since <time.t> is now guaranteed to define time_t.
72228         mktime: merge HAVE_CONFIG_H change from gnulib
72229         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72231 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72234         Use "neg %eax".
72236         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72237         __rlim_t cast.
72238         (struct rusage): Use anonymous union to pad each field to
72239         __syscall_slong_t.
72241 2012-05-21  David S. Miller  <davem@davemloft.net>
72243         * Makefules (o-iterator): Remove .s cases.
72244         (compile-command.s): Delete.
72245         (COMPILE.s): Delete.
72246         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72248 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72250         * configure.in (libc_cv_predef_stack_protector): Only consider
72251         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72252         * configure: Regenerated.
72254 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72256         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72257         New macro.  Use R*LP on int and pointer.
72258         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72259         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72260         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72261         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72263         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72264         [__WORDSIZE_TIME64_COMPAT32] instead of
72265         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72266         (struct utmp): Likewise.
72267         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72268         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72269         Renamed to ...
72270         (__WORDSIZE_TIME64_COMPAT32): This.
72271         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72272         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72273         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72274         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72275         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72276         (__WORDSIZE_TIME64_COMPAT32): New macro.
72278 2012-05-21  Andreas Jaeger  <aj@suse.de>
72280         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72281         only if [SHARED]. Add prototype for __wcschr_ia32.
72283 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72285         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72286         of %rbp unmolested in the jmp_buf while mangling the low bits.
72287         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72288         unmolested high bits of %rbp while demangling the low bits.
72289         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72291 2012-05-21  Andreas Jaeger  <aj@suse.de>
72293         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72294         * sunrpc/svc_simple.c: Use it for registerrpc.
72295         * sunrpc/xcrypt.c: Use it for passwd2des.
72297         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72299 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72301         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72302         Don't define if [__SYSCALL_WORDSIZE != 32].
72303         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72304         New macro.
72306 2012-05-21  Bruno Haible  <bruno@clisp.org>
72307             Andreas Jaeger  <aj@suse.de>
72309         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72310         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72311         inptr and inend for must_buffer_ch.
72312         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72313         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72314         * stdio-common/Makefile (tests): Remove bug15.
72315         (bug15-ENV): Remove macro.
72316         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72317         anymore.
72319 2012-05-19  Andreas Jaeger  <aj@suse.de>
72320             Roland McGrath  <roland@hack.frob.com>
72322         * manual/contrib.texi: Completely rewritten. It contains now an
72323         alphabetical list of contributors and their contributions.
72325 2012-05-21  Richard Henderson  <rth@twiddle.net>
72327         * misc/getauxval.c (__getauxval): Use unsigned long int.
72328         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72329         (getauxval): Use unsigned long int.
72331 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72333         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72335 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72337         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72338         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72339         __alignof__ (long double).
72341 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72345 2012-05-20  Richard Henderson  <rth@twiddle.net>
72347         * misc/getauxval.c: New file.
72348         * misc/sys/auxv.h: New file.
72349         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72350         (routines): Add getauxval.
72351         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72352         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72353         * elf/dl-sysdep.c (_dl_auxv): Remove.
72354         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72355         * elf/dl-support.c (_dl_auxv): New variable.
72356         (_dl_aux_init): Initialize it.
72357         * manual/startup.texi (Auxiliary Vector): New node.
72358         * sysdeps/generic/bits/hwcap.h: New file.
72359         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72360         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
72361         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72362         * sysdeps/sparc/sysdep.h: ... here.  Include it.
72363         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72364         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72366         Update.
72367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
72368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
72369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
72370         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
72371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
72374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
72376 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72380 2012-05-19  David S. Miller  <davem@davemloft.net>
72382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72384 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72386         [BZ #14123]
72387         * math/s_ccosh.c: Include <float.h>
72388         (__ccosh): Avoid internal overflow calculating sinh and cosh
72389         values before multiplying by sin and cos values.
72390         * math/s_ccoshf.c: Likewise.
72391         * math/s_ccoshl.c: Likewise.
72392         * math/s_csin.c: Likewise.
72393         * math/s_csinf.c: Likewise.
72394         * math/s_csinl.c: Likewise.
72395         * math/s_csinh.c: Likewise.
72396         * math/s_csinhf.c: Likewise.
72397         * math/s_csinhl.c: Likewise.
72398         * math/libm-test.inc (ccos_test): Add more tests.
72399         (ccosh_test): Likewise.
72400         (csin_test): Likewise.
72401         (csinh_test): Likewise.
72402         * sysdeps/i386/fpu/libm-test-ulps: Update.
72403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72405 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
72407         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
72408         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
72410         * sysdeps/x86_64/x32/_itoa.h: Add comment.
72412 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72414         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
72415         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
72416         * sysdeps/powerpc/soft-fp/Versions: Likewise.
72417         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
72418         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
72419         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
72420         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
72421         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
72422         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
72423         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
72424         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
72425         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
72426         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
72427         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
72428         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
72429         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
72430         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
72431         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
72432         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
72433         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
72434         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
72435         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
72436         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
72437         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
72438         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
72439         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
72440         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
72441         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
72442         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
72443         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
72444         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
72446 2012-05-18  Andreas Jaeger  <aj@suse.de>
72448         * csu/.gitignore: Delete.
72450 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72452         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
72453         (timex): Use __syscall_slong_t.
72455 2012-05-18  Andreas Jaeger  <aj@suse.de>
72456             Carlos O'Donell  <carlos_odonell@mentor.com>
72458         * manual/install.texi (Configuring and compiling): Update
72459         description about files modified in the source directory.
72460         * INSTALL: Regenerated.
72462 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72464         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
72465         value.  Use "or" to set return value to -1.
72466         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
72467         negate return value.
72469 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72471         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
72472         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
72473         failure if the compiler has Graphite support disabled.
72474         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
72475         Likewise.
72476         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
72477         (CFLAGS-memmove.c): Likewise.
72478         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
72479         Likewise.
72481 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72483         * sysdeps/x86_64/x32/_itoa.h: New file.
72485         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
72486         getdents system call only if kernel and user dirents have the
72487         same d_ino and d_off.
72489         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72490         LLONG_MAX != LONG_MAX.
72491         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72492         (_fitoa_word): Likewise.
72494         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
72495         years.
72496         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
72497         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
72498         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
72500         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
72501         include <bits/wordsize.h>.  Check __x86_64__ instead of
72502         __WORDSIZE.
72503         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
72504         if __x86_64__ is defined.  Use anonymous union on fpstate.
72506         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
72507         anonymous union.
72509 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
72511         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
72512         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
72513         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
72514         Refer to _rtld_local_ro instead of _rtld_global_ro.
72515         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
72516         Likewise.
72517         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
72518         Likewise.
72519         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
72520         Likewise.
72521         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
72522         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
72523         of _rtld_global, and rtld_progname instead of _dl_argv[0].
72525         [BZ #10882]
72526         * sysdeps/powerpc/powerpc32/dl-machine.c
72527         (__elf_machine_runtime_setup) [PROF]: Don't reference
72528         _dl_prof_resolve.
72530 2012-05-18  Andreas Jaeger  <aj@suse.de>
72532         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
72533         function only available for GCCs before 3.4 since GCC 3.4
72534         introduced a builtin.
72535         (lrint): Likewise.
72536         (llrintf): Likewise.
72537         (llrint): Likewise.
72538         (fmaxf): Likewise.
72539         (fmax): Likewise.
72540         (fminf): Likewise.
72541         (fmin): Likewise.
72542         (rint): Likewise.
72543         (rintf): Likewise.
72544         (nearbyint): Likewise.
72545         (nearbyintf): Likewise.
72546         (ceil): Likewise.
72547         (ceilf): Likewise.
72548         (floor): Likewise.
72549         (floorf): Likewise.
72551 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72553         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
72554         on both fields and cast pointer to __syscall_ulong_t.
72556         * bits/types.h (__fsword_t): New type.
72557         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
72558         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
72559         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72560         (__FSWORD_T_TYPE): Likewise.
72561         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72562         (__FSWORD_T_TYPE): Likewise.
72563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72564         (__FSWORD_T_TYPE): Likewise.
72565         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
72566         (__FSWORD_T_TYPE): Likewise.
72567         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
72568         __SWORD_TYPE with __fsword_t.
72569         (statfs64): Likewise.
72571 2012-05-17  David S. Miller  <davem@davemloft.net>
72573         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
72575 2012-05-17  Andreas Jaeger  <aj@suse.de>
72577         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
72578         warning.
72580 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72582         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
72584 2012-05-17  Andreas Jaeger  <aj@suse.de>
72586         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
72587         when it is used.
72589 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
72591         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
72593 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72595         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
72596         * sysdeps/x86_64/tst-mallocalign1.c: New file.
72598 2012-05-17  Andreas Jaeger  <aj@suse.de>
72599             Carlos O'Donell  <carlos_odonell@mentor.com>
72601         [BZ #14059]
72602         * sysdeps/x86_64/multiarch/init-arch.h
72603         (bit_YMM_Usable): Rename to...
72604         (bit_AVX_Usable): ... this.
72605         (bit_FMA4_Usable): New macro.
72606         (bit_XMM_state): New macro.
72607         (bit_YMM_state): New macro.
72608         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
72609         [__ASSEMBLER__] (index_AVX_Usable): ... this.
72610         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
72611         (CPUID_OSXSAVE): New macro.
72612         (CPUID_AVX): New macro.
72613         (CPUID_FMA4): New macro.
72614         (index_YMM_Usable): Rename to...
72615         (index_AVX_Usable): ... this.
72616         (HAS_AVX): Use HAS_ARCH_FEATURE.
72617         (HAS_FMA4): Likewise.
72618         (HAS_YMM_USABLE): Remove.
72619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72620         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
72621         are present.
72622         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
72623         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
72624         * sysdeps/x86_64/multiarch/Makefile: Likewise.
72625         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
72626         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
72628 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
72630         * math/libm-test.c: Support platforms without multiple rounding modes.
72631         * math/bug-nextafter.c: Support platforms without FP exceptions.
72632         * math/bug-nexttoward.c: Likewise.
72633         * math/test-fenv.c: Likewise.
72634         * math/test-misc.c: Likewise.
72635         * stdlib/bug-getcontext.c: Likewise.
72637 2012-05-17  Andreas Jaeger  <aj@suse.de>
72639         * manual/examples/search.c (critter_cmp): Change signature to
72640         avoid warnings.
72641         * manual/string.texi (Collation Functions): Likewise.
72643 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72645         * bits/types.h: Fold copyright years.
72646         * bits/typesizes.h: Likewise.
72647         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
72648         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
72649         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
72650         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
72651         * time/time.h: Likewise.
72653 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
72655         [BZ #208]
72656         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
72657         in instead of returning them.  Return void.
72658         (__libc_mallinfo): Accumulate over all arenas.
72659         (__malloc_stats): Adjust for change in int_mallinfo interface.
72661 2012-05-16  Roland McGrath  <roland@hack.frob.com>
72663         [BZ #10375]
72664         * configure.in (NM): Add AC_CHECK_TOOL for it.
72665         (libc_extra_cflags): New substituted variable.
72666         Check for -fstack-protector being used implicitly.
72667         * configure: Regenerated.
72668         * config.make.in (config-extra-cflags): New variable,
72669         gets @libc_extra_cflags@.
72670         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
72672         [BZ #10375]
72673         * configure.in: Check for _FORTIFY_SOURCE being predefined.
72674         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
72675         * configure: Regenerated.
72676         * config.make.in (CPPUNDEFS): New substituted variable.
72677         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
72678         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
72679         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
72681 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72683         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
72684         (mq_attr): Use __syscall_slong_t.
72686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72688         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
72689         Check __x86_64__ instead of __WORDSIZE.
72690         (_STAT_VER_LINUX): Likewise.
72691         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
72692         __syscall_ulong_t and __syscall_slong_t.
72693         (stat64): Likewise.
72695 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72697         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
72699 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72701         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
72703 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72705         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
72706         __syscall_ulong_t.
72708         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
72709         include <bits/wordsize.h>.  Check __x86_64__ instead of
72710         __WORDSIZE.
72711         (greg_t): Use "__extension__ long long int" if __x86_64__ is
72712         defined.
72713         (mcontext_t): Replace "unsigned long" with "unsigned long long".
72715         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
72716         include <bits/wordsize.h>.  Check __x86_64__ instead of
72717         __WORDSIZE.
72718         (user_regs_struct): Use "__extension__ unsigned long long"
72719         instead of "unsigned long" if __x86_64__ is defined.
72720         (user): Likewise.  Pad after pointer field if __ILP32__ is
72721         defined.
72723 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
72725         * configure.in (makeinfo): Require version 4.5 or later.  Allow
72726         versions 5 to 9.
72727         * configure: Regenerated.
72728         * manual/install.texi (texinfo): Increase version requirement to
72729         4.5 or later.
72730         * INSTALL: Regenerated.
72732         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
72734 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72736         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
72738         * sysdeps/x86_64/x32/ffs.c: New file.
72740         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
72741         __syscall_ulong_t.
72742         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
72743         defined.  Use __syscall_ulong_t.
72744         (shminfo): Use __syscall_ulong_t.
72745         (shm_info): Likewise.
72747         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
72748         __syscall_ulong_t.
72750         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
72751         <bits/wordsize.h>.
72752         (msgqnum_t): Use __syscall_ulong_t.
72753         (msglen_t): Likewise.
72754         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
72755         __syscall_ulong_t.
72757         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
72758         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72760         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
72762         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
72763         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
72765         * sysvipc/sys/msg.h (msgbuf): Replace long int with
72766         __syscall_slong_t.
72768         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
72769         include <bits/wordsize.h>.  Check __x86_64__ instead of
72770         __WORDSIZE.
72772         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
72773         "unsigned long long int" if __x86_64__ is defined.
72774         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
72776         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
72777         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72778         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
72780         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
72781         <stdint.h>.
72782         (GET_PC): Cast to uintptr_t first.
72783         (GET_FRAME): Likewise.
72784         (GET_STACK): Likewise.
72786         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
72787         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
72788         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
72789         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
72790         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
72791         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
72792         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
72793         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
72794         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
72795         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
72796         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
72797         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
72798         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72799         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
72800         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
72801         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
72802         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
72803         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
72804         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
72805         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
72806         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
72807         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
72808         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
72809         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
72810         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
72811         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
72812         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
72813         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
72814         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
72816 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
72818         * Makerules (+depfiles): Also collect depfiles from .oS in
72819         $(extra-objs).
72820         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
72821         .oS, $(libnldbl-routines)).
72823         * Makerules (native-compile-mkdep-flags): Define.
72824         * sunrpc/Makefile (extra-objs): Add $(addprefix
72825         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
72826         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
72827         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
72828         calling $(make-target-directory).
72830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72832         * bits/types.h (__snseconds_t): Removed.
72833         * time/time.h (struct timespec): Replace __snseconds_t with
72834         __syscall_slong_t.
72835         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
72836         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
72837         Likewise.
72838         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72839         (__SNSECONDS_T_TYPE): Likewise.
72840         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72841         (__SNSECONDS_T_TYPE): Likewise.
72842         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72843         (__SNSECONDS_T_TYPE): Likewise.
72845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72847         * sysdeps/mach/hurd/bits/typesizes.h
72848         (__SYSCALL_SLONG_TYPE): New macro.
72849         (__SYSCALL_ULONG_TYPE): Likewise.
72851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72853         * bits/types.h (__syscall_slong_t): New type.
72854         (__syscall_ulong_t): Likewise.
72856         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
72857         (__SYSCALL_ULONG_TYPE): Likewise.
72858         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72859         (__SYSCALL_SLONG_TYPE): Likewise.
72860         (__SYSCALL_ULONG_TYPE): Likewise.
72861         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72862         (__SYSCALL_SLONG_TYPE): Likewise.
72863         (__SYSCALL_ULONG_TYPE): Likewise.
72864         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72865         (__SYSCALL_SLONG_TYPE): Likewise.
72866         (__SYSCALL_ULONG_TYPE): Likewise.
72868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72870         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
72871         Add sigaltstack-offsets.sym.
72872         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
72873         <sigaltstack-offsets.h>.
72874         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
72875         longjmp_msg pointer.
72876         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
72877         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
72878         signal stack.
72879         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
72881 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
72883         * elf/stackguard-macros.h: Remove file.
72884         * sysdeps/generic/stackguard-macros.h: New file.
72885         * sysdeps/i386/stackguard-macros.h: Likewise.
72886         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
72887         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
72888         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
72889         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
72890         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
72891         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
72892         * sysdeps/x86_64/stackguard-macros.h: Likewise.
72893         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
72894         <elf/stackguard-macros.h>.
72896         [BZ #14109]
72897         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
72898         __aligned__ in attribute.
72899         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
72900         (gregset_t): Likewise.
72902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72904         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
72905         * sysdeps/x86_64/64/Implies-after: Here.  New file.
72906         * sysdeps/x86_64/x32/Implies-after: New file.
72908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72910         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
72911         and access return value for _dl_profile_fixup.  Use R10_LP to
72912         load frame size.
72914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72916         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
72918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72920         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
72921         * sysdeps/x86_64/x32/sysdep.h: New file.
72923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72925         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
72926         * sysdeps/x86_64/setjmp.S: Likewise.
72928 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72930         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
72931         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
72932         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
72933         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
72934         remove unused global constant.
72936 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
72938         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
72939         include of <not-cancel.h>.
72941 2012-05-15  Roland McGrath  <roland@hack.frob.com>
72943         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
72945 2012-05-15  Jeff Law  <law@redhat.com>
72946             Andreas Jaeger  <aj@suse.de>
72948         [BZ #13594]
72949         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
72950         out from...
72951         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
72952         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
72953         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
72954         code changing __hst_map_handle.map.
72956 2012-05-15  Roland McGrath  <roland@hack.frob.com>
72958         * configure.in (sysnames): Look for Implies-before and Implies-after
72959         files.
72960         * configure: Regenerated.
72962 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72964         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
72965         8-byte data alignment with LP_SIZE alignment.
72967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72969         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
72970         into R10_LP.
72972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72974         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
72976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72978         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
72979         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
72980         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
72981         Likewise.
72982         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72986         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
72987         (stackinfo_sub_sp): Likewise.
72989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72991         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
72992         RAX_LP.
72994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72996         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
72997         into R*_LP.
72999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73001         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
73002         sizes into R*_LP.
73004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73006         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
73008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73010         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
73011         into R11_LP and load __x86_64_shared_cache_size_half into
73012         R8_LP.
73014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73016         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
73017         R8_LP.
73019 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
73022         logb for POWER7.
73023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
73024         logbf for POWER7.
73025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
73026         logbl for POWER7.
73027         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73028         powerpc32/power7/fpu/s_logb.c via #include.
73029         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
73030         powerpc32/power7/fpu/s_logbf.c via #include.
73031         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
73032         powerpc32/power7/fpu/s_logbl.c via #include.
73034 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73036         * README.libm: Remove file.
73038 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73040         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
73041         count for x32.  Use R*_LP and omit operand-size suffix.
73043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73045         * shlib-versions: Move x86_64-.*-linux.* entries to ...
73046         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
73047         * sysdeps/x86_64/x32/shlib-versions: New file.
73049 2012-05-14  Roland McGrath  <roland@hack.frob.com>
73051         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73052         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73053         Use _dl_fatal_printf instead.
73055 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73057         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73058         set if not set by the user.  Do not allow for being unset.
73059         * sysdeps/unix/sysv/linux/configure: Regenerated.
73061 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73063         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73064         the `q' suffix from lea and replace .quad with ASM_ADDR.
73066 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73069         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73070         instead of $17.
73071         (PTR_DEMANGLE): Likewise.
73073 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73075         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73076         (LP_OP): Likewise.
73077         (ASM_ADDR): Likewise.
73078         (RAX_LP): Likewise.
73079         (RBP_LP): Likewise.
73080         (RBX_LP): Likewise.
73081         (RCX_LP): Likewise.
73082         (RDI_LP): Likewise.
73083         (RSI_LP): Likewise.
73084         (RSP_LP): Likewise.
73085         (R8_LP): Likewise.
73086         (R9_LP): Likewise.
73087         (R10_LP): Likewise.
73088         (R10_LP): Likewise.
73089         (R11_LP): Likewise.
73090         (R12_LP): Likewise.
73091         (R13_LP): Likewise.
73092         (R14_LP): Likewise.
73093         (R15_LP): Likewise.
73095 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73097         * sysdeps/x86_64/x32/dl-machine.h: New file.
73099 2012-05-14  Andreas Jaeger  <aj@suse.de>
73101         * manual/Makefile (subdir): Remove export of subdir.
73102         (all): Remove target.
73103         (.PHONY): Remove all from list.
73104         (mkinstalldirs): Remove.
73105         (.PHONY): Remove installdirs from list.
73106         ($(inst_infodir)/libc.info): Use make-target-directory.
73107         (installdirs): Remove.
73108         (subdir_%): Remove.
73109         (glibc-targets): Remove.
73110         (lib): Remove.
73111         (stubs): Remove.
73112         ($(objpfx)stubs ../po/manual.pot): Remove.
73113         ($(objpfx)stamp%): Remove.
73114         (make-target-directory): Remove.
73115         (subdir_install): Remove.
73116         (routines): Remove.
73117         (aux): Remove.
73118         (sources): Remove.
73119         (objects): Remove.
73120         (headers): Remove.
73122         [BZ #13750]
73123         * manual/.gitignore: Remove, it's not needed anymore.
73124         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73125         all files in it.
73126         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73127         directory.
73128         (texis): Renamed to $(objpfx)texis.
73129         (texis-path): New, contains path to generated files.
73130         (chapters.%): Use texis-path for complete path, add extra argument
73131         libc-texinfo.sh.
73132         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73133         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73134         (summary,texi, stamp-summary): Use complete path of
73135         files. Generate files in build dir.
73136         (dir-add.texi): Build in build dir.
73137         (libm-err.texi,stamp-libm-err): Likewise.
73138         (version.texi, stamp-version): Likewise.
73139         (.%c.texi): Likewise.
73140         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73141         (mostlyclean): Remove target.
73142         (realclean): Remove target.
73143         (generated): Add new variable with contents from mostlyclean and
73144         realclean, remove entries duplicated in common-mostlyclean, add
73145         stamp-libm-err and stamp-version.
73146         (generated-dirs): Add libc directory.
73147         ($(inst_infodir)/libc.info): Install files from build dir.
73149         * manual/install.texi (Configuring and compiling): Adjust since
73150         the info files are not part of the tar ball anymore.
73152 2012-05-14  Andreas Jaeger  <aj@suse.de>
73154         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73155         variable.
73157 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73159         [BZ #13717]
73160         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73161         to 2.2.0 where earlier.
73162         * sysdeps/unix/sysv/linux/configure: Regenerated.
73163         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73164         Remove conditional code.
73165         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73166         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73167         Remove conditional code.
73168         [!__NR_lchown]: Likewise.
73169         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73170         [__NR_lchown]: Likewise.
73171         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73172         comment referencing __ASSUME_LCHOWN_SYSCALL.
73173         * sysdeps/unix/sysv/linux/i386/sigaction.c
73174         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73175         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73176         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73177         Remove conditional code.
73178         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73179         (__protocol_available): Remove #if 0 code.
73180         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73181         conditional code.
73182         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73183         * sysdeps/unix/sysv/linux/kernel-features.h
73184         (__ASSUME_GETCWD_SYSCALL): Don't define.
73185         (__ASSUME_REALTIME_SIGNALS): Likewise.
73186         (__ASSUME_PREAD_SYSCALL): Likewise.
73187         (__ASSUME_PWRITE_SYSCALL): Likewise.
73188         (__ASSUME_POLL_SYSCALL): Likewise.
73189         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73190         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73191         non-SPARC.
73192         (__ASSUME_SIOCGIFNAME): Don't define.
73193         (__ASSUME_MSG_NOSIGNAL): Likewise.
73194         (__ASSUME_SENDFILE): Define unconditionally.
73195         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73196         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73197         conditional code.
73198         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73199         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73200         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73201         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73202         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73203         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73204         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73206         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73209         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73210         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73212         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73215         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73218         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73221         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73222         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73224         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73227         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73229         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73230         Remove conditional code.
73231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73232         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73233         Remove conditional code.
73234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73235         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73236         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73237         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73238         Remove conditional code.
73239         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73240         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73241         Remove conditional code.
73242         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73243         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73244         Remove conditional code.
73245         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73246         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73247         Remove conditional code.
73248         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73249         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73250         Remove conditional code.
73251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73252         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73253         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73254         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73255         * sysdeps/unix/sysv/linux/sigaction.c
73256         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73257         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73258         * sysdeps/unix/sysv/linux/sigpending.c
73259         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73260         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73261         * sysdeps/unix/sysv/linux/sigprocmask.c
73262         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73263         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73264         * sysdeps/unix/sysv/linux/sigsuspend.c
73265         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73266         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73267         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73268         (__libc_missing_rt_sigs): Remove.
73269         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73270         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73271         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73272         Remove conditional code.
73273         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73274         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73275         return 1.
73276         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73277         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73278         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73279         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73281 2012-05-14  Andreas Jaeger  <aj@suse.de>
73283         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73284         it's not used in glibc.
73285         (__coshm1): Likewise.
73286         (__acosh1p): Likewise.
73287         (__sgn): Likewise.
73289         * manual/string.texi (Copying and Concatenation): Add missing
73290         variable in concat example.
73291         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73293 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73295         [BZ #14103]
73296         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73297         __builtin_clzl with __builtin_clzll.
73299 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73301         [BZ #14104]
73302         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73303         libc_freeres_ptr.
73305 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73307         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73308         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73309         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73310         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73312 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73314         * NEWS: Update ia64 info.
73316 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73318         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73319         used as bcopy.
73321 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73323         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73324         * sysdeps/unix/syscalls.list (dup3): Likewise.
73325         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73326         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73328 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73330         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73331         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73333 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73335         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73336         thread pointer.
73337         (TLS_IE): Use mov/add instead of movq/addq to load thread
73338         pointer.
73339         (TLS_GD_PREFIX): New.
73340         (TLS_GD): Use it.
73342 2012-05-11  David S. Miller  <davem@davemloft.net>
73344         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73345         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73346         (_FPU_SETCW): Likewise.
73348 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73350         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73351         is 32-byte aligned.
73353 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
73355         [BZ #11837]
73356         * iconvdata/gb18030.c: Update tables.
73357         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
73358         characters specially.
73359         (BODY for TO_LOOP): Add encoding of missing ranges.
73361 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
73363         [BZ #13673]
73364         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73365         * sysdeps/mach/hurd/dup3.c: Likewise.
73366         * sysdeps/mach/hurd/readlinkat.c: Likewise.
73367         * sysdeps/powerpc/memmove.c:: Likewise.
73369 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73371         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
73372         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
73374 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73376         * elf/elf.h (R_X86_64_RELATIVE64): New.
73377         (R_X86_64_NUM): Updated.
73378         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
73379         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
73380         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
73381         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
73382         tst-quad1pie tst-quad2pie
73383         (modules-names): Add tst-quadmod1 tst-quadmod2.
73384         ($(objpfx)tst-quad1): New dependency.
73385         ($(objpfx)tst-quad2): Likewise.
73386         ($(objpfx)tst-quad1pie): Likewise.
73387         ($(objpfx)tst-quad2pie): Likewise.
73388         * sysdeps/x86_64/tst-quad1.c: New file.
73389         * sysdeps/x86_64/tst-quad1pie.c: New file.
73390         * sysdeps/x86_64/tst-quad2.c: Likewise.
73391         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
73392         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
73393         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
73394         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
73395         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
73397 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73399         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
73400         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
73401         * streams/stropts.h (t_scalar_t): Define type.
73403         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
73404         (_PATH_PRESERVE): Set to "/var/lib".
73405         (_PATH_RWHODIR): Set to "/var/spool/rwho".
73407         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
73408         instead of int.
73410         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
73411         if __dir_mkfile succeeded.
73413         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
73414         checking for _hurd_dtablesize.  Unlock it right after having
73415         finished _hurd_dtable allocation.
73417 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73419         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
73420         * sysdeps/mach/hurd/configure: Regenerated.
73421         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
73422         special-casing to...
73423         * sysdeps/gnu/configure.in: ... this new file.
73424         * sysdeps/unix/sysv/linux/configure: Regenerated.
73425         * sysdeps/gnu/configure: New generated file.
73427         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
73428         for Linux: use nsec instead of usec, as well as:
73429         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
73430         members of type struct timespec.
73431         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
73432         New macros.
73433         (struct stat64): Likewise.
73434         (_STATBUF_ST_NSEC): New macro.
73435         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
73437         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73438         __strtoul_internal rather than strtoul.
73440 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73442         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
73443         and reject them.
73445 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73447         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
73448         which preserves existing values.
73449         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
73451 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73453         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
73454         TIMEOUT values.  Return EINVAL for NFDS values either negative or
73455         greater than FD_SETSIZE.
73457 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73459         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
73460         allocated, call __vm_protect to finish enabling the existing space, and
73461         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
73462         allocate the remainder.
73464 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73466         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
73467         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
73469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73471         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
73472         sysdeps/mach/hurd/readlink.c.
73474         * posix/tst-sysconf.c (posix_options): Only use
73475         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
73476         _POSIX_SYNCHRONIZED_IO when they are defined
73477         * sysdeps/mach/hurd/bits/posix_opt.h:
73478         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
73479         (_XOPEN_REALTIME): Undefine macro.
73480         (_XOPEN_REALTIME_THREADS): Undefine macro.
73481         (_XOPEN_SHM): Undefine macro.
73482         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
73483         macro to -1.
73484         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
73485         macro to -1.
73486         (_POSIX_ASYNC_IO): Undefine macro.
73487         (_POSIX_PRIORITIZED_IO): Undefine macro.
73488         (_POSIX_SPIN_LOCKS): Define macro to -1.
73490         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
73491         SA_NODEFER, SA_RESETHAND.
73492         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
73493         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
73494         F_DUPFD_CLOEXEC.
73496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73498         * elf/Makefile (pldd-modules): Define unconditionally.
73500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73502         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
73504 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73506         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
73507         Return ENOENT when name is empty.
73508         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
73510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73512         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
73514         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
73516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73518         Fix mlock in all cases except non-readable pages.
73519         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
73520         instead of VM_PROT_ALL as parameter to __vm_wire function.
73522         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
73523         (__mkdir): When path is `/', just fail with EEXIST.
73524         * sysdeps/mach/hurd/mkdirat.c: Likewise.
73526 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73528         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
73529         <sys/uio.h> (for writev).
73530         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
73531         and <sys/param.h> (for MIN).
73533 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73535         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
73536         REQUESTED_TIME.  Properly set the remaining time and return EINTR
73537         if interrupted.
73539 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73541         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
73542         Depend on against $(link-rpcuserlibs).
73544 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73546         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
73547         (__libc_stack_end): Do not use attribute_relro.
73548         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
73549         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
73550         to libthread-provided value.
73551         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
73552         attribute_relro.
73554 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73556         [BZ #3748]
73557         * bits/libc-lock.h (__libc_once_get): New macro.
73558         * sysdeps/mach/bits/libc-lock.h: Likewise.
73559         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
73560         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
73561         instead of using implementation details.
73563         * libio/fileops.c: Unconditionally include <kernel-features.h>.
73564         * libio/freopen.c: Likewise.
73565         * libio/freopen64.c: Likewise.
73566         * misc/syslog.c: Likewise.
73567         * nscd/connections.c: Likewise.
73568         * nscd/netgroupcache.c: Likewise.
73569         * sysdeps/posix/getcwd.c: Likewise.
73571 2012-05-10  Roland McGrath  <roland@hack.frob.com>
73573         * math/w_ilogbf.c: Add #include <limits.h>.
73575 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73577         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
73578         path instead of returning without unlocking.
73580         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
73581         immediate-write ioctls.
73582         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
73584 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73586         * sysdeps/mach/hurd/i386/init-first.c (init): Use
73587         __builtin_frame_address instead of making assumptions about the
73588         location of the return address relative to DATA.  Force early load of
73589         the return address.
73590         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
73591         __builtin_frame_address.
73593         dup3 for GNU Hurd.
73594         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
73595         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
73596         implement dup3 and do some further code clean-ups.
73597         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
73598         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
73600 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73602         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
73604         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
73605         HURD_CRITICAL_END around holding _hurd_dtable_lock.
73606         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
73607         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
73608         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
73609         d->port.lock.
73611         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
73612         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
73613         when handler == SIG_ERR, not when handler != SIG_ERR.
73615 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73617         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
73618         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
73619         definitions.
73621         accept4 for GNU Hurd.
73622         * include/sys/socket.h (__libc_accept4): New prototype.
73623         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
73624         to implement __libc_accept4.
73625         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
73626         __libc_accept4.
73627         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
73629         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
73630         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
73631         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
73632         signal-defines.sym.
73634 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73636         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
73638 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73640         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
73641         assertion on O_CLOEXEC flag.
73642         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
73643         * hurd/intern-fd.c: Likewise.
73644         * hurd/port2fd.c: Likewise.
73646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73648         [BZ #3906]
73649         * bits/in.h (IPV6_PKTINFO): Define new macro.
73650         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
73652 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73654         [BZ #13954]
73655         [BZ #13955]
73656         [BZ #13956]
73657         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
73658         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73659         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
73660         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73661         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73662         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73663         * math/libm-test.inc (logb_test) : Additional logb tests.
73665 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
73666             Andreas Jaeger  <aj@suse.de>
73668         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
73669         * configure: Regenerated.
73670         * config.h.in (LINK_OBSOLETE_RPC): New macro.
73671         * config.make.in (link-obsolete-rpc): New substituted variable.
73672         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
73673         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
73674         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
73675         (shared-only-routines): Don't set it under [link-obsolete-rpc],
73676         so that libc.a contains the symbols.
73677         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
73678         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
73679         * sunrpc/auth_none.c: Likewise.
73680         * sunrpc/auth_unix.c: Likewise.
73681         * sunrpc/authdes_prot.c: Likewise.
73682         * sunrpc/authuxprot.c: Likewise.
73683         * sunrpc/clnt_gen.c: Likewise.
73684         * sunrpc/clnt_perr.c: Likewise.
73685         * sunrpc/clnt_raw.c: Likewise.
73686         * sunrpc/clnt_simp.c: Likewise.
73687         * sunrpc/clnt_tcp.c: Likewise.
73688         * sunrpc/clnt_udp.c: Likewise.
73689         * sunrpc/clnt_unix.c: Likewise.
73690         * sunrpc/des_crypt.c: Likewise.
73691         * sunrpc/des_soft.c: Likewise.
73692         * sunrpc/get_myaddr.c: Likewise.
73693         * sunrpc/key_call.c: Likewise.
73694         * sunrpc/key_prot.c: Likewise.
73695         * sunrpc/netname.c: Likewise.
73696         * sunrpc/pm_getmaps.c: Likewise.
73697         * sunrpc/pm_getport.c: Likewise.
73698         * sunrpc/pmap_clnt.c: Likewise.
73699         * sunrpc/pmap_prot.c: Likewise.
73700         * sunrpc/pmap_prot2.c: Likewise.
73701         * sunrpc/pmap_rmt.c: Likewise.
73702         * sunrpc/publickey.c: Likewise.
73703         * sunrpc/rpc_cmsg.c: Likewise.
73704         * sunrpc/rpc_common.c: Likewise.
73705         * sunrpc/rpc_dtable.c: Likewise.
73706         * sunrpc/rpc_prot.c: Likewise.
73707         * sunrpc/rpc_thread.c: Likewise.
73708         * sunrpc/rtime.c: Likewise.
73709         * sunrpc/svc.c: Likewise.
73710         * sunrpc/svc_auth.c: Likewise.
73711         * sunrpc/svc_raw.c: Likewise.
73712         * sunrpc/svc_run.c: Likewise.
73713         * sunrpc/svc_tcp.c: Likewise.
73714         * sunrpc/svc_udp.c: Likewise.
73715         * sunrpc/svc_unix.c: Likewise.
73716         * sunrpc/svcauth_des.c: Likewise.
73717         * sunrpc/xcrypt.c: Likewise.
73718         * sunrpc/xdr.c: Likewise.
73719         * sunrpc/xdr_array.c: Likewise.
73720         * sunrpc/xdr_float.c: Likewise.
73721         * sunrpc/xdr_intXX_t.c: Likewise.
73722         * sunrpc/xdr_mem.c: Likewise.
73723         * sunrpc/xdr_rec.c: Likewise.
73724         * sunrpc/xdr_ref.c: Likewise.
73725         * sunrpc/xdr_sizeof.c: Likewise.
73726         * sunrpc/xdr_stdio.c: Likewise.
73728 2012-05-10  Roland McGrath  <roland@hack.frob.com>
73730         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
73731         change.  Update copyright years.
73733 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
73735         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
73737 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
73738             Joseph Myers  <joseph@codesourcery.com>
73739             Paul Pluzhnikov  <ppluzhnikov@google.com>
73741         [BZ #14012]
73742         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
73743         requiring rpcgen.
73744         [cross-compiling] (extra-libs): Likewise.
73745         [cross-compiling] (extra-libs-others): Likewise.
73746         [cross-compiling] (librpcsvc-routines): Likewise.
73747         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
73748         [cross-compiling] (omit-deps): Likewise.
73749         (sunrpc-CPPFLAGS): New variable.
73750         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
73751         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
73752         (cross-rpcgen-objs): New variable.
73753         (extra-objs): Append $(cross-rpcgen-objs).
73754         ($(cross-rpcgen-objs)): New rule.
73755         ($(objpfx)cross-rpcgen): Likewise.
73756         (rpcgen-cmd): Define to use $(built-program-file).  Expand
73757         comment.
73758         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
73759         ($(objpfx)x%.stmp): Likewise.
73760         * sunrpc/proto.h [IS_IN_build] (_): Define.
73761         [IS_IN_build] (_libc_intl_domainname): Likewise.
73763 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73765         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
73766         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
73767         and R_X86_64_TPOFF64.
73769 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
73771         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
73772         sysdeps/unix/sysv/syscalls.list.
73773         (stime): Likewise.
73774         (utime): Likewise.
73775         * sysdeps/unix/sysv/syscalls.list: Remove file.
73777 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
73779         [BZ #3440]
73780         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
73781         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
73782         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
73783         (__LC_IDENTIFICATION): Make these macros useful in #if
73784         expressions, as required by C99.
73786 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
73788         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
73789         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
73790         after this.
73792 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
73794         * stdlib/longlong.h: Updated from GCC.
73796 2012-05-09  Andreas Jaeger  <aj@suse.de>
73798         * nscd/nscd.c (run_modes): Make named enum, reorder so that
73799         default is first entry.
73800         (run_mode): Set type.
73801         (main): Remove informal message about syslog.
73802         (options): Fix typo.
73804         [BZ #14053]
73805         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
73806         to asm.
73807         (lrint): Likewise.
73808         (llrintf): Likewise.
73809         (llrint): Likewise.
73810         (rint): Likewise.
73811         (rintf): Likewise.
73812         (nearbyint): Likewise.
73813         (nearbyintf): Likewise.
73815 2012-05-09  Andreas Jaeger  <aj@suse.de>
73816             Pedro Alves  <palves@redhat.com>
73818         * nscd/nscd.c (run_mode): Use enum.
73819         (main): Cleanup coding style issue.
73821 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
73822             Andreas Jaeger  <aj@suse.de>
73824         * nscd/nscd.c (go_background): Replaced with...
73825         (run_mode): ... this.
73826         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
73827         (options): Add -F --foreground.
73828         (main): Implement it.
73829         (parse_opt): Parse it.
73831 2012-05-09  Andreas Jaeger  <aj@suse.de>
73833         [BZ #14083]
73834         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
73835         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
73836         -Wconversion warning.
73837         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
73838         Likewise.
73840 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
73842         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
73843         == 0.
73844         (LC_ALL): Use macro-int-constant.
73845         (LC_COLLATE): Likewise.
73846         (LC_CTYPE): Likewise.
73847         (LC_MESSAGES): Likewise.
73848         (LC_MONETARY): Likewise.
73849         (LC_NUMERIC): Likewise.
73850         (LC_TIME): Likewise.
73851         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
73852         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
73853         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73854         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
73855         Specify type.
73856         [C99-based standards] (float_t): Expect type.
73857         [C99-based standards] (double_t): Expect type.
73858         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
73859         type.
73860         [C99-based standards] (HUGE_VALL): Likewise.
73861         [C99-based standards] (INFINITY): Likewise.
73862         [C99-based standards] (NAN): Likewise.
73863         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
73864         [C99-based standards] (FP_NAN): Likewise.
73865         [C99-based standards] (FP_NORMAL): Likewise.
73866         [C99-based standards] (FP_SUBNORMAL): Likewise.
73867         [C99-based standards] (FP_ZERO): Likewise.
73868         [C99-based standards] (FP_FAST_FMA): Use
73869         optional-macro-int-constant.  Specify type.  Require == 1.
73870         [C99-based standards] (FP_FAST_FMAF): Likewise.
73871         [C99-based standards] (FP_FAST_FMAL): Likewise.
73872         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
73873         [C99-based standards] (FP_ILOGBNAN): Likewise.
73874         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
73875         Specify type.
73876         [C99-based standards] (MATH_ERREXCEPT): Likewise.
73877         [C99-based standards] (math_errhandling): Specify type.
73878         [ISO99 || ISO11] (signgam): Do not allow.
73879         [non-C99-based standards] (copysignf): Do not allow.
73880         [non-C99-based standards] (exp2f): Likewise.
73881         [non-C99-based standards] (log2f): Likewise.
73882         [non-C99-based standards] (modff): Allow.
73883         [non-C99-based standards] (erff): Do not allow.
73884         [non-C99-based standards] (erfcf): Likewise.
73885         [non-C99-based standards] (gammaf): Likewise.
73886         [non-C99-based standards] (hypotf): Likewise.
73887         [non-C99-based standards] (j0f): Likewise.
73888         [non-C99-based standards] (j1f): Likewise.
73889         [non-C99-based standards] (jnf): Likewise.
73890         [non-C99-based standards] (lgammaf): Likewise.
73891         [non-C99-based standards] (tgammaf): Likewise.
73892         [non-C99-based standards] (y0f): Likewise.
73893         [non-C99-based standards] (y1f): Likewise.
73894         [non-C99-based standards] (ynf): Likewise.
73895         [non-C99-based standards] (isnanf): Likewise.
73896         [non-C99-based standards] (acoshf): Likewise.
73897         [non-C99-based standards] (asinhf): Likewise.
73898         [non-C99-based standards] (atanhf): Likewise.
73899         [non-C99-based standards] (cbrtf): Likewise.
73900         [non-C99-based standards] (expm1f): Likewise.
73901         [non-C99-based standards] (ilogbf): Likewise.
73902         [non-C99-based standards] (log1pf): Likewise.
73903         [non-C99-based standards] (logbf): Likewise.
73904         [non-C99-based standards] (nextafterf): Likewise.
73905         [non-C99-based standards] (remainderf): Likewise.
73906         [non-C99-based standards] (rintf): Likewise.
73907         [non-C99-based standards] (scalbf): Likewise.
73908         [non-C99-based standards] (copysignl): Likewise.
73909         [non-C99-based standards] (exp2l): Likewise.
73910         [non-C99-based standards] (log2l): Likewise.
73911         [non-C99-based standards] (modfl): Allow.
73912         [non-C99-based standards] (erfl): Do not allow.
73913         [non-C99-based standards] (erfcl): Likewise.
73914         [non-C99-based standards] (gammal): Likewise.
73915         [non-C99-based standards] (hypotl): Likewise.
73916         [non-C99-based standards] (j0l): Likewise.
73917         [non-C99-based standards] (j1l): Likewise.
73918         [non-C99-based standards] (jnl): Likewise.
73919         [non-C99-based standards] (lgammal): Likewise.
73920         [non-C99-based standards] (tgammal): Likewise.
73921         [non-C99-based standards] (y0l): Likewise.
73922         [non-C99-based standards] (y1l): Likewise.
73923         [non-C99-based standards] (ynl): Likewise.
73924         [non-C99-based standards] (isnanl): Likewise.
73925         [non-C99-based standards] (acoshl): Likewise.
73926         [non-C99-based standards] (asinhl): Likewise.
73927         [non-C99-based standards] (atanhl): Likewise.
73928         [non-C99-based standards] (cbrtl): Likewise.
73929         [non-C99-based standards] (expm1l): Likewise.
73930         [non-C99-based standards] (ilogbl): Likewise.
73931         [non-C99-based standards] (log1pl): Likewise.
73932         [non-C99-based standards] (logbl): Likewise.
73933         [non-C99-based standards] (nextafterl): Likewise.
73934         [non-C99-based standards] (remainderl): Likewise.
73935         [non-C99-based standards] (rintl): Likewise.
73936         [non-C99-based standards] (scalbl): Likewise.
73937         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73938         [non-C99-based standards] (FP_*): Do not allow.
73939         [C99-based standards] (FP_*): Change to
73940         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
73941         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73942         allow.
73943         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
73944         (SIG_ERR): Likewise.
73945         [X/Open-based standards] (SIG_HOLD): Likewise.
73946         (SIG_IGN): Likewise.
73947         (SIGABRT): Use macro-int-constant.  Specify type.  Require
73948         positive value.
73949         (SIGFPE): Likewise.
73950         (SIGILL): Likewise.
73951         (SIGINT): Likewise.
73952         (SIGSEGV): Likewise.
73953         (SIGTER): Likewise.
73954         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
73955         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
73956         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
73957         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
73958         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
73959         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
73960         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
73961         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
73962         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
73963         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
73964         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
73965         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
73966         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
73967         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
73968         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
73969         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
73970         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
73971         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
73972         [X/Open-based standards] (SIGTRAP): Likewise.
73973         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
73974         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
73975         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
73976         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
73977         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73978         allow.
73980 2012-05-08  Ian Wienand  <ianw@vmware.com>
73982         [BZ #14080]
73983         * time/tzset.c (__tzset_parse_tz): Update default rules for
73984         daylight time changes in the Energy Policy Act of 2005.
73986 2012-05-09  Andreas Jaeger  <aj@suse.de>
73988         [BZ #13983]
73989         * elf/ldconfig.c (parse_conf): Change string to make clear that
73990         ldconfig only issued a warning if ld.so.conf does not exist.
73992 2012-05-08  David S. Miller  <davem@davemloft.net>
73994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
73995         movxtod instead of popping the value on the stack.
73997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73999 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
74001         * config.h.in: Add HAVE_ARM_PCS_VFP.
74003 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
74005         [BZ #13979]
74006         * include/features.h: Warn if user requests __FORTIFY_SOURCE
74007         checking but the checks are disabled for any reason.
74009 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
74011         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
74012         and ELF64_R_TYPE with ELFW(R_TYPE).
74014 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
74016         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
74017         (ulimit): Likewise.
74019         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
74020         (settimeofday): Likewise.
74022 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
74024         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
74025         a struct th_u2 inside the union, and move tu_block/tu_code into
74026         a new th_u3 union of tu_block/tu_code inside of that.  Move
74027         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
74028         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
74029         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
74030         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
74031         (th_stuff): Change to th_u1.tu_stuff.
74032         (th_data): Define.
74033         (th_msg): Change to th_u1.th_u2.tu_data.
74035 2012-05-07  David S. Miller  <davem@davemloft.net>
74037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74039         [BZ #14074]
74040         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
74041         (SETUP_PIC_REG): Use it.
74042         (SETUP_PIC_REG_LEAF): Use it.
74044 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
74046         [BZ #13885]
74047         [BZ #13923]
74048         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74049         USE_AS_EXPM1L.
74050         (EXPL_FINITE): Likewise.
74051         (FLDLOG): Likewise.
74052         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74053         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74054         e_expl.S.
74055         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74056         USE_AS_EXPM1L.
74057         (EXPL_FINITE): Likewise.
74058         (FLDLOG): Likewise.
74059         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74060         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74061         e_expl.S.
74062         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
74063         test of -max_value argument for long double.
74064         * sysdeps/i386/fpu/libm-test-ulps: Update.
74065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74067 2012-05-06  David S. Miller  <davem@davemloft.net>
74069         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74070         quad soft-float symbols whose references which are compiler
74071         generated.
74072         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74074 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74076         [BZ #13884]
74077         [BZ #13914]
74078         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74079         USE_AS_EXP10L.
74080         (EXPL_FINITE): Likewise.
74081         (FLDLOG): Likewise.
74082         (c0): Likewise.
74083         (c1): Likewise.
74084         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74085         Adjust comments for base varying.
74086         (__expl_finite): Change alias to EXPL_FINITE.
74087         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74088         e_expl.S.
74089         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74090         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74091         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74092         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74093         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74094         USE_AS_EXP10L.
74095         (EXPL_FINITE): Likewise.
74096         (FLDLOG): Likewise.
74097         (c0): Likewise.
74098         (c1): Likewise.
74099         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74100         Adjust comments for base varying.
74101         (__expl_finite): Change alias to EXPL_FINITE.
74102         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74103         tests for bugs.
74104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74106         [BZ #14064]
74107         * math/libm-test.inc (check_float_internal): Correct ulp
74108         calculation for subnormal expected results.
74110 2012-05-06  Andreas Jaeger  <aj@suse.de>
74112         * Makeconfig (+math-flags): New, set to -frounding-math.
74113         (+cflags): Add +math-flags so that all of glibc gets compiled with
74114         it.
74116         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74118 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74120         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74121         Disable one test.
74123         [BZ #13787]
74124         [BZ #13922]
74125         [BZ #14036]
74126         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74127         (__ieee754_expl): Allow for and saturate large arguments.
74128         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74129         (u_threshold): Likewise.
74130         (__exp): Call __ieee754_exp before checking for overflow and
74131         underflow.
74132         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74133         (u_threshold): Likewise.
74134         (__expf): Call __ieee754_expf before checking for overflow and
74135         underflow.
74136         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74137         (u_threshold): Likewise.
74138         (__expl): Call __ieee754_expl before checking for overflow and
74139         underflow.
74140         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74141         (__ieee754_expl): Allow for and saturate large arguments.
74142         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74143         missing overflow exception on overflow.
74144         (expm1_test): Do not allow missing overflow exception on overflow.
74146         * sysdeps/i386/fpu/e_expl.c: Move to ...
74147         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74148         rather than using inline asm.
74149         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74150         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74151         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74153         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74154         (nice): Likewise.
74155         (poll): Likewise.
74156         (signal): Likewise.
74157         (time): Likewise.
74158         (times): Likewise.
74160 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74162         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74163         sysdeps/unix/common/syscalls.list.
74164         (fchmod): Likewise.
74165         (fchown): Likewise.
74166         (ftruncate): Likewise.
74167         (getrusage): Likewise.
74168         (gettimeofday): Likewise.
74169         (setpgid): Likewise.
74170         (setregid): Likewise.
74171         (setreuid): Likewise.
74172         (sigaction): Likewise.
74173         (truncate): Likewise.
74174         (vhangup): Likewise.
74175         * sysdeps/unix/common/syscalls.list: Remove file.
74176         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74177         * sysdeps/unix/sysv/linux/Implies: Likewise.
74179 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74181         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74183         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74184         Moved to ...
74185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74186         Here.
74187         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74188         to ...
74189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74190         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74191         to ...
74192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74193         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74194         to ...
74195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74196         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74197         to ...
74198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74199         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74200         to ...
74201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74202         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74203         to ...
74204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74205         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74206         to ...
74207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74208         Here.
74209         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74210         to ...
74211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74212         Here.
74213         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74214         to ...
74215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74216         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74217         Moved to ...
74218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74219         Here.
74220         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74221         to ...
74222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74224 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74226         * sysdeps/unix/common/bits/dirent.h: Remove file.
74227         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74229         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74230         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74231         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74232         * sysdeps/unix/bsd/isatty.c: Likewise.
74233         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74234         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74235         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74237 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74239         [BZ #13563]
74240         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74241         long double comparison inaccuracies.
74242         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74245 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74247         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74248         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74250 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74252         [BZ #14049]
74253         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74254         nonzero digits before rounding a hex value.
74255         * stdlib/tst-strtod.c (tests): Add another test.
74257 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74259         * sysdeps/s390/fpu/libm-test-ulps: Update.
74261 2012-05-03  Andreas Jaeger  <aj@suse.de>
74263         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74264         does not get optimized out.
74265         (malloc_opt_barrier): New.
74267 2012-05-03  Andreas Jaeger  <aj@suse.de>
74268             Roland McGrath  <roland@hack.frob.com>
74270         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74271         intermediate file deletion.
74272         (generated): Add .symlist files.
74274 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74276         [BZ #13775]
74277         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74278         Redirect under this condition.
74279         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74280         [__USE_GNU] (__dprintf_chk): Not under this condition.
74281         [__USE_GNU] (__vdprintf_chk): Likewise.
74282         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74283         under this condition.
74284         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74285         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74286         [__USE_XOPEN2K8] (vdprintf): Likewise.
74287         [__USE_GNU] (__dprintf_chk): Not under this condition.
74288         [__USE_GNU] (__vdprintf_chk): Likewise.
74289         [__USE_GNU] (dprintf): Likewise.
74290         [__USE_GNU] (vdprintf): Likewise.
74292 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74294         * elf/Makefile (common-generated): Set this instead of generated for
74295         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74296         $(all-built-dso)-derived lists.
74298 2012-05-03  Andreas Jaeger  <aj@suse.de>
74300         * sysdeps/i386/fpu/libm-test-ulps: Update.
74302         * FAQ: Removed.
74303         * FAQ.in: Likewise.
74304         * scripts/gen-FAQ.pl: Likewise.
74305         * manual/install.texi (Installation): Point to online location of
74306         FAQ.
74307         * Makefile (files-for-dist): Remove FAQ.
74308         (FAQ): Remove.
74310 2012-05-02  Allan McRae  <allan@archlinux.org>
74312         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74313         (LDFLAGS-reldepmod5.so): Likewise.
74314         (LDFLAGS-reldep6mod1.so): Likewise.
74315         (LDFLAGS-reldep6mod4.so): Likewise.
74316         (LDFLAGS-reldep8mod3.so): Likewise.
74317         (LDFLAGS-unload4mod1.so): Likewise.
74318         (LDFLAGS-unload4mod2.so): Likewise.
74319         (LDFLAGS-tst-initorder): Likewise.
74320         (LDFLAGS-tst-initordera2.so): Likewise.
74321         (LDFLAGS-tst-initordera3.so): Likewise.
74322         (LDFLAGS-tst-initordera4.so): Likewise.
74323         (LDFLAGS-tst-initorderb2.so): Likewise.
74324         (LDFLAGS-noload): Likewise.
74325         (LDFLAGS-next): Likewise.
74326         (LDFLAGS-order2mod1.so): Likewise.
74327         (LDFLAGS-order2mod2.so): Likewise.
74328         (LDFLAGS-tst-initorder2): Likewise.
74329         (LDFLAGS-tst-initorder2a.so): Likewise.
74330         (LDFLAGS-tst-initorder2b.so): Likewise.
74331         (LDFLAGS-tst-initorder2c.so): Likewise.
74332         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74334 2012-05-02  David S. Miller  <davem@davemloft.net>
74336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74338 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
74340         [BZ #14055]
74341         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74343 2012-05-02  Andreas Jaeger  <aj@suse.de>
74345         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74346         since we manipulate rounding mode.
74347         (CPPFLAGS-test-idouble.c): Likewise.
74348         (CPPFLAGS-test-ifloat.c): Likewise.
74349         (CFLAGS-test-ldouble.c): Likewise.
74350         (CFLAGS-test-double.c): Likewise.
74351         (CFLAGS-test-float.c): Likewise.
74352         (CFLAGS-test-misc.c): Likewise.
74353         (CFLAGS-test-test-fenv.c): Likewise.
74355 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74357         [BZ #2550]
74358         [BZ #2570]
74359         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74360         comparisons to determine direction to adjust input.
74362 2012-05-01  Roland McGrath  <roland@hack.frob.com>
74364         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74365         output to the target.
74367         * scripts/localplt.awk: New file.
74368         * elf/Makefile ($(objpfx)check-localplt): Target removed.
74369         (check-localplt-CFLAGS): Variable removed.
74370         ($(all-built-dso:=.jmprel)): New static pattern rule.
74371         (generated): Add those targets.
74372         (localplt-built-dso): New variable.
74373         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
74375         * elf/check-localplt.c: File removed.
74377         * scripts/check-execstack.awk: New file.
74378         * elf/Makefile ($(objpfx)check-execstack): Target removed.
74379         (check-execstack-CFLAGS): Variable removed.
74380         ($(objpfx)check-execstack.h): Target removed.
74381         ($(objpfx)execstack-default): New target.
74382         (generated): Add that instead of check-execstack.h.
74383         ($(all-built-dso:=.phdr)): New static pattern rule.
74384         (generated): Add those targets.
74385         * elf/check-execstack.c: File removed.
74387         * scripts/check-textrel.awk: New file.
74388         * elf/Makefile ($(objpfx)check-textrel): Target removed.
74389         (check-textrel-CFLAGS): Variable removed.
74390         (all-built-dso): Use := to define.o
74391         ($(all-built-dso:=.dyn)): New static pattern rule.
74392         (generated): Add those targets.
74393         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
74394         * config.make.in (READELF): New substituted variable.
74395         * elf/check-textrel.c: File removed.
74397 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
74399         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74400         allow.
74401         * conform/data/ctype.h-data [C99-based standards] (isblank):
74402         Expect function.
74403         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
74404         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
74405         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74406         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
74407         Specify type.  Require positive value.
74408         (EILSEQ): Likewise.
74409         (ERANGE): Likewise.
74410         [ISO || POSIX] (EILSEQ): Do not expect.
74411         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
74412         Specify type.  Require positive value.
74413         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
74414         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
74415         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
74416         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
74417         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
74418         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
74419         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
74420         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
74421         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
74422         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
74423         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
74424         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
74425         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
74426         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
74427         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
74428         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
74429         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
74430         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
74431         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
74432         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
74433         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
74434         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
74435         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
74436         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
74437         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
74438         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
74439         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
74440         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
74441         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
74442         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
74443         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
74444         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
74445         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
74446         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
74447         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
74448         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
74449         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
74450         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
74451         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
74452         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
74453         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
74454         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
74455         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
74456         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
74457         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
74458         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
74459         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
74460         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
74461         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
74462         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
74463         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
74464         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
74465         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
74466         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
74467         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
74468         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
74469         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
74470         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
74471         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
74472         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
74473         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
74474         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
74475         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
74476         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
74477         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
74478         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
74479         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
74480         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
74481         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
74482         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
74483         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
74484         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
74485         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
74486         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
74487         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
74488         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
74489         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
74490         Require >= 2.
74491         (FLT_ROUNDS): Expect as macro, not constant.
74492         (FLT_MANT_DIG): Use macro-int-constant.
74493         (DBL_MANT_DIG): Likewise.
74494         (LDBL_MANT_DIG): Likewise.
74495         (FLT_DIG): Likewise.
74496         (DBL_DIG): Likewise.
74497         (LDBL_DIG): Likewise.
74498         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
74499         (DBL_MIN_EXP): Likewise.
74500         (LDBL_MIN_EXP): Likewise.
74501         (FLT_MAX_EXP): Use macro-int-constant.
74502         (DBL_MAX_EXP): Likewise.
74503         (LDBL_MAX_EXP): Likewise.
74504         (FLT_MAX_10_EXP): Likewise.
74505         (DBL_MAX_10_EXP): Likewise.
74506         (LDBL_MAX_10_EXP): Likewise.
74507         (FLT_MAX): Use macro-constant.
74508         (DBL_MAX): Likewise.
74509         (LDBL_MAX): Likewise.
74510         (FLT_EPSILON): Use macro-constant.  Give upper bound.
74511         (DBL_EPSILON): Likewise.
74512         (LDBL_EPSILON): Likewise.
74513         (FLT_MIN): Likewise.
74514         (DBL_MIN): Likewise.
74515         (LDBL_MIN): Likewise.
74516         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
74517         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
74518         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
74519         [ISO11] (FLT_HAS_SUBNORM): Likewise.
74520         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
74521         [ISO11] (DBL_DECIMAL_DIG): Likewise.
74522         [ISO11] (FLT_DECIMAL_DIG): Likewise.
74523         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
74524         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
74525         [ISO11] (FLT_TRUE_MIN): Likewise.
74526         [ISO11] (LDBL_TRUE_MIN): Likewise.
74527         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74528         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
74529         (SCHAR_MIN): Use macro-int-constant.  Specify type.
74530         (SCHAR_MAX): Likewise.
74531         (UCHAR_MAX): Likewise.
74532         (CHAR_MIN): Likewise.
74533         (CHAR_MAX): Likewise.
74534         (MB_LEN_MAX): Use macro-int-constant.
74535         (SHRT_MIN): Use macro-int-constant.  Specify type.
74536         (SHRT_MAX): Likewise.
74537         (USHRT_MAX): Likewise.
74538         (INT_MAX): Likewise.
74539         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
74540         bound negative.
74541         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74542         bound with "U".
74543         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74544         bound with "L".
74545         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
74546         bound negative.  Suffix upper bound with "L".
74547         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74548         bound with "UL".
74549         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
74550         Specify type.
74551         [C99-based standards] (LLONG_MAX): Likewise.
74552         [C99-based standards] (ULLONG_MAX): Likewise.
74553         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
74554         == 0.
74555         [ISO11] (max_align_t): Require type.
74556         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74558         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
74559         from $CFLAGS, without defining away __attribute__ calls.
74560         (checknamespace): Use $CFLAGS_namespace.
74562         * conform/conformtest.pl (@keywords): Only include C99 keywords
74563         for standards based on C99 or C11.
74565         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
74566         Disable tests.
74567         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
74568         UNIX98]: Likewise.
74570         * conform/conformtest.pl: Handle "macro-int-constant" and test for
74571         usability of symbols in #if.
74573         * conform/conformtest.pl: If macro or constant types start
74574         "promoted:", expect the symbol to be of the following type
74575         promoted by the integer promotions.
74577         * conform/conformtest.pl: Parse all "constant" and "macro" lines
74578         in one place.  Also handle "macro-constant".
74580         * conform/conformtest.pl: Only accept expected macro values with
74581         "==".  Parse all "macro" lines in one place.
74582         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
74584         * conform/conformtest.pl: Handle braced types on "constant" lines
74585         instead of handling "typed-constant".
74586         * conform/data/signal.h-data: Use "constant" instead of
74587         "typed-constant".
74589         * conform/conformtest.pl: Handle "optional-" at start of lines in
74590         one place rather than duplicating several cases.  Handle each
74591         format of "macro" line with initial "optional-".
74593         * conform/conformtest.pl: Only accept expected constant or
74594         optional-constant values with "==".  Parse all "constant" lines in
74595         one place.  Parse all "optional-constant" lines in one place.
74596         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
74597         * conform/data/fmtmsg.h-data: Likewise.
74598         * conform/data/netinet/in.h-data: Likewise.
74599         * conform/data/tar.h-data: Likewise.
74600         * conform/data/limits.h-data: Use "==" form on "constant" and
74601         "optional-constant" lines.
74603         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
74604         Use -std=c99 for XOPEN2K.
74605         (@knownproblems): Remove.
74606         (newtoken): Don't check %isknown.
74608         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
74609         Do not expect macro.
74610         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
74611         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
74612         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
74613         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
74614         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
74615         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
74616         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
74617         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
74618         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
74619         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
74620         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
74621         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
74622         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
74623         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
74624         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
74625         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
74626         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
74627         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
74628         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
74629         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
74630         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
74631         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
74632         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
74633         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
74634         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
74635         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
74636         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
74637         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
74638         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
74639         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
74640         [XPG3] (acosh): Likewise.
74641         [XPG3] (asinh): Likewise.
74642         [XPG3] (atanh): Likewise.
74643         [XPG3] (cbrt): Likewise.
74644         [XPG3] (expm1): Likewise.
74645         [XPG3] (ilogb): Likewise.
74646         [XPG3] (log1p): Likewise.
74647         [XPG3] (logb): Likewise.
74648         [XPG3] (nextafter): Likewise.
74649         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
74650         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
74651         [XPG3] (remainder): Likewise.
74652         [XPG3] (rint): Likewise.
74653         [XPG3 || XPG4 || UNIX98] (round): Likewise.
74654         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
74655         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
74656         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
74657         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
74658         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
74659         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
74660         [UNIX98 || XOPEN2K] (scalb): Expect.
74661         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
74662         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
74663         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
74664         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
74665         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
74666         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
74667         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
74668         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
74669         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
74670         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
74671         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
74672         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
74673         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
74674         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
74675         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
74676         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
74677         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
74678         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
74679         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
74680         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
74681         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
74682         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
74683         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
74684         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
74685         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
74686         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
74687         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
74688         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
74689         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
74690         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
74691         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
74692         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
74693         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
74694         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
74695         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
74696         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
74697         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
74698         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
74699         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
74700         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
74701         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
74702         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
74703         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
74704         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
74705         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
74706         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
74707         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
74708         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
74709         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
74710         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
74711         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
74712         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
74713         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
74714         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
74715         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
74716         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
74717         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
74718         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
74719         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
74720         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
74721         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
74722         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
74723         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
74724         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
74725         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
74726         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
74727         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
74728         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
74729         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
74730         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
74731         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
74732         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
74733         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
74734         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
74735         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
74736         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
74737         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
74738         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
74739         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
74740         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
74741         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
74742         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
74743         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
74744         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
74745         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
74746         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
74747         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
74748         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
74749         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
74750         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
74751         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
74752         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
74753         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
74754         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
74755         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
74756         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
74757         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
74758         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
74759         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
74760         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
74761         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
74762         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
74763         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
74764         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
74765         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
74766         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
74767         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
74768         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
74769         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
74770         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
74771         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
74772         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
74773         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
74774         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
74775         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
74776         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
74777         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
74778         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
74779         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
74780         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
74781         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
74782         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
74783         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
74784         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
74785         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
74786         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
74787         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
74788         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
74789         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
74790         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
74791         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
74792         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
74793         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
74794         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
74795         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
74796         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
74797         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
74799         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
74800         _XOPEN_SOURCE_EXTENDED for XPG4.
74802         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
74804         * Makeconfig (localtime): Remove variable.
74805         (inst_localtime-file): Likewise.
74807 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
74809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
74810         Update.
74811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74812         Update.
74813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
74814         Update.
74815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
74816         Update.
74817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
74818         Update.
74819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
74820         Update.
74821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74822         Update.
74823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
74824         Update.
74825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
74826         Update.
74828 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
74830         [BZ #2550]
74831         [BZ #2570]
74832         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
74833         comparisons to determine direction to adjust input.
74834         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
74835         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
74836         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
74837         Likewise.
74838         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
74839         Likewise.
74840         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
74841         Likewise.
74842         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
74843         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
74844         Likewise.
74845         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
74846         Likewise.
74847         * math/libm-test.inc (nexttoward_test): Add more tests.
74849 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
74851         [BZ #14040]
74852         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
74853         in version GLIBC_2.1, not GLIBC_2.0.
74854         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
74855         Likewise.
74857 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
74859         [BZ #13942]
74860         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
74861         (1 - x) * (1 + x).
74862         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
74863         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
74864         * math/libm-test.inc (acos_test): Add more tests.
74865         (asin_test): Likewise.
74866         * sysdeps/i386/fpu/libm-test-ulps: Update.
74867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74869         [BZ #14034]
74870         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
74871         of square root.
74872         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
74873         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
74874         * math/libm-test.inc (acos_test_tonearest): New function.
74875         (acos_test_towardzero): Likewise.
74876         (acos_test_downward): Likewise.
74877         (acos_test_upward): Likewise.
74878         (asin_test_tonearest): Likewise.
74879         (asin_test_towardzero): Likewise.
74880         (asin_test_downward): Likewise.
74881         (asin_test_upward): Likewise.
74882         (main): Call the new functions.
74883         * sysdeps/i386/fpu/libm-test-ulps: Update.
74884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74886         [BZ #13884]
74887         [BZ #13924]
74888         * math/e_exp10.c: Include <float.h>.
74889         (__ieee754_exp10): Handle underflow here rather than multiplying
74890         large negative argument by M_LN10.
74891         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
74892         of __ieee754_expf.
74893         * math/e_exp10l.c: Include <float.h>.
74894         (__ieee754_exp10l): Handle underflow here rather than multiplying
74895         large negative argument by M_LN10l.
74896         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
74897         spurious overflow exception on underflow.
74899 2012-04-29  Marek Polacek  <polacek@redhat.com>
74901         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
74902         (__fortify_function): New macro.
74903         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
74904         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
74905         __extern_always_inline.
74906         * libio/bits/stdio2.h: Likewise.
74907         * libio/bits/stdio.h: Likewise.
74908         * string/string.h: Likewise.
74909         * string/bits/string3.h: Likewise.
74910         * include/stdio.h: Likewise.
74911         * stdlib/bits/stdlib.h: Likewise.
74912         * stdlib/stdlib.h: Likewise.
74913         * rt/bits/mqueue2.h: Likewise.
74914         * rt/mqueue.h: Likewise.
74915         * posix/bits/unistd.h: Likewise.
74916         * posix/unistd.h: Likewise.
74917         * io/bits/poll2.h: Likewise.
74918         * io/bits/fcntl2.h: Likewise.
74919         * io/fcntl.h: Likewise.
74920         * io/sys/poll.h: Likewise.
74921         * misc/bits/syslog.h: Likewise.
74922         * misc/bits/syslog-ldbl.h: Likewise.
74923         * misc/sys/syslog.h: Likewise.
74924         * socket/bits/socket2.h: Likewise.
74925         * socket/sys/socket.h: Likewise.
74926         * debug/tst-chk1.c: Likewise.
74927         * wcsmbs/bits/wchar2.h: Likewise.
74928         * wcsmbs/bits/wchar-ldbl.h: Likewise.
74929         * wcsmbs/wchar.h: Likewise.
74931 2012-04-29  Andreas Jaeger  <aj@suse.de>
74933         * Makerules (tests): Remove enable-check-abi protection.
74934         (check-abi-warn): Remove.
74935         (check-abi-%): Remove check-abi-warn usage.
74937         * configure.in: Remove check-abi configure option.
74938         * configure: Regenerated.
74939         * config.make.in (enable-check-abi): Remove.
74941 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
74943         [BZ #14033]
74944         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
74945         double functions to double *_finite functions.
74947         [BZ #13941]
74948         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
74949         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
74950         LDBL_MIN_EXP.
74951         * stdio-common/Makefile (tests): Add tst-sprintf3.
74952         * stdio-common/tst-sprintf3.c: New file.
74954         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
74955         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
74957 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
74959         * conform/conformtest.pl: Remove duplicate typed-constant
74960         handling.
74962 2012-04-28  David S. Miller  <davem@davemloft.net>
74964         * Makerules (%.abilist): Add vpath on sysdep_dirs.
74965         (check-abi-%): Remove AWK script prerequisite and explicit
74966         abilist directory.
74967         (check-abi): Rewrite to just diff the symlist with the abilist.
74968         (config-tls, config-abi-config): Delete, no longer used.
74969         (update-abi-%): Remove AWK script and explicit abilist directory.
74970         (update-abi): Rewrite to simply compare and conditionally copy the
74971         symlist and the sysdep abilist file.  Remove update-abi-config
74972         checks.
74973         * abilist/ld.abilist: Remove.
74974         * abilist/libBrokenLocale.abilist: Remove.
74975         * abilist/libanl.abilist: Remove.
74976         * abilist/libcrypt.abilist: Remove.
74977         * abilist/libdl.abilist: Remove.
74978         * abilist/librt.abilist: Remove.
74979         * abilist/libthread_db.abilist: Remove.
74980         * abilist/libutil.abilist: Remove.
74981         * scripts/extract-abilist.awk: Remove.
74982         * scripts/merge-abilist.awk: Remove.
74983         * sysdeps/generic/libcidn.abilist: New file.
74984         * sysdeps/generic/libnss_compat.abilist: New file.
74985         * sysdeps/generic/libnss_db.abilist: New file.
74986         * sysdeps/generic/libnss_dns.abilist: New file.
74987         * sysdeps/generic/libnss_files.abilist: New file.
74988         * sysdeps/generic/libnss_hesiod.abilist: New file.
74989         * sysdeps/generic/libnss_nis.abilist: New file.
74990         * sysdeps/generic/libnss_nisplus.abilist: New file.
74991         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
74992         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
74993         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
74994         file.
74995         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
74996         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
74997         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
74998         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
74999         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
75000         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
75001         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
75002         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
75003         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
75004         file.
75005         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75006         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
75007         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
75008         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
75009         file.
75010         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
75011         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
75012         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
75013         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
75014         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
75015         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75016         file.
75017         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
75018         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
75019         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
75020         file.
75021         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
75022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
75023         New file.
75024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
75025         New file.
75026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
75027         New file.
75028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
75029         New file.
75030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75031         New file.
75032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
75033         New file.
75034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
75035         New file.
75036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
75037         New file.
75038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
75039         New file.
75040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
75041         New file.
75042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
75043         New file.
75044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
75045         New file.
75046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
75047         New file.
75048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
75049         file.
75050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75051         New file.
75052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75053         New file.
75054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75055         file.
75056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75057         New file.
75058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75059         New file.
75060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75061         file.
75062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75063         New file.
75064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75065         New file.
75066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75067         New file.
75068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75069         New file.
75070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75071         New file.
75072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75073         New file.
75074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75076         file.
75077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75078         New file.
75079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75080         file.
75081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75082         file.
75083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75084         file.
75085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75086         file.
75087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75088         file.
75089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75090         New file.
75091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75092         file.
75093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75094         file.
75095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75096         New file.
75097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75098         file.
75099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75101         file.
75102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75103         New file.
75104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75105         file.
75106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75107         file.
75108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75109         file.
75110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75111         file.
75112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75113         file.
75114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75115         New file.
75116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75117         file.
75118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75119         file.
75120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75121         New file.
75122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75123         file.
75124         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75125         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75126         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75127         file.
75128         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75129         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75130         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75131         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75132         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75133         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75134         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75135         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75136         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75137         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75140         file.
75141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75142         New file.
75143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75144         file.
75145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75146         file.
75147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75148         file.
75149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75150         file.
75151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75152         file.
75153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75154         New file.
75155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75156         New file.
75157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75158         file.
75159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75160         New file.
75161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75162         file.
75163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75165         file.
75166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75167         New file.
75168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75169         file.
75170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75171         file.
75172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75173         file.
75174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75175         file.
75176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75177         file.
75178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75179         New file.
75180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75181         New file.
75182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75183         file.
75184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75185         New file.
75186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75187         file.
75189 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75191         * conform/conformtest.pl: Fix typo in handling typed-constant from
75192         allow-header.
75194 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75196         * README: Cut down references to pre-2.6 Linux kernels and
75197         Linuxthreads.  Update lists of configurations in libc and ports
75198         and sort alphabetically.  Say "or newer" with Linux kernel version
75199         requirements.
75201         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75203 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75205         [BZ #887]
75206         * math/libm-test.inc (logb_test_downward): New test to expose
75207         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75208         rounding mode.
75210 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75212         [BZ #14027]
75213         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75214         to be done.
75215         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75216         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75218 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75220         * sysdeps/unix/i386/brk.S: Remove file.
75221         * sysdeps/unix/i386/dl-brk.S: Likewise.
75222         * sysdeps/unix/i386/pipe.S: Likewise.
75223         * sysdeps/unix/i386/sigreturn.S: Likewise.
75224         * sysdeps/unix/i386/syscall.S: Likewise.
75225         * sysdeps/unix/i386/vfork.S: Likewise.
75226         * sysdeps/unix/i386/wait.S: Likewise.
75228         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75229         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75231         * configure.in (arm*-none*): Do not allow without
75232         --enable-hacker-mode.
75233         (netbsd*): Remove case setting base_os.
75234         (386bsd*): Likewise.
75235         (freebsd*): Likewise.
75236         (bsdi*): Likewise.
75237         (osf*): Likewise.
75238         (sunos*): Likewise.
75239         (ultrix*): Likewise.
75240         (newsos*): Likewise.
75241         (dynix*): Likewise.
75242         (*bsd*): Likewise.
75243         (sysv*): Likewise.
75244         (isc*): Likewise.
75245         (esix*): Likewise.
75246         (sco*): Likewise.
75247         (minix*): Likewise.
75248         (irix4*): Likewise.
75249         (irix6*): Likewise.
75250         (solaris[2-9]*): Likewise.
75251         (none): Likewise.
75252         * configure: Regenerated.
75254 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75256         [BZ #11521]
75257         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75258         overflow or cancellation in calculating denominator.
75259         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75260         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75261         down expression to avoid unexpected rounding in newer GCCs.
75262         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75264 2012-04-26  David S. Miller  <davem@davemloft.net>
75266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75267         long-double compat symbols.
75268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75282 2012-04-25  David S. Miller  <davem@davemloft.net>
75284         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75285         HWCAP_* values only after the memory barriers have been defined.
75286         (atomic_full_barrier): Define.
75287         (atomic_read_barrier): Define.
75288         (atomic_write_barrier): Define.
75290 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75292         * shlib-versions: Add libgcc_s version information.
75293         * sysdeps/generic/libgcc_s.h: Remove.
75294         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75295         libgcc_s.h.
75296         * sysdeps/gnu/unwind-resume.c: Likewise.
75297         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75299 2012-04-25  David S. Miller  <davem@davemloft.net>
75301         * sysdeps/unix/sparc/brk.S: Delete.
75302         * sysdeps/unix/sparc/dl-brk.S: Delete.
75303         * sysdeps/unix/sparc/pipe.S: Delete.
75304         * sysdeps/unix/sparc/sysdep.S: Delete.
75305         * sysdeps/unix/sparc/sysdep.h: Delete.
75306         * sysdeps/unix/sparc/vfork.S: Delete.
75307         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75308         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75309         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75310         (ret_ERRVAL, r0, r1, MOVE): Define.
75311         (JUMPTARGET): Remove.
75312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75313         sysdeps/unix/sparc/sysdep.h
75314         (ENTRY, END): Remove.
75315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75317 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75319         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75320         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75321         -DIS_IN_build.
75323         * timezone/README: Update upstream location and email address for
75324         tzcode and tzdata.
75325         * timezone/zdump.c: Update from tzcode 2012b.
75326         * timezone/zic.c: Likewise.
75328         * configure.in (libc_cv_as_needed): Remove test.
75329         * configure: Regenerated.
75330         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75331         conditional definition.
75332         [$(have-as-needed) != yes] (no-as-needed): Likewise.
75333         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75334         * config.make.in (have-as-needed): Remove variable.
75336 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75337             Paul Pluzhnikov  <ppluzhnikov@google.com>
75339         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75340         strings correctly.
75342 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
75344         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75345         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75346         * sysdeps/sh/strlen.S: Likewise.
75348 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75350         * sysdeps/unix/fork.S: Remove file.
75351         * sysdeps/unix/i386/fork.S: Likewise.
75352         * sysdeps/unix/sparc/fork.S: Likewise.
75354         * sysdeps/unix/system.c: Remove file.
75355         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75357         * sysdeps/unix/getegid.S: Remove file.
75358         * sysdeps/unix/geteuid.S: Likewise.
75360 2012-04-24  Roland McGrath  <roland@hack.frob.com>
75362         * scripts/check-localplt.awk: New file.
75363         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75364         of diff.
75365         * scripts/data/localplt-generic.data: Add a comment.
75367         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
75368         NODE when __dir_mkfile failed.
75369         * sysdeps/mach/hurd/symlinkat.c: Likewise.
75370         Reported by Ludovic Courtès <ludo@gnu.org>.
75372 2012-04-24  Andreas Jaeger  <aj@suse.de>
75374         * Makerules (common-clean): Also remove gen-as-const-headers
75375         files.
75377 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75379         * Makerules (native-compile): Do not change working directory for
75380         build.  Use $(OUTPUT_OPTION) in command.
75381         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
75383 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75385         [BZ #13886]
75386         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
75387         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
75388         * math/libm-test.inc (floor_test): Add more tests.
75389         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
75391 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75393         * sysdeps/unix/getdents.c: Remove file.
75394         * sysdeps/unix/sysv/getdents.c: Likewise.
75395         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
75397         * sysdeps/unix/syscalls.list (madvise): Add syscall from
75398         sysdeps/unix/mman/syscalls.list.
75399         (mmap): Likewise.
75400         (mprotect): Likewise.
75401         (msync): Likewise.
75402         (munmap): Likewise.
75403         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
75404         * sysdeps/unix/mman/syscalls.list: Remove.
75405         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
75407         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
75408         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
75409         * configure: Regenerated.
75410         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
75411         $(libgcc_s_suffix).
75412         * config.make.in (libgcc_s_suffix): Remove variable.
75414 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
75416         * sysdeps/unix/sysv/gethostname.c: Move to ...
75417         * sysdeps/posix/gethostname.c: ... here.
75419         * sysdeps/unix/execve.S: Remove file.
75421         * sysdeps/unix/_exit.S: Remove file.
75423 2012-04-23  Andreas Jaeger  <aj@suse.de>
75425         [BZ #13739]
75426         * manual/Makefile: Remove make dist support, there's no
75427         need for a stand-alone documentation tar ball.
75428         (TEXI2DVI): Define always, it's not in Makeconfig.
75429         (dist): Removed.
75430         (tar-it): Removed.
75431         (edition): Removed.
75432         (glibc-doc-$(edition).tar): Removed
75433         (%.Z): Removed.
75434         (%.gz): Removed.
75435         (%.uu): Removed.
75436         (ETAGS): Remove, it's in Makeconfig.
75437         (move-if-change): Remove, it's in Makeconfig.
75439 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
75441         [BZ #13970]
75442         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
75443         (strtod, strtof, strtold, strtol, strtoul, strtoq)
75444         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
75445         (strtod_l, strtof_l, strtold_l): Remove __wur.
75446         It is not necessarily an error to ignore strtol's return value.
75447         One can reliably look at the stored endptr to decide whether
75448         the number had valid syntax.
75450 2012-04-21  Andreas Jaeger  <aj@suse.de>
75452         [BZ #13739]
75453         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
75455 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
75457         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
75458         * sysdeps/unix/sysv/Versions: Remove file.
75460 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
75462         [BZ #13927]
75463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75465 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
75467         [BZ #7064]
75468         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
75469         version from __vm86.
75471 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
75473         * sysdeps/unix/common/lxstat.c: Remove file.
75474         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
75476         * sysdeps/unix/sysv/Makefile: Remove file.
75478         * sysdeps/unix/sysv/direct.h: Remove file.
75480         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
75481         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
75482         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
75483         * sysdeps/unix/sysv/bits/signum.h: Likewise.
75484         * sysdeps/unix/sysv/bits/stat.h: Likewise.
75485         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
75486         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
75488         * sysdeps/unix/sysv/setrlimit.c: Remove file.
75490         * sysdeps/unix/xmknod.c: Remove file.
75491         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
75493         * sysdeps/unix/sysv/settimeofday.c: Remove file.
75495         * sysdeps/unix/sysv/i386/time.S: Remove file.
75497         * sysdeps/unix/fxstat.c: Remove file.
75498         * sysdeps/unix/xstat.c: Likewise.
75499         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
75501         * sysdeps/unix/sysv/sigaction.c: Remove file.
75503         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
75504         (sysdep_headers): Remove variable.
75505         [termio.h not in sysdep_headers] (generated): Likewise.
75506         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
75507         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
75508         * sysdeps/unix/sysv/tcdrain.c: Likewise.
75509         * sysdeps/unix/sysv/tcflow.c: Likewise.
75510         * sysdeps/unix/sysv/tcflush.c: Likewise.
75511         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
75512         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
75513         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
75514         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
75515         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
75517         * sysdeps/unix/siglist.c: Remove file.
75519         * sysdeps/unix/getppid.S: Remove file.
75521         * sysdeps/unix/mkdir.c: Remove file.
75522         * sysdeps/unix/rmdir.c: Likewise.
75524 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
75526         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
75527         ERR_MAX value.
75528         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
75529         errlist-compat value.
75531 2012-04-18  David S. Miller  <davem@davemloft.net>
75533         * sysdeps/generic/memcopy.h (reg_char): Delete.
75534         * debug/strcat_chk.c: Use char, not reg_char.
75535         * debug/strcpy_chk.c: Likewise.
75536         * debug/strncat_chk.c: Likewise.
75537         * debug/strncpy_chk.c: Likewise.
75538         * string/memchr.c: Likewise.
75539         * string/memrchr.c: Likewise.
75540         * string/rawmemchr.c: Likewise.
75541         * string/strcat.c: Likewise.
75542         * string/strchr.c: Likewise.
75543         * string/strchrnul.c: Likewise.
75544         * string/strcmp.c: Likewise.
75545         * string/strcpy.c: Likewise.
75546         * string/strncat.c: Likewise.
75547         * string/strncmp.c: Likewise.
75548         * string/strncpy.c: Likewise.
75550 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75552         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
75553         __builtin_memcopy is called when src and dest ranges are known to not
75554         overlap.
75556 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75558         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
75559         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
75560         fwd_align_merge macro call.
75561         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
75562         bwd_align_merge macro call.
75563         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75565 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75567         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
75568         bwd_align_merge macros.
75569         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
75570         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
75571         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75573 2012-04-18  David S. Miller  <davem@davemloft.net>
75575         * sysdeps/sparc/sparc64/memcopy.h: Delete.
75577 2012-04-18  Andreas Jaeger  <aj@suse.de>
75579         [BZ# 6794]
75580         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
75581         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
75582         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75584         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
75585         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
75586         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75588         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
75589         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
75590         Adjust for changed ldbl-128 files.
75592         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
75593         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
75594         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75596 2012-04-17  David S. Miller  <davem@davemloft.net>
75598         * sysdeps/sparc/sparc32/memcopy.h: Delete.
75600 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
75602         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
75603         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
75604         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
75605         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
75606         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
75607         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
75609 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75611         [BZ #6794]
75612         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
75613         * math/libm-test.inc: Add ilogb errno and exception tests.
75614         * math/w_ilogb.c: New file: ilogb wrapper.
75615         * math/w_ilogbf.c: New file: ilogbf wrapper.
75616         * math/w_ilogbl.c: New file: ilogbl wrapper.
75617         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
75618         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
75619         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
75620         exception being thrown with 0.0 as argument.
75621         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
75622         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
75623         exception being thrown with 0.0 as argument.
75624         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
75625         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75626         exception being thrown with 0.0 as argument.
75627         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
75628         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75629         exception being thrown with 0.0 as argument.
75630         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
75631         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
75632         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
75633         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
75634         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
75635         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
75636         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
75637         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
75638         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
75640 2012-04-17  Petr Baudis  <pasky@ucw.cz>
75642         * include/sys/uio.h: Change __vector to __iovec to avoid clash
75643         with altivec.
75645 2012-04-16  Marek Polacek  <polacek@redhat.com>
75647         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
75649 2012-04-16  Marek Polacek  <polacek@redhat.com>
75651         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
75652         operands of fdivp instruction.
75654 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
75656         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
75657         * elf/tst-auditmod3b.c: Likewise.
75658         * elf/tst-auditmod4b.c: Likewise.
75659         * elf/tst-auditmod5b.c: Likewise.
75660         * elf/tst-auditmod6b.c: Likewise.
75661         * elf/tst-auditmod6c.c: Likewise.
75662         * elf/tst-auditmod7b.c: Likewise.
75663         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
75664         * sysdeps/x86_64/preconfigure.in: Likewise.
75665         * sysdeps/x86_64/preconfigure: Regenerated.
75667 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
75669         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
75670         __ILP32__.
75672 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
75674         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75675         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
75677 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
75679         [BZ #13973]
75680         * locale/iso-639.def: Fix gl language name. Spotted by
75681         Yaron Shahrabani.
75683 2012-04-12  Roland McGrath  <roland@hack.frob.com>
75685         [BZ #2074]
75686         * libio/libio.h (__io_write_fn): Update comment.
75688 2012-04-12  Petr Baudis  <pasky@ucw.cz>
75690         [BZ #2074]
75691         * stdio.texi (Hook Functions): The user provided writer function
75692         is not allowed to return -1.
75694 2012-04-11  David S. Miller  <davem@davemloft.net>
75696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75698 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
75700         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
75701         Add a leading slash to rtkaio.
75703 2012-04-11  Jim Meyering  <meyering@redhat.com>
75705         [BZ #11959]
75706         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
75707         It is not necessarily an error to ignore fwrite's return
75708         value.  One can reliably use ferror to test for errors after
75709         the fact.
75711 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
75713         * bits/types.h (__snseconds_t): New type.
75714         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
75716         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
75717         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75718         (__SNSECONDS_T_TYPE): Likewise.
75719         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75720         (__SNSECONDS_T_TYPE): Likewise.
75721         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75722         (__SNSECONDS_T_TYPE): Likewise.
75724 2012-04-10  Andreas Jaeger  <aj@suse.de>
75726         [BZ #2636]
75727         * manual/time.texi (Processor Time): Return type of times is
75728         elapsed real time since an arbitrary point in the past.
75729         (CPU Time): Move CLK_TCK from here...
75730         (Processor Time): ...to here.  Correct description.
75731         * manual/conf.texi (Constants for Sysconf): Correct description of
75732         _SC_CLK_TCK.
75734 2012-04-10  David S. Miller  <davem@davemloft.net>
75736         [BZ #13967]
75737         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
75738         where the is a gap between DT_REL(A) and DT_JMPREL.
75740 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
75742         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
75743         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
75744         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
75746 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
75748         * elf/dl-support.c (_dl_inhibit_cache): New variable.
75749         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
75750         (dl_main): Handle --inhibit-cache.
75751         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
75752         _dl_inhibit_cache.
75753         * elf/dl-load.c (_dl_map_object): Use it.
75754         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
75756 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
75758         [BZ #13872]
75759         * sysdeps/i386/fpu/e_powl.S (p78): New object.
75760         (__ieee754_powl): Saturate large exponents rather than testing for
75761         overflow of y*log2(x).
75762         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75763         * math/libm-test.inc (pow_test): Do not permit spurious overflow
75764         exceptions.
75766         [BZ #11521]
75767         * math/s_ctan.c: Include <float.h>.
75768         (__ctan): Avoid internal overflow or cancellation in calculating
75769         denominator.
75770         * math/s_ctanf.c: Likewise.
75771         * math/s_ctanl.c: Likewise.
75772         * math/s_ctanh.c: Likewise.
75773         * math/s_ctanhf.c: Likewise.
75774         * math/s_ctanhl.c: Likewise.
75775         * math/libm-test.inc (ctan_test): Add more tests.
75776         (ctanh_test): Likewise.
75777         * sysdeps/i386/fpu/libm-test-ulps: Update.
75778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75780 2012-04-09  Andreas Jaeger  <aj@suse.de>
75782         [BZ #6894]
75783         * manual/filesys.texi (Directory Entries): Mention that d_namlen
75784         is an optional BSD extension.
75786         [BZ #10254]
75787         * manual/stdio.texi (Opening Streams): Document additional fopen
75788         parameters.
75790 2012-04-09  Roland McGrath  <roland@hack.frob.com>
75792         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
75793         %eax without telling the compiler.
75795 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
75797         [BZ # 13963]
75798         * manual/install.texi: Use sourceware.org.
75800 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
75802         [BZ #13873]
75803         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
75804         (__ieee754_pow): Generate overflow and underflow using huge*huge
75805         and tiny*tiny rather than just returning constant infinity or zero
75806         for large exponents.
75807         * math/libm-test.inc (pow_test): Require overflow exceptions for
75808         applicable cases of large exponents.
75810         [BZ #706]
75811         * sysdeps/i386/fpu/e_pow.S (p10): New object.
75812         (__ieee754_pow): Use iterative multiplication algorithm only for
75813         integer exponents with absolute value below 1024.  Check for odd
75814         integer exponents when using algorithm for real exponents.
75815         * math/libm-test.inc (pow_test): Add more tests.
75816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75818 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
75820         [BZ #13705]
75821         * math/libm-test.inc (exp_test): Do not allow overflow exception
75822         on underflow test.
75824 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
75826         [BZ #13705]
75827         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
75828         instead of __kernel_standard_f.
75830 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
75832         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
75833         * sysdeps/x86_64/memset_chk.S: Likewise.
75835 2012-04-08  Andreas Jaeger  <aj@suse.de>
75837         [BZ #10153]
75838         * manual/startup.texi (Environment Access): Describe return value
75839         for putenv and setenv.
75841         [BZ #6895]
75842         * manual/filesys.texi (Directory Entries): Add description for
75843         DT_LNK.
75845         [BZ #6890]
75846         * manual/filesys.texi (Directory Entries): Clarify that it's file
75847         system not operating system in the description of DT_UNKNOWN.
75849         [BZ #6578]
75850         * manual/syslog.texi (closelog): Fix reference, it's openlog.
75852 2012-04-08  Stephen Compall  <s11@member.fsf.org>
75854         [BZ #6649]
75855         * manual/llio.texi (Opening and Closing Files): Add cross
75856         reference to explain mode argument.
75858 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
75860         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
75861         * sysdeps/x86_64/memset_chk.S: Likewise.
75863 2012-04-07  David S. Miller  <davem@davemloft.net>
75865         * elf/elf.h (R_SPARC_WDISP10): Define.
75866         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
75867         R_SPARC_SIZE32.
75868         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
75869         R_SPARC_SIZE64 and R_SPARC_H34.
75871 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
75873         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
75874         conditions and remove no longer applicable assertion.
75876 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
75878         * bits/byteswap.h: Include <features.h>.
75879         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
75880         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
75882 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
75884         * bits/byteswap.h (__bswap_16): Removed.
75885         Include <bits/byteswap-16.h> to get __bswap_16.
75886         * sysdeps/i386/bits/byteswap.h: Likewise.
75887         * sysdeps/s390/bits/byteswap.h: Likewise.
75888         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75889         * bits/byteswap-16.h: New file.
75890         * sysdeps/i386/bits/byteswap-16.h: Likewise.
75891         * sysdeps/s390/bits/byteswap-16.h: Likewise.
75892         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
75893         * string/Makefile (headers): Add bits/byteswap-16.h.
75895 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75897         [BZ #13895]
75898         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
75899         extra indirection.
75900         * nss/Makefile (tests-static, tests): Add tst-nss-static.
75901         * nss/tst-nss-static.c: New.
75903 2012-04-06  Robert Millan  <rmh@gnu.org>
75905         [BZ #6486]
75906         * manual/llio.texi (File Position Primitive): lseek
75907         refers to WHENCE when it really means OFFSET.
75909 2012-04-06  Andreas Jaeger  <aj@suse.de>
75911         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
75912         strncmp declarations.
75914         * abilist/libc.abilist: Add __poll and __ppoll.
75916 2012-04-05  David S. Miller  <davem@davemloft.net>
75918         * scripts/check-local-headers.sh: Accept a host triplet in the
75919         path matched by the exclude regexp.
75921         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
75922         definition.
75923         * sysdeps/powerpc/powerpc32/dl-machine.h
75924         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
75925         * sysdeps/s390/s390-32/dl-machine.h
75926         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75927         * sysdeps/sparc/sparc32/dl-machine.h
75928         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75929         * sysdeps/sparc/sparc64/dl-machine.h
75930         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75932         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
75933         lazy binding.
75934         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
75935         undefined symbol errors.
75937         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
75938         DT_NEEDED entries.
75940 2012-04-05  Michael Matz  <matz@suse.de>
75942         [BZ #13592]
75943         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
75945 2012-04-05  Andreas Jaeger  <aj@suse.de>
75947         [BZ #13908]
75948         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
75949         comment.
75951 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75953         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
75954         which ROUND is no valid rounding mode.
75956 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75958         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
75959         read again.
75960         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
75962 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75964         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
75965         an exception using FPU order intentionally.
75967 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75969         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
75970         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
75971         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
75972         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
75974 2012-04-05  Simon Josefsson  <simon@josefsson.org>
75976         [BZ #12340]
75977         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
75978         EINVAL when BUFLEN is too smal.
75980 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
75982         [BZ #13553]
75983         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
75984         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
75986 2012-04-03  Andreas Jaeger  <aj@suse.de>
75988         [BZ #13938]
75989         * manual/setjmp.texi (System V contexts): Fix sentence.
75991         [BZ #13926]
75992         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
75993         New macro for this case.
75994         [!__GNUC__] (__bswap_64): New inline function for this case.
75995         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75996         * bits/byteswap.h: Likewise.
75997         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
75998         ull, guard with __GLIBC_HAVE_LONG_LONG.
76000         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
76001         __GLIBC_HAVE_LONG_LONG.
76003         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
76004         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76006 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76008         [BZ #13691]
76009         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
76010         inptr and inend, rather than using last_ch.
76012 2012-04-02  David S. Miller  <davem@davemloft.net>
76014         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
76015         * stdio-common/printf-parse.h (read_int): Change return type to
76016         'int', return -1 on INT_MAX overflow.
76017         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
76018         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
76019         overflows INT_MAX.  Check for overflow of in-format-string precision
76020         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
76021         SIZE_MAX not INT_MAX for integer overflow test.
76022         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
76023         skip the construct in the format string but do not record anything.
76024         * stdio-common/bug22.c: Adjust to test both width/prevision
76025         INT_MAX overflow as well as total length INT_MAX overflow.  Check
76026         explicitly for proper errno values.
76028 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
76030         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
76031         CHAR_MAX.
76032         * string/test-strcmp.c [! WIDE]: Likewise.
76033         * time/tst-mktime2.c: Likewise for INT_MAX.
76034         * string/test-string.h: #include <sys/param.h> for MIN.
76036         * csu/init-first.c (__libc_init_first): Call __ctype_init.
76037         * sysdeps/i386/init-first.c (init): Likewise.
76038         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
76039         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
76040         * sysdeps/sh/init-first.c (init): Likewise.
76042 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
76044         * po/ru.po: Update from translation team.
76045         * po/vi.po: Likewise.
76047 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
76049         * resolv/nss_dns/dns-host.c: Merge copyright years.
76051 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76053         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76054         Optimize memcpy with prefetch if
76055         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
76056         src, dst pointers have unequal 16 byte alignments.
76058 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
76060         [BZ #13928]
76061         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76062         from a CNAME entry and return the minimum ttl for the query.
76063         (gaih_getanswer_slice): Likewise.
76065 2012-03-30  Jeff Law  <law@redhat.com>
76067         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76068         due to long keys.
76069         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76070         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76072         * resolv/nss_dns/dns-host.c: Update copyright year.
76074 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76076         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76077         requests to save a system call.  Fix check that all bytes are sent.
76079         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76080         comments for sendmmsg.
76082 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76084         [BZ #13691]
76085         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76086         with only 1 character between 0x0041 and 0x01b0.
76087         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76088         * wcsmbs/tst-mbsnrtowcs.c: New file.
76090 2012-03-29  David S. Miller  <davem@davemloft.net>
76092         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76093         small copies by hand.
76095 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76097         [BZ #13761]
76098         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76099         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76100         group memberships.
76102 2012-03-28  David S. Miller  <davem@davemloft.net>
76104         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76105         that branches into memcpy.
76106         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76107         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76108         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76109         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76110         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76111         bits.
76112         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76113         implementation too.
76114         * sysdeps/sparc/mempcpy.S: New file.
76116         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76117         the IFUNC routine in the libc case.
76118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76120         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76121         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76122         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76123         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76124         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76125         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76126         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76127         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76129         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76130         loop to 256 bytes instead of 64 bytes and fix test signedness.
76132         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76133         * sysdeps/sparc/sparc32/Makefile: rather than here...
76134         * sysdeps/sparc/sparc64/Makefile: and here.
76136 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76138         * malloc/mallocbug.c: Avoid warnings about unused variables.
76140 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76142         [BZ #13760]
76143         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76144         in the right place. Discard and retry query if response is
76145         larger than input buffer size.
76147 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76149         [BZ #369]
76150         [BZ #2678]
76151         [BZ #3866]
76152         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76153         x for large integer exponent.
76154         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76155         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76156         sign of result as needed afterwards.
76157         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76158         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76159         result for underflowing pow the same as for overflow.
76160         (__kernel_standard_l): Handle powl overflow and underflow here
76161         rather than calling __kernel_standard.
76162         * math/libm-test.inc (pow_test): Add more tests.
76164         [BZ #3868]
76165         [BZ #13879]
76166         [BZ #13910]
76167         [BZ #13911]
76168         [BZ #13912]
76169         [BZ #13913]
76170         [BZ #13915]
76171         [BZ #13916]
76172         [BZ #13917]
76173         [BZ #13918]
76174         [BZ #13919]
76175         [BZ #13920]
76176         [BZ #13921]
76177         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76178         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76179         (__kernel_standard_l): New function.
76180         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76181         __kernel_standard.
76182         * math/w_acosl.c (__acosl): Likewise.
76183         * math/w_asinl.c (__asinl): Likewise.
76184         * math/w_atan2l.c (__atan2l): Likewise.
76185         * math/w_atanhl.c (__atanhl): Likewise.
76186         * math/w_coshl.c (__coshl): Likewise.
76187         * math/w_exp10l.c (__exp10l): Likewise.
76188         * math/w_exp2l.c (__exp2l): Likewise.
76189         * math/w_fmodl.c (__fmodl): Likewise.
76190         * math/w_hypotl.c (__hypotl): Likewise.
76191         * math/w_j0l.c (__j0l, __y0l): Likewise.
76192         * math/w_j1l.c (__j1l, __y1l): Likewise.
76193         * math/w_jnl.c (__jnl, __ynl): Likewise.
76194         * math/w_lgammal.c (__lgammal): Likewise.
76195         * math/w_log10l.c (__log10l): Likewise.
76196         * math/w_log2l.c (__log2l): Likewise.
76197         * math/w_logl.c (__logl): Likewise.
76198         * math/w_powl.c (__powl): Likewise.
76199         * math/w_remainderl.c (__remainderl): Likewise.
76200         * math/w_scalbl.c (sysv_scalbl): Likewise.
76201         * math/w_sinhl.c (__sinhl): Likewise.
76202         * math/w_sqrtl.c (__sqrtl): Likewise.
76203         * math/w_tgammal.c (__tgammal): Likewise.
76204         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76205         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76206         * math/libm-test.inc (acos_test): Add more tests.
76207         (acosh_test): Likewise.
76208         (asin_test): Likewise.
76209         (atanh_test): Likewise.
76210         (exp_test): Likewise.
76211         (exp10_test): Likewise.
76212         (exp2_test): Likewise.
76213         (expm1_test): Likewise.
76214         (lgamma_test): Likewise.
76215         (log_test): Likewise.
76216         (log10_test): Likewise.
76217         (log1p_test): Likewise.
76218         (log2_test): Likewise.
76219         (pow_test): Do not allow some spurious overflow exceptions.
76220         (sqrt_test): Add more tests.
76221         (tgamma_test): Likewise.
76222         (y0_test): Likewise.
76223         (y1_test): Likewise.
76224         (yn_test): Likewise.
76226 2012-03-27  Anton Blanchard  <anton@samba.org>
76228         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76229         MAP_HUGETLB.
76230         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76231         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76232         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76234 2012-03-27  David S. Miller  <davem@davemloft.net>
76236         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76238         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76239         have-as-vis3 check.
76241 2012-03-27  Andreas Jaeger  <aj@suse.de>
76243         * sysdeps/x86_64/elf/configure.in: Moved to ...
76244         * sysdeps/x86_64/configure.in: ... here.
76245         * sysdeps/x86_64/elf/start.S: Moved to ...
76246         * sysdeps/x86_64/start.S: ... here.
76247         * sysdeps/x86_64/elf/configure: Delete.
76249         * sysdeps/x86_64/configure.in: Merge contents from
76250         sysdeps/i386/configure.in (without i686 check).
76252         * sysdeps/i386/elf/Versions: Merge into ...
76253         * sysdeps/i386/Versions: ... this.
76254         * sysdeps/i386/elf/Versions: Delete file.
76255         * sysdeps/i386/elf/start.S: Moved to ...
76256         * sysdeps/i386/start.S: ...here.
76257         * sysdeps/i386/elf/configure.in: Merge into...
76258         * sysdeps/i386/configure.in: ...here.
76259         * sysdeps/i386/elf/configure.in: Delete file.
76260         * sysdeps/i386/elf/configure: Delete file.
76262         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76263         * debug/backtracesyms.c: ... here.
76264         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76265         * debug/backtracesymsfd.c: ... here.
76266         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76267         * sysdeps/generic/ifunc-sel.h: ... here.
76269         * sysdeps/unix/i386/start.c: Delete file.
76270         * sysdeps/unix/sparc/start.c: Delete file.
76271         * sysdeps/unix/start.c: Delete file.
76273         * sysdeps/sh/elf/configure.in: Moved to ...
76274         * sysdeps/sh/configure.in: ... here.
76275         * sysdeps/sh/elf/start.S: Moved to ...
76276         * sysdeps/sh/start.S: ... here.
76277         * sysdeps/sh/elf/configure: Delete file.
76279         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76280         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76281         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76282         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76283         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76284         * sysdeps/powerpc/powerpc64/start.S: here.
76285         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76286         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76287         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76288         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76289         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76291         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76292         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76293         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76294         * sysdeps/powerpc/powerpc32/start.S: ... here.
76295         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76296         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76297         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76299         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76300         * sysdeps/powerpc/ifunc-sel.h: ... here.
76301         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76302         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76304         * sysdeps/sparc/elf/configure.in: Moved to ...
76305         * sysdeps/sparc/configure.in: ... here.
76306         * sysdeps/sparc/elf/configure: Delete file.
76307         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76308         * sysdeps/sparc/sparc32/start.S: ... here.
76309         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76310         * sysdeps/sparc/sparc64/start.S: ... here.
76311         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76312         * sysdeps/sparc/sparc32/Makefile: ... this.
76313         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76314         * sysdeps/sparc/sparc64/Makefile: ... this.
76316         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76317         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76318         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76319         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76320         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76321         * sysdeps/s390/s390-32/setjmp.S: ... here.
76322         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76323         * sysdeps/s390/s390-32/configure.in: ... here.
76324         * sysdeps/s390/s390-32/elf/configure: Delete file.
76325         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76326         * sysdeps/s390/s390-32/start.S: ... here.
76328         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76329         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76330         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76331         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76332         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76333         * sysdeps/s390/s390-64/setjmp.S: ... here.
76334         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76335         * sysdeps/s390/s390-64/configure.in: ... here
76336         * sysdeps/s390/s390-64/elf/configure: Delete file.
76337         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76338         * sysdeps/s390/s390-64/start.S: ... here.
76339         * sysdeps/s390/s390-64/elf/configure: Delete.
76341         * configure.in: Remove support for elf directories in sysdeps.
76343         * configure: Regenerated.
76344         * sysdeps/i386/configure: Regenerated.
76345         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76346         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76347         * sysdeps/s390/s390-32/configure: Regenerated.
76348         * sysdeps/s390/s390-64/configure: Regenerated.
76349         * sysdeps/sh/configure: Regenerated.
76350         * sysdeps/sparc/configure: Regenerated.
76351         * sysdeps/x86_64/configure: Regenerated.
76353 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
76355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76357         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76358         denormal result into account.
76360 2012-03-25  Roland McGrath  <roland@hack.frob.com>
76362         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76363         Reported by Allan McRae <allan@archlinux.org>.
76365 2012-03-23  Jeff Law  <law@redhat.com>
76367         * nss/getnssent.c (__nss_getent): Fix typo.
76369 2012-03-23  David S. Miller  <davem@davemloft.net>
76371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76373 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
76375         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
76376         to pad to uint64_t for each field.
76377         (dl_tls_index): Replace unsigned long with uint64_t.
76379 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
76380         Paul Pluzhnikov  <ppluzhnikov@google.com>
76382         [BZ #6528]
76383         * grp/Makefile (otherlibs): Don't set it.
76384         * inet/Makefile (otherlibs): Likewise.
76385         * login/Makefile (otherlibs): Likewise.
76386         * nscd/Makefile (otherlibs): Likewise.
76387         * posix/Makefile (otherlibs): Likewise.
76388         * pwd/Makefile (otherlibs): Likewise.
76389         * rt/Makefile (otherlibs): Likewise.
76390         * sunrpc/Makefile (otherlibs): Likewise.
76391         * nss/Makefile (otherlibs): Likewise.
76392         Add libnss_files to routines and static-only-routines.
76393         ($(objpfx)getent): Remove rule.
76394         * resolv/Makefile: Add libnss_dns and libresolv to routines and
76395         static-only-routines.
76397 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76399         [BZ #13892]
76400         * math/s_cexp.c: Include <float.h>.
76401         (__cexp): Handle exp result overflowing not necessarily
76402         overflowing both real and imaginary parts of result.
76403         * math/s_cexpf.c: Likewise.
76404         * math/s_cexpl.c: Likewise.
76405         * math/libm-test.inc (cexp_test): Add more tests.
76406         * sysdeps/i386/fpu/libm-test-ulps: Update.
76407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76409 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76411         * include/link.h (ELFW): New macro.
76412         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
76413         Replace ELF64_R_TYPE with ELFW(R_TYPE).
76415 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76417         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
76418         with uint64_t.
76420 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76422         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
76423         declaration.
76424         (struct La_x32_retval): Likewise.
76426 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76428         * sysdeps/x86_64/preconfigure.in: New file.
76429         * sysdeps/x86_64/preconfigure: New generated file.
76431 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76433         [BZ #13824]
76434         * math/e_exp2l.c: Include <float.h>.
76435         (__ieee754_exp2l): Handle overflow and underflow cases
76436         separately.  Only pass fractional part of argument to
76437         __ieee754_expl.
76438         * math/libm-test.inc (exp2_test): Add more tests.
76440         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
76441         negating x to take absolute value.
76442         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
76443         Likewise.
76444         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
76445         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
76446         Likewise.
76447         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
76448         computing low part if x was negated.
76449         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
76451 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76453         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
76454         la_x32_gnu_pltexit.
76455         (pltexit): Cast int_retval to ptrdiff_t.
76456         * elf/tst-auditmod3b.c: Likewise.
76457         * elf/tst-auditmod4b.c: Likewise.
76458         * elf/tst-auditmod5b.c: Likewise.
76459         * elf/tst-auditmod6b.c: Likewise.
76460         * elf/tst-auditmod6c.c: Likewise.
76461         * elf/tst-auditmod7b.c: Likewise.
76463         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
76464         and x32_gnu_pltexit.
76466         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
76467         __ELF_NATIVE_CLASS.
76468         (La_x32_regs): New macro.
76469         (La_x32_retval): Likewise.
76470         (la_x32_gnu_pltenter): New function prototype.
76471         (la_x32_gnu_pltexit): Likewise.
76473 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
76475         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
76476         exponent.
76478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76480         * configure.in (libc_cv_cc_nofma): Check for option to disable
76481         generation of FMA instructions.
76482         * configure: Regenerate.
76483         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
76484         * sysdeps/ieee754/dbl-64/Makefile: New file.
76485         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
76486         Remove brandred-fma4.
76487         (CFLAGS-brandred-fma4.c): Remove.
76488         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
76489         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
76490         define.
76491         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
76492         define.
76494 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76496         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76497         LLONG_MAX != LONG_MAX.
76498         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76499         (_fitoa_word): Likewise.
76500         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
76501         LLONG_MAX != LONG_MAX.
76502         * stdio-common/_itowa.h: Include <_itoa.h>.
76503         (_itowa_word): Use _ITOA_WORD_TYPE on value.
76504         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
76505         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
76506         only if not defined.
76507         (_ITOA_WORD_TYPE): Likewise.
76508         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76509         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
76511 2012-03-21  David S. Miller  <davem@davemloft.net>
76513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76515 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76517         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
76518         of x86_64 when setting libc_cv_slibdir, libdir and
76519         libc_cv_localedir.
76520         * sysdeps/unix/sysv/linux/configure: Regenerated.
76522 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76524         * manual/lang.texi (Old Varargs): Remove section.
76525         (How Variadic): Update menu.
76526         (va_start): Do not mention varargs.h.
76528 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
76529             Joseph Myers  <joseph@codesourcery.com>
76531         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
76532         link test.
76533         * configure: Regenerated.
76535 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
76537         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
76538         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
76539         conformtest.pl
76541 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76543         * NOTES: Remove.
76544         * Makefile (files-for-dist): Remove NOTES.
76545         (NOTES): Remove rule.
76546         * README: Don't refer to NOTES.
76547         * manual/creature.texi: Don't include macros.texi.
76548         * manual/intro.texi (creature.texi): Remove comment referring to
76549         NOTES.
76551         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
76552         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
76553         * configure: Regenerated.
76554         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
76555         LIBC_TRY_CC_OPTION.
76556         (libc_cv_as_i686): Likewise.
76557         (libc_cv_cc_avx): Likewise.
76558         (libc_cv_cc_sse2avx): Likewise.
76559         (libc_cv_cc_fma4): Likewise.
76560         (libc_cv_cc_novzeroupper): Likewise.
76561         * sysdeps/i386/configure: Regenerated.
76563         [BZ #13883]
76564         * sysdeps/i386/fpu/s_cexp.S: Remove.
76565         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76566         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
76567         * math/libm-test.inc (cexp_test): Add more tests.
76568         * sysdeps/i386/fpu/libm-test-ulps: Update.
76569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76571 2012-03-21  Allan McRae  <allan@archlinux.org>
76573         * timezone/Makefile: Do not install iso3166.tab and zone.tab
76575 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76577         [BZ #13871]
76578         * math/w_exp2.c: Do not include <float.h>.
76579         (o_threshold, u_threshold): Remove.
76580         (__exp2): Calculate result before checking finiteness and calling
76581         __kernel_standard.
76582         * math/w_exp2f.c: Likewise.
76583         * math/w_exp2l.c: Likewise.
76584         * math/libm-test.inc (exp2_test): Require overflow exception for
76585         1e6 input.
76587         [BZ #3866]
76588         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
76589         range of signed 64-bit integers before using fistpll.  Remove
76590         checks for whether integers fit in mantissa bits.
76591         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
76592         the range of signed 32-bit integers before using fistpl.  Remove
76593         checks for whether integers fit in mantissa bits.
76594         * sysdeps/i386/fpu/e_powl.S (p64): New object.
76595         (__ieee754_powl): Test for y outside the range of signed 64-bit
76596         integers before using fistpll.  Reduce 64-bit values to 63-bit
76597         ones as needed.
76598         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
76599         divide-by-zero is raised for zero to large negative powers.
76600         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
76601         (__ieee754_powl): Test for y outside the range of signed 64-bit
76602         integers before using fistpll.  Reduce 64-bit values to 63-bit
76603         ones as needed.
76604         * math/libm-test.inc (pow_test): Add more tests.
76606 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76608         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
76609         <stdio-common/_itoa.h>.
76610         * debug/segfault.c: Likewise.
76611         * elf/dl-cache.c: Likewise.
76612         * elf/dl-minimal.c: Likewise.
76613         * elf/dl-misc.c: Likewise.
76614         * elf/dl-sysdep.c: Likewise.
76615         * elf/dl-version.c: Likewise.
76616         * elf/rtld.c: Likewise.
76617         * hurd/hurdsock.c: Likewise.
76618         * hurd/lookup-retry.c: Likewise.
76619         * malloc/malloc.c: Likewise.
76620         * malloc/mtrace.c: Likewise.
76621         * nscd/nscd_getgr_r.c: Likewise.
76622         * nscd/nscd_getpw_r.c: Likewise.
76623         * nscd/nscd_getserv_r.c: Likewise.
76624         * posix/getopt_init.c: Likewise.
76625         * posix/wordexp.c: Likewise.
76626         * stdio-common/_itoa.c: Likewise.
76627         * stdio-common/printf_fphex.c: Likewise.
76628         * stdio-common/vfprintf.c: Likewise.
76629         * string/_strerror.c: Likewise.
76630         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
76631         * sysdeps/i386/i686/hp-timing.h: Likewise.
76632         * sysdeps/mach/_strerror.c: Likewise.
76633         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
76634         * sysdeps/mach/hurd/sethostid.c: Likewise.
76635         * sysdeps/mach/hurd/xmknodat.c: Likewise.
76636         * sysdeps/mach/xpg-strerror.c: Likewise.
76637         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
76638         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
76639         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
76640         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
76641         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
76642         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
76643         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
76644         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
76645         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
76646         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
76647         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
76648         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
76649         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
76650         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
76651         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
76652         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
76653         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
76654         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
76655         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
76656         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
76657         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
76659         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
76661         * stdio-common/_itoa.h: Moved to ...
76662         * sysdeps/generic/_itoa.h: Here.
76664         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
76666         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
76667         instead of "_itoa.h" and "_itowa.h".
76668         * stdio-common/vfprintf.: Likewise.
76670 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76672         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
76673         <bits/wordsize.h>.
76674         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
76675         (__signbit): Likewise.
76676         (llrintf): Likewise.
76677         (llrint): Likewise.
76679 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76681         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
76682         __WORDSIZE != 64.
76684 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
76686         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
76687         OVERFLOW_EXCEPTION_OK.
76688         * math/libm-test.inc ("Philosophy"): Update comment about
76689         exception testing.
76690         (OVERFLOW_EXCEPTION): Define.
76691         (OVERFLOW_EXCEPTION_OK): Likewise.
76692         (INVALID_EXCEPTION_OK): Renumber.
76693         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76694         (IGNORE_ZERO_INF_SIGN): Likewise.
76695         (test_exceptions): Handle FE_OVERFLOW.
76696         (exp10_test): Expect overflow exceptions.
76697         (exp2_test): Likewise.
76698         (expm1_test): Likewise.
76699         (nextafter_test): Likewise.
76700         (pow_test): Likewise.
76701         (scalbn_test): Likewise.
76702         (scalbln_test): Likewise.
76704 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76706         * sysdeps/x86_64/bits/atomic.h
76707         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
76708         64bit integer.
76709         (atomic_exchange_acq): Likewise.
76710         (__arch_exchange_and_add_body): Likewise.
76711         (__arch_add_body): Likewise.
76712         (atomic_add_negative): Likewise.
76713         (atomic_add_zero): Likewise.
76715 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76717         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
76718         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
76720 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76722         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
76723         Check __x86_64__ instead of __WORDSIZE.
76725 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76727         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
76729 2012-03-19  David S. Miller  <davem@davemloft.net>
76731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76733         * sysdeps/sparc/fpu/fenv_private.h: New file.
76734         * sysdeps/sparc/fpu/math_private.h: Use it.
76735         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
76736         Remove.
76737         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
76738         (libc_feholdexcept_setroundl): Remove.
76739         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
76740         Remove.
76741         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
76742         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
76744 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76746         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
76747         int64_t instead of long int.
76748         (INSERT_WORDS64): Likewise.
76750 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76752         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
76753         _Unwind_GetCFA return to _Unwind_Ptr first.
76755 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
76757         [BZ #13629]
76758         * math/s_clog.c: Include <float.h>.
76759         (__clog): Scale large or subnormal inputs.
76760         * math/s_clogf.c: Likewise.
76761         * math/s_clogl.c: Likewise.
76762         * math/s_clog10.c: Include <float.h>.
76763         (M_LOG10_2): Define.
76764         (__clog10): Scale large or subnormal inputs.
76765         * math/s_clog10f.c: Likewise.
76766         * math/s_clog10l.c: Likewise.
76767         * math/libm-test.inc (clog_test): Add more tests.
76768         (clog10_test): Likewise.
76769         * sysdeps/i386/fpu/libm-test-ulps: Update.
76770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76772         [BZ #11451]
76773         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
76774         x and y.
76775         * math/libm-test.inc (atan2_test): Add another test.
76777         * Makerules (common-objdir-compile): Remove.
76778         * sysdeps/unix/Makefile (config-generated): Do not add
76779         $(unix-generated) to variable.
76780         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
76781         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
76782         Remove rule.
76783         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
76784         Likewise.
76785         [generic bits/local_lim.h] (before-compile): Do not append to
76786         variable.
76787         [generic bits/local_lim.h] (common-generated): Likewise.
76788         [generic sys/param.h] (before-compile): Do not append to variable.
76789         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
76790         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
76791         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
76792         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
76793         include.
76794         [generic sys/param.h] (sys/param.h-includes): Remove variable.
76795         [generic sys/param.h] (sys/param.h-includes): Remove rule.
76796         [generic sys/param.h] ($(addprefix
76797         $(common-objpfx),$(sys/param.h-includes))): Likewise.
76798         [generic sys/param.h] (common-generated): Do not append to
76799         variable.
76800         [generic sys/param.h] (sysdep_headers): Likewise.
76801         [generic bits/errno.h] (before-compile): Do not append to
76802         variable.
76803         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
76804         rule.
76805         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
76806         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
76807         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
76808         [generic bits/errno.h] (common-generated): Do not append to
76809         variable.
76810         [generic bits/ioctls.h] (before-compile): Do not append to
76811         variable.
76812         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
76813         rule.
76814         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
76815         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
76816         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
76817         rule.
76818         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
76819         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
76820         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
76821         [generic bits/ioctls.h] (common-generated): Do not append to
76822         variable.
76823         [generic sys/syscall.h] (syscall.h): Remove variable.
76824         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
76825         rule.
76826         [generic sys/syscall.h] (before-compile): Do not append to
76827         variable.
76828         [generic sys/syscall.h] (common-generated): Likewise.
76829         * sysdeps/unix/errnos-tmpl.c: Remove file.
76830         * sysdeps/unix/errnos.awk: Likewise.
76831         * sysdeps/unix/ioctls-tmpl.c: Likewise.
76832         * sysdeps/unix/ioctls.awk: Likewise.
76833         * sysdeps/unix/mk-local_lim.c: Likewise.
76834         * sysdeps/unix/snarf-ioctls: Likewise.
76836 2012-03-19  Richard Henderson  <rth@twiddle.net>
76838         * sysdeps/i386/fpu/fenv_private.h: New file.
76839         * sysdeps/i386/fpu/math_private.h: Use it.
76840         (math_opt_barrier, math_force_eval): Remove.
76841         (libc_feholdexcept_setround_53bit): Remove.
76842         (libc_feupdateenv_53bit): Remove.
76843         * sysdeps/x86_64/fpu/math_private.h: Likewise.
76844         (math_opt_barrier, math_force_eval): Remove.
76845         (libc_feholdexcept): Remove.
76846         (libc_feholdexcept_setround): Remove.
76847         (libc_fetestexcept, libc_fesetenv): Remove.
76848         (libc_feupdateenv_test): Remove.
76849         (libc_feupdateenv, libc_feholdsetround): Remove.
76850         (libc_feresetround): Remove.
76852         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
76853         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
76855         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
76856         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
76857         (libc_feupdateenv_testl): New.
76858         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
76859         (libc_feupdateenv_testf): New.
76860         (libc_feupdateenv): Use libc_feupdateenv_test.
76861         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
76862         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
76864         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
76865         (libc_feholdsetroundf, libc_feholdsetroundl): New.
76866         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
76867         (libc_feresetround_noex): New.
76868         (libc_feresetround_noexf): New.
76869         (libc_feresetround_noexl): New.
76870         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
76871         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
76872         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
76873         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
76874         SET_RESTORE_ROUND.
76875         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
76876         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
76877         (__cos): Likewise.
76878         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
76879         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
76880         SET_RESTORE_ROUND_NOEX.
76881         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
76882         SET_RESTORE_ROUND_NOEXF.
76883         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
76884         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
76885         (libc_feholdsetroundf): New.
76886         (libc_feresetround, libc_feresetroundf): New.
76888         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
76889         (libc_feholdexcept_setround_53bit): Convert from macro to function.
76890         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
76892         * sysdeps/generic/math_private.h: Include <fenv.h>.
76893         (default_libc_feholdexcept): New.
76894         (default_libc_feholdexcept_setround): New.
76895         (default_libc_fesetenv, default_libc_feupdateenv): New.
76896         (libc_feholdexcept): Only define if undefined.
76897         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
76898         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
76899         (libc_feholdexcept_setroundl): Likewise.
76900         (libc_feholdexcept_setround_53bit): Likewise.
76901         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
76902         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
76903         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
76904         (libc_feupdateenv_53bit): Likewise.
76905         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
76906         (libc_feholdexcept): Convert from macro to inline function.
76907         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
76908         (libc_fesetenv, libc_feupdateenv): Likewise.
76910         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
76911         not previously defined.
76912         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
76913         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
76914         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
76915         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
76916         * sysdeps/ieee754/flt-32/math_private.h: New file.
76917         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
76918         math_private.h below SET_FLOAT_WORD.
76919         (__isnan, __isinf_ns, __finite): Remove.
76920         (__isnanf, __isinf_nsf, __finitef): Remove.
76922 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
76924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76926 2012-03-17  David S. Miller  <davem@davemloft.net>
76928         [BZ #6471]
76929         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
76930         for 2.16.
76932 2012-03-16  David S. Miller  <davem@davemloft.net>
76934         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
76935         warnings.
76937         [BZ #6471]
76938         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
76939         properly.
76940         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
76941         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
76942         sysdep_routines when subdir is sysvipc.
76943         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
76944         __getshmlba helper.
76946         * sysdeps/sparc/fpu/libm-test/ulps: Update.
76948 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76950         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
76951         [__LP64__].
76953 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76955         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
76956         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
76957         (__lround): Renamed to ...
76958         (__llround): This.  Replace long int with long long int.
76959         Define lround functions as aliases of llround functions.
76960         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
76962 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76964         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
76965         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
76966         adresses to uintptr_t.  Replace "long int" and "unsigned long
76967         int" with "greg_t" on va_arg.
76969 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76971         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
76972         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
76974         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
76975         Move e_machine check before EI_CLASS check.  Handle x32
76976         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
76977         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
76978         SKIP_EM_IA_64 and include
76979         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
76981         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
76982         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
76983         (add_system_dir): New macro.
76985         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
76986         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
76988 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
76990         [BZ #2551]
76991         [BZ #2552]
76992         [BZ #2553]
76993         [BZ #2554]
76994         [BZ #2562]
76995         [BZ #2563]
76996         [BZ #2565]
76997         [BZ #2566]
76998         [BZ #2576]
76999         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
77000         (y0): Likewise.
77001         * math/w_j0f.c (j0f): Likewise.
77002         (y0f): Likewise.
77003         * math/w_j0l.c (__j0l): Likewise.
77004         (__y0l): Likewise.
77005         * math/w_j1.c (j1): Likewise.
77006         (y1): Likewise.
77007         * math/w_j1f.c (j1f): Likewise.
77008         (y1f): Likewise.
77009         * math/w_j1l.c (__j1l): Likewise.
77010         (__y1l): Likewise.
77011         * math/w_jn.c (jn): Likewise.
77012         (yn): Likewise.
77013         * math/w_jnf.c (jnf): Likewise.
77014         (ynf): Likewise.
77015         * math/w_jnl.c (__jnl): Likewise.
77016         (__ynl): Likewise.
77017         * math/libm-test.inc (j0_test): Add more tests.
77018         (j1_test): Likewise.
77019         (jn_test): Likewise.  Add trailing semicolon to existing test.
77020         (y0_test): Likewise.
77021         (y1_test): Likewise.
77022         * sysdeps/i386/fpu/libm-test-ulps: Update.
77023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77025         [BZ #13851]
77026         [BZ #13854]
77027         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
77028         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77029         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
77030         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
77031         (__tanl): Set errno for infinite argument.
77032         * sysdeps/i386/fpu/mptan.c: Remove.
77033         * sysdeps/i386/fpu/s_tan.S: Likewise.
77034         * sysdeps/i386/fpu/s_tanl.S: Likewise.
77035         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
77036         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
77037         * math/libm-test.inc (tan_test): Add more tests and enable more
77038         tests for double and long double.
77039         * sysdeps/i386/fpu/libm-test-ulps: Update.
77040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77042 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
77044         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
77045         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
77047 2012-03-16  Roland McGrath  <roland@hack.frob.com>
77049         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77050         * configure.in: Use it for both main tree and add-ons.
77051         * configure: Regenerated.
77053 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77055         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77057 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77059         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77060         in comment.
77062         [BZ #13851]
77063         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77064         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77065         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77066         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77067         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77068         infinite argument.
77069         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77070         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77071         != 0 for prec == 2.
77072         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77073         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77074         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77075         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77076         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77077         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77078         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77079         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77080         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77081         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77082         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77083         * math/libm-test.inc (cos_test): Add more tests and enable more
77084         tests for long double.
77085         (sin_test): Likewise.
77086         (sincos_test): Likewise.
77087         * sysdeps/i386/fpu/libm-test-ulps: Update.
77088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77090 2012-03-16  David S. Miller  <davem@davemloft.net>
77092         * sysdeps/sparc/fpu/math_private.h: New file.
77094 2012-03-15  David S. Miller  <davem@davemloft.net>
77096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77097         file.
77098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77100         file.
77101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77103         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77104         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77107         sysdep routines.
77108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77110         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77111         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77113         * sysdeps/sparc/sparc-ifunc.h: New file.
77114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77115         sparc-ifunc.h
77116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77118         Likewise.
77119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77120         Likewise.
77121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77125         Likewise.
77126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77131         Likewise.
77132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77133         Likewise.
77134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77140         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77141         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77142         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77152         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77153         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77154         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77155         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77156         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77157         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77159 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77161         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77162         scaling.
77163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77165 2012-03-15  Andreas Jaeger  <aj@suse.de>
77167         [BZ #13852]
77168         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77169         ieee754/flt-32 implementation for sin, cos and sincos.
77170         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77171         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77172         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77173         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77174         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77175         ieee754/flt-32 implementation for tan.
77177         * math/libm-test.inc (cos_test): Enable some large input tests for
77178         float as well
77179         (sin_test): Likewise.
77180         (sincos_test): Likewise.
77181         (tan_test): Add tests for large input.
77183         * sysdeps/i386/fpu/libm-test-ulps: Update.
77185 2012-03-15  Andreas Jaeger  <aj@suse.de>
77187         [BZ #13658]
77188         * math/libm-test.inc (cos_test): Add more test cases.
77189         (sin_test): Likewise.
77190         (sincos_test): Likewise.
77192 2012-03-15  Andreas Jaeger  <aj@suse.de>
77194         [BZ #13837]
77195         * math/libm-test.inc (cos_test): Add a test case for large input
77196         value.
77197         (sin_test): Likewise.
77198         (sincos_test): Likewise.
77200 2012-03-15  Andreas Jaeger  <aj@suse.de>
77201             Joseph Myers  <joseph@codesourcery.com>
77203         [BZ #13658]
77204         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77205         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77206         * sysdeps/i386/fpu/branred.c: Likewise.
77207         * sysdeps/i386/fpu/dosincos.c: Likewise.
77208         * sysdeps/i386/fpu/mpa.c: Likewise.
77209         * sysdeps/i386/fpu/s_cos.S: Likewise.
77210         * sysdeps/i386/fpu/s_sin.S: Likewise.
77211         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77212         * sysdeps/i386/fpu/sincos32.c: Likewise.
77214         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77215         Define.
77216         (libc_feupdateenv_53bit): Define.
77217         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77218         Define.
77219         (libc_feupdateenv_53bit): Define.
77221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77222         53 bit (without extend i386 double precision).
77224         * math/libm-test.inc (sincos_test): Add tests for large input.
77225         (sin): Likewise.
77226         (cos): Likewise.
77228         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77230 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77234 2012-03-15  David S. Miller  <davem@davemloft.net>
77236         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77237         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77238         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77239         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77252         file.
77253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77255         file.
77256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77258         file.
77259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77261         file.
77262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77263         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77264         fmin/fmax sysdep routines.
77265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77267 2012-03-14  David S. Miller  <davem@davemloft.net>
77269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77270         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77271         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77273         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77274         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77275         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77276         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77277         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77278         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77289         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77290         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77291         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77292         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77293         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77294         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77295         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77296         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77297         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77298         routines.
77299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77300         file.
77301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77303         file.
77304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77306         file.
77307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77309         file.
77310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77312         file.
77313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77315         file.
77316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77317         file.
77318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77319         file.
77320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77321         file.
77322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77323         New file.
77324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77325         file.
77326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77327         file.
77328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77330         file.
77331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77333         file.
77334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77336         file.
77337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77339         VIS3 routines.
77341         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77342         New file.
77344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77346         * sysdeps/sparc/configure.in: New file.
77347         * sysdeps/sparc/configure: Generate.
77348         * configure.in (libc_cv_sparc_as_vis3): Substitute.
77349         * configure: Regenerate.
77350         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77351         * config.make.in (have-as-vis3): New.
77352         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77353         available use -Av9d instead of -Av9a.
77354         * sysdeps/sparc/sparc64/Makefile: Likewise.
77355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77357         New file.
77358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77359         file.
77360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77361         New file.
77362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77363         file.
77364         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77365         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
77366         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
77367         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
77368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
77370         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
77371         fzeros/fnegs to load 0x80000000 into a float register instead of
77372         using the stack.
77373         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
77375 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77378         bits/syscall.h.
77379         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
77380         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
77381         ($(inst_includedir)/bits/syscall.h): Remove rule.
77382         ($(objpfx)bits/syscall.d): Include instead of
77383         $(objpfx)syscall-list.d.
77384         (generated): Change syscall-list.h and syscall-list.d to
77385         bits/syscall.h and bits/syscall.d.
77387 2012-03-14  Roland McGrath  <roland@hack.frob.com>
77389         [BZ #13846]
77390         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
77392 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77394         [BZ #13841]
77395         * math/s_csqrt.c: Include <float.h>.
77396         (__csqrt): Scale large or subnormal inputs.
77397         * math/s_csqrtf.c: Likewise.
77398         * math/s_csqrtl.c: Likewise.
77399         * math/libm-test.inc (csqrt_test): Add more tests.
77400         * sysdeps/i386/fpu/libm-test-ulps: Update.
77401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77403         [BZ #13840]
77404         * math/libm-test.inc (hypot_test): Add more tests.
77406 2012-03-13  David S. Miller  <davem@davemloft.net>
77408         [BZ #13840]
77409         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
77410         double-precision for the calculation instead of scaling.
77412 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
77414         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
77415         manipulate bits before adding and subtracting TWO52[sx].
77416         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
77417         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
77418         Likewise.
77419         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
77421 2012-03-13  David S. Miller  <davem@davemloft.net>
77423         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
77424         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
77425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
77426         rtld-global-offsets.h
77427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77429         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
77430         large parameters.
77432         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
77434         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
77435         'err' in the ifdef scope in which it is actually used.
77437         * nss/nss_db/db-init.c: Include string.h
77439 2012-03-12  David S. Miller  <davem@davemloft.net>
77441         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77442         masking out of the most significant byte of random value used.
77443         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77444         Fix coding style in previous change.
77446         * sysdeps/unix/sysv/linux/kernel-features.h
77447         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
77448         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
77449         expression.
77450         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
77451         later.
77453 2012-03-11  David S. Miller  <davem@davemloft.net>
77455         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
77456         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
77457         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
77458         for 'resultvar' otherwise things get truncated on 64-bit.
77460         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77461         Fix masking out of the most significant byte of random value used.
77463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77465 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
77467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77469 2012-03-09  David S. Miller  <davem@davemloft.net>
77471         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
77472         variables with appropriate CPP guards.
77473         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
77474         from the frame pointer, not the stack pointer.  Correct layout
77475         comments.  Fix test on resulting framesize and the management of
77476         the outregs buffer for pltexit.  Preserve floating point return
77477         values across _dl_call_pltexit call.
77478         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
77479         framesize and the management of the outregs buffer for pltexit.
77480         Preserve floating point return values across _dl_call_pltexit
77481         call.
77482         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
77483         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
77484         (la_sparc64_gnu_pltexit): New functions.
77485         (print_exit): Fix format string for return register value.
77487 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
77489         * sunrpc/Makefile (others): Add rpcgen.
77490         ($(objpfx)rpcgen): Remove special build rule and dependency on
77491         libc.
77492         * sunrpc/rpcgen.c: New file.
77494 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
77496         [BZ #13673]
77497         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
77498         * stdio-common/bug-vfprintf-nargs.c: Likewise.
77499         * sysdeps/i386/crti.S: Likewise.
77500         * sysdeps/i386/crtn.S: Likewise.
77501         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
77502         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
77503         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
77504         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
77505         * sysdeps/sh/crti.S: Likewise.
77506         * sysdeps/sh/crtn.S: Likewise.
77507         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77509         [BZ #13673]
77510         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
77511         with URL.
77512         * locale/programs/locfile-kw.gperf: Likewise.
77513         * locale/programs/charmap-kw.h: Regenerated.
77514         * locale/programs/locfile-kw.h: Likewise.
77516         [BZ #13673]
77517         * intl/plural.y: Replace FSF snail mail address with URL.
77518         * intl/plural.c: Regenerated.
77520 2012-03-09  Richard Henderson  <rth@twiddle.net>
77522         * include/math_private.h: Remove file.
77523         * math/math_private.h: Move file ...
77524         * sysdeps/generic/math_private.h: ... here.
77526         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
77527         * sysdeps/powerpc/fpu/math_private.h: Likewise.
77528         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77530         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
77531         and <math_private.h>.
77532         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77533         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77534         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77535         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77536         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77537         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
77538         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77539         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77540         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77541         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77542         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77543         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77544         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77545         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77546         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77547         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77548         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77549         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77550         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77551         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77553         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77554         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77555         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77556         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
77557         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77558         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77559         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77560         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77561         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77562         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77563         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77564         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
77565         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77566         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77567         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77568         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77569         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77570         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77571         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77572         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
77573         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77574         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77575         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
77576         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
77577         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77578         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
77579         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
77580         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77581         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77582         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
77583         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
77584         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
77585         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77586         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
77587         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77588         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77589         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
77590         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
77591         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
77592         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77593         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
77594         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77595         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77596         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
77597         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77598         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77599         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77600         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
77601         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
77602         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
77603         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77604         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
77605         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77606         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
77607         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
77608         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
77609         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77610         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
77611         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
77612         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
77613         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
77614         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
77615         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77616         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77617         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
77618         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
77619         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
77620         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77621         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77622         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77623         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77624         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77625         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77626         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77627         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77628         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77629         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77630         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77631         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77632         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77633         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77634         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77635         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77636         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77637         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77638         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77639         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77640         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77641         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77642         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77643         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77644         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77645         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77646         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
77647         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77648         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77649         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77650         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77651         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77652         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77653         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77654         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77655         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
77656         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77657         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77658         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77659         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
77660         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77661         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
77662         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
77663         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77664         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77665         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
77666         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
77667         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77668         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77669         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77670         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
77671         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77672         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77673         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77674         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77675         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
77676         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
77677         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77678         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77679         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77680         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
77681         * sysdeps/ieee754/k_standard.c: Likewise.
77682         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77683         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77684         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77685         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77686         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77687         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77688         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77689         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77690         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77691         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77692         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77693         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77694         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77695         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77696         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77697         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77698         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
77699         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77700         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77701         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
77702         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
77703         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
77704         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77705         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77706         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
77707         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
77708         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77709         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77710         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77711         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77712         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
77713         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77714         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77715         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77716         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
77717         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77718         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77719         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
77720         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
77721         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77722         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
77723         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
77724         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
77725         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77726         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
77727         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
77728         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77729         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77730         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77731         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77732         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77733         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
77734         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77735         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
77736         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77737         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77738         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
77739         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
77740         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77741         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77742         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77743         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
77744         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77745         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77746         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77747         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77748         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77749         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77750         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77751         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77752         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77754         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77755         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77756         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77757         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77758         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
77759         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77760         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77761         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
77762         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
77763         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
77764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77765         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77766         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
77767         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77768         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77769         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
77770         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77771         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77772         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
77773         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77774         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
77775         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
77776         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77777         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77778         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
77779         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
77780         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
77781         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
77782         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77783         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77784         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77785         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77786         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
77787         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77788         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77789         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
77790         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
77791         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77792         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77793         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77794         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77795         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77796         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77797         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77798         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77799         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77800         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77801         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77802         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77803         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77804         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77805         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77806         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77807         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
77808         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77809         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77810         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77811         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77812         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77813         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77814         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77815         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
77816         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77817         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77818         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
77819         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
77820         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77821         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
77822         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
77823         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77824         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
77825         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
77826         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77827         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77828         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77829         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77830         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77831         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
77832         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77833         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77834         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77835         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77836         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
77837         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
77838         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77839         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77840         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77841         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
77842         * sysdeps/ieee754/s_lib_version.c: Likewise.
77843         * sysdeps/ieee754/s_matherr.c: Likewise.
77844         * sysdeps/ieee754/s_signgam.c: Likewise.
77845         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77846         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77847         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
77848         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
77849         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
77850         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
77851         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
77852         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
77853         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
77854         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
77855         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
77856         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
77857         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77858         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77859         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
77860         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
77861         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
77862         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
77863         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
77864         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77865         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77867 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
77869         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
77870         * sunrpc/rpc_main.c: Likewise.
77871         * sunrpc/rpc_svcout.c: Likewise.
77873 2012-03-09  David S. Miller  <davem@davemloft.net>
77875         * include/math_private.h: New file.
77877 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
77879         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
77880         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
77881         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
77882         from <bits/socket_type.h>.
77883         (enum __socket_type): Don't define here.
77884         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
77885         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77886         bits/socket_type.h.
77888         [BZ #13566]
77889         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
77890         checking __USE_GNU.
77892         * Makerules ($(inst_includedir)/%.h): New rule.
77893         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
77894         (install-others): Remove variable setting.
77895         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
77897 2012-03-08  Richard Henderson  <rth@twiddle.net>
77899         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
77900         from macro to inline function; merge with the
77901         !__LIBC_INTERNAL_MATH_INLINES version.
77902         (__ieee754_sqrtf): Likewise.
77904         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
77905         to inline function.
77906         (__rintf, __floor, __floorf): Likewise.
77908         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
77909         macro to inline function.
77910         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
77912         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
77913         not <math/math_private.h>.
77915 2012-03-08  David S. Miller  <davem@davemloft.net>
77917         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
77918         copyright year.
77919         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
77921 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
77923         * resolv/gai_misc.c (handle_requests): Fix struct timespec
77924         normalization.
77925         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
77926         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
77928 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
77930         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
77931         be defined individually, they must be defined as a block.  Define
77932         S for printing a string instead of hidint the different by using a
77933         macro for adding the 'l'.
77934         * stdio-common/tst-fphex-wide.c: Adjust.
77936 2012-03-07  Marek Polacek  <polacek@redhat.com>
77938         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
77940 2012-03-08  Marek Polacek  <polacek@redhat.com>
77942         [BZ #13806]
77943         * stdio-common/Makefile (tests): Add tst-fphex-wide.
77944         * stdio-common/tst-fphex.c: Define a few macros to make the
77945         test reusable.  Use them.
77946         * stdio-common/tst-fphex-wide.c: New file.
77948 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
77950         [BZ #6911]
77951         * manual/macros.texi (gnusystems): New macro.
77952         (nongnusystems): Likewise.
77953         (gnulinuxhurdsystems): Likewise.
77954         (gnuhurdsystems): Likewise..
77955         (gnulinuxsystems): Likewise.
77956         * manual/charset.texi: Use new macros or @theglibc{} to refer to
77957         variants of the GNU system, not "GNU system".
77958         * manual/conf.texi: Likewise.
77959         * manual/errno.texi: Likewise.  Update example of errno macro
77960         expansion.
77961         * manual/filesys.texi: Likewise.
77962         (getumask): Document as specific to GNU/Hurd.
77963         * manual/install.texi: Likewise.  Reword some references to
77964         GNU/Linux.
77965         * manual/intro.texi: Likewise.
77966         * manual/io.texi: Likewise.
77967         (File Name Portability): Detail which constraints are inapplicable
77968         to all GNU systems and which are only inapplicable to GNU/Hurd.
77969         * manual/job.texi: Likewise.
77970         * manual/llio.texi: Likewise.
77971         (O_NOCTTY): Document as present on GNU/Linux.
77972         * manual/maint.texi: Likewise.
77973         * manual/memory.texi: Likewise.
77974         * manual/pattern.texi: Likewise.
77975         * manual/pipe.texi: Likewise.
77976         * manual/process.texi: Likewise.
77977         * manual/resource.texi: Likewise.
77978         (RUSAGE_CHILDREN): Remove statement about specifying a particular
77979         child on GNU/Hurd.
77980         * manual/setjmp.texi: Likewise.
77981         * manual/signal.texi: Likewise.
77982         * manual/startup.texi: Likewise.
77983         * manual/stdio.texi: Likewise.
77984         * manual/terminal.texi: Likewise.
77985         (ONLCR): Document as POSIX.
77986         (OXTABS): Document availability on GNU/Linux as XTABS.
77987         (ONOEOT): Document availability separately from other bits.
77988         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
77989         * manual/time.texi: Likewise.
77990         * manual/users.texi: Likewise.
77991         * INSTALL: Regenerated.
77992         * sysdeps/gnu/errlist.c: Regenerated.
77994         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
77995         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
77996         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
77997         puts.
77998         * configure: Regenerated.
78000 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
78002         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
78003         default includes instead of AC_HEADER_CHECK.
78004         * sysdeps/i386/configure: Regenerated.
78006         [BZ #10716]
78007         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
78008         * math/s_cacoshf.c (__cacoshf): Likewise.
78009         * math/s_cacoshl.c (__cacoshl): Likewise.
78010         * math/s_casinh.c (__casinh): Set signs of result from argument.
78011         * math/s_casinhf.c (__casinhf): Likewise.
78012         * math/s_casinhl.c (__casinhl): Likewise.
78013         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
78014         (casinh_test): Add more tests.
78015         * sysdeps/i386/fpu/libm-test-ulps: Update.
78016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78018 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
78020         * po/zh_TW.po: Update from translation team.
78022         * login/Makefile (distribute): Remove variable.
78023         * catgets/Makefile: Likewise.
78024         * mach/Makefile: Likewise.
78025         * malloc/Makefile: Likewise.
78026         * misc/Makefile: Likewise.
78027         * iconv/Makefile: Likewise.
78028         * nscd/Makefile: Likewise.
78029         * hurd/Makefile: Likewise.
78030         * manual/Makefile: Likewise.
78031         * locale/Makefile: Likewise.
78032         * intl/Makefile: Likewise.
78033         * conform/Makefile: Likewise.
78034         * nss/Makefile: Likewise.
78035         * time/Makefile: Likewise.
78036         * soft-fp/Makefile: Likewise.
78037         * dirent/Makefile: Likewise.
78038         * gmon/Makefile: Likewise.
78039         * po/Makefile: Likewise.
78040         * rt/Makefile: Likewise.
78041         * socket/Makefile: Likewise.
78042         * math/Makefile: Likewise.
78043         * signal/Makefile: Likewise.
78044         * debug/Makefile: Likewise.
78045         * elf/Makefile: Likewise.
78046         * timezone/Makefile: Likewise.
78047         * stdlib/Makefile: Likewise.
78048         * iconvdata/Makefile: Likewise.
78049         * sunrpc/Makefile: Likewise.
78050         * io/Makefile: Likewise.
78051         * argp/Makefile: Likewise.
78052         * inet/Makefile: Likewise.
78053         * hesiod/Makefile: Likewise.
78054         * grp/Makefile: Likewise.
78055         * csu/Makefile: Likewise.
78056         * wctype/Makefile: Likewise.
78057         * crypt/Makefile: Likewise.
78058         * libio/Makefile: Likewise.
78059         * string/Makefile: Likewise.
78060         * nis/Makefile: Likewise.
78061         * resolv/Makefile: Likewise.
78062         * stdio-common/Makefile: Likewise.
78063         * wcsmbs/Makefile: Likewise.
78064         * dlfcn/Makefile: Likewise.
78065         * posix/Makefile: Likewise.
78067         [BZ #6959]
78068         * timezone/Makefile: Don't install timezone files, just the programs
78069         and scripts.
78071 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78073         * nss/databases.def: Add missing gshadow entry.
78075         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78077 2012-03-06  Marek Polacek  <polacek@redhat.com>
78079         [BZ #13726]
78080         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78081         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78082         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78083         * stdio-common/tst-long-dbl-fphex.c: New file.
78085 2012-03-06  David S. Miller  <davem@davemloft.net>
78087         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78088         (set_obp_int): New function.
78089         (get_obp_int): New function.
78090         (__get_clockfreq_via_dev_openprom): Likewise.
78091         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78092         Avoid unused variable warnings on 'val' and use builtin_expect.
78093         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78094         __builtin_expect.
78095         (INLINE_CLONE_SYSCALL): Likewise.
78097 2012-03-05  David S. Miller  <davem@davemloft.net>
78099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78101 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78105         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78106         only for |x| >= 40.
78107         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78109 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78111         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78112         Replace gettimeofday with __vdso_gettimeofday.
78114         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78115         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78116         __vdso_clock_gettime and __vdso_getcpu.
78118         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78119         time with __vdso_time.
78121 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78123         * manual/lang.texi (size_t): Note types to which size_t may be
78124         equivalent with the GNU C Library, but do not describe when
78125         differences between them are significant.
78127 2012-03-05  Andreas Jaeger  <aj@suse.de>
78129         * sysdeps/i386/fpu/libm-test-ulps: Update.
78131 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78133         [BZ #3976]
78134         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78135         (__ieee754_pow): Save and restore rounding mode and use
78136         round-to-nearest for main computations.
78137         * math/libm-test.inc (pow_test_tonearest): New function.
78138         (pow_test_towardzero): Likewise.
78139         (pow_test_downward): Likewise.
78140         (pow_test_upward): Likewise.
78141         (main): Call the new functions.
78142         * sysdeps/i386/fpu/libm-test-ulps: Update.
78143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78145         [BZ #3976]
78146         * math/libm-test.inc (cosh_test_tonearest): New function.
78147         (cosh_test_towardzero): Likewise.
78148         (cosh_test_downward): Likewise.
78149         (cosh_test_upward): Likewise.
78150         (sinh_test_tonearest): Likewise.
78151         (sinh_test_towardzero): Likewise.
78152         (sinh_test_downward): Likewise.
78153         (sinh_test_upward): Likewise.
78154         (main): Call the new functions.
78155         * sysdeps/i386/fpu/libm-test-ulps: Update.
78156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78158 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78160         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78161         default stack guard is set in last bytes.
78162         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78164 2012-03-05  Kees Cook  <keescook@chromium.org>
78166         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78168         [BZ #13656]
78169         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78170         possibly allocate from heap instead of stack.
78171         * stdio-common/bug-vfprintf-nargs.c: New file.
78172         * stdio-common/Makefile (tests): Add nargs overflow test.
78174 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78178 2012-03-03  Marek Polacek  <polacek@redhat.com>
78180         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78181         * math/math_private.h: Likewise.
78182         * stdlib/tst-strtod.c: Likewise.
78183         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78184         * sysdeps/x86_64/bits/atomic.h: Likewise.
78186 2012-03-02  David S. Miller  <davem@davemloft.net>
78188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78192         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78193         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78194         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78195         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78197 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78199         [BZ #13792]
78200         * manual/examples/README: New file, says the example source files
78201         can be used under GPL>=2.
78202         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78203         line containing just "*/".
78204         * manual/examples/add.c: Add copyright header (GPL>=2).
78205         * manual/examples/argp-ex1.c: Likewise.
78206         * manual/examples/argp-ex2.c: Likewise.
78207         * manual/examples/argp-ex3.c: Likewise.
78208         * manual/examples/argp-ex4.c: Likewise.
78209         * manual/examples/atexit.c: Likewise.
78210         * manual/examples/db.c: Likewise.
78211         * manual/examples/dir.c: Likewise.
78212         * manual/examples/dir2.c: Likewise.
78213         * manual/examples/execinfo.c: Likewise.
78214         * manual/examples/filecli.c: Likewise.
78215         * manual/examples/filesrv.c: Likewise.
78216         * manual/examples/fmtmsgexpl.c: Likewise.
78217         * manual/examples/genpass.c: Likewise.
78218         * manual/examples/inetcli.c: Likewise.
78219         * manual/examples/inetsrv.c: Likewise.
78220         * manual/examples/isockad.c: Likewise.
78221         * manual/examples/longopt.c: Likewise.
78222         * manual/examples/memopen.c: Likewise.
78223         * manual/examples/memstrm.c: Likewise.
78224         * manual/examples/mkfsock.c: Likewise.
78225         * manual/examples/mkisock.c: Likewise.
78226         * manual/examples/mygetpass.c: Likewise.
78227         * manual/examples/pipe.c: Likewise.
78228         * manual/examples/popen.c: Likewise.
78229         * manual/examples/rprintf.c: Likewise.
78230         * manual/examples/search.c: Likewise.
78231         * manual/examples/select.c: Likewise.
78232         * manual/examples/setjmp.c: Likewise.
78233         * manual/examples/sigh1.c: Likewise.
78234         * manual/examples/sigusr.c: Likewise.
78235         * manual/examples/stpcpy.c: Likewise.
78236         * manual/examples/strdupa.c: Likewise.
78237         * manual/examples/strftim.c: Likewise.
78238         * manual/examples/strncat.c: Likewise.
78239         * manual/examples/subopt.c: Likewise.
78240         * manual/examples/swapcontext.c: Likewise.
78241         * manual/examples/termios.c: Likewise.
78242         * manual/examples/testopt.c: Likewise.
78243         * manual/examples/testpass.c: Likewise.
78244         * manual/examples/timeval_subtract.c: Likewise.
78246         [BZ #13792]
78247         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78248         function to ...
78249         * manual/timeval_subtract.c.texi: ... here, new file.
78251 2012-03-02  David S. Miller  <davem@davemloft.net>
78253         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78255 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78257         [BZ #3976]
78258         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78259         (__sin): Save and restore rounding mode and use round-to-nearest
78260         for all computations.
78261         (__cos): Save and restore rounding mode and use round-to-nearest
78262         for all computations.
78263         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78264         <fenv.h>.
78265         (tan): Save and restore rounding mode and use round-to-nearest for
78266         all computations.
78267         * math/libm-test.inc (cos_test_tonearest): New function.
78268         (cos_test_towardzero): Likewise.
78269         (cos_test_downward): Likewise.
78270         (cos_test_upward): Likewise.
78271         (sin_test_tonearest): Likewise.
78272         (sin_test_towardzero): Likewise.
78273         (sin_test_downward): Likewise.
78274         (sin_test_upward): Likewise.
78275         (tan_test_tonearest): Likewise.
78276         (tan_test_towardzero): Likewise.
78277         (tan_test_downward): Likewise.
78278         (tan_test_upward): Likewise.
78279         (main): Call the new functions.
78280         * sysdeps/i386/fpu/libm-test-ulps: Update.
78281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78283         [BZ #10135]
78284         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78285         small n, then large n, before computing and testing k+n.
78286         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78287         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78288         Likewise.
78289         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78290         Likewise.
78291         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78292         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78293         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78294         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78295         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78296         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78297         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78298         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78299         * math/libm-test.inc (scalbn_test): Add more tests.
78300         (scalbln_test): Likewise.
78302         * manual/filesys.texi (mode_t): Describe constraints on size and
78303         signedness, not exact equivalence to a particular type.
78304         (ino_t): Likewise.
78305         (ino64_t): Likewise.
78306         (dev_t): Likewise.
78307         (nlink_t): Likewise.
78308         (blkcnt_t): Likewise.
78309         (blkcnt64_t): Likewise.
78310         * manual/llio.texi (off_t): Likewise.
78312         [BZ #3976]
78313         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78314         (__ieee754_exp): Save and restore rounding mode and use
78315         round-to-nearest for all computations.
78316         * math/libm-test.inc (exp_test_tonearest): New function.
78317         (exp_test_towardzero): Likewise.
78318         (exp_test_downward): Likewise.
78319         (exp_test_upward): Likewise.
78320         (main): Call the new functions.
78321         * sysdeps/i386/fpu/libm-test-ulps: Update.
78322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78324 2012-03-01  Chris Demetriou  <cgd@google.com>
78326         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78327         have predictable order.
78329 2012-03-01  David S. Miller  <davem@davemloft.net>
78331         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78333         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78334         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78335         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78336         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78338         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78339         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78340         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78342         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78343         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78344         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78345         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78346         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78350         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78351         * sysdeps/sparc/fpu/libm-test-ulps: to here.
78352         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78354         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78355         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78356         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78357         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78358         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78359         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78360         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78361         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78362         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78363         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78364         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78365         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78366         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78367         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78368         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78369         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78370         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
78371         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
78372         * sysdeps/sparc/elf/configure: Regenerated.
78374 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
78376         * configure.in (AS, LD): Require binutils 2.20 or later.
78377         * configure: Regenerated.
78378         * manual/install.texi (Tools for Compilation): Give binutils 2.20
78379         as required minimum version.
78380         * INSTALL: Regenerated.
78382         [BZ #2541]
78383         [BZ #4108]
78384         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
78385         before squaring exponent.
78386         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
78387         bottom long double and 27 bits of top long double before squaring
78388         exponent.
78389         * math/libm-test.inc (erfc_test): Add more tests.
78390         * sysdeps/i386/fpu/libm-test-ulps: Update.
78391         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78394 2012-03-01  Kai Tietz  <ktietz@redhat.com>
78396         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
78397         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
78398         containing bit-fields.
78399         * soft-fp/extended.h (_FP_UNION_E): Likewise.
78400         * soft-fp/single.h (_FP_UNION_S): Likewise.
78401         * soft-fp/double.h (_FP_UNION_D): Likewise.
78403 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78405         [BZ #13786]
78406         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
78407         not include ../strcmp.S.
78408         [USE_AS_STRNCASECMP_L]: Likewise.
78409         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
78410         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
78411         * sysdeps/i386/i686/multiarch/strncase_l-c.c
78412         (__strncasecmp_l_ia32): Define as alias to
78413         __strncasecmp_l_nonascii.
78415         [BZ #5794]
78416         * math/libm-test.inc (expm1_test): Add test for bug 5794.
78417         * sysdeps/i386/fpu/libm-test-ulps: Update.
78418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78420         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
78421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78423 2012-02-29  Jeff Law  <law@redhat.com>
78425         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
78426         out of bounds read.
78428 2012-02-29  Marek Polacek  <polacek@redhat.com>
78430         [BZ #13706]
78431         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
78432         * elf/Makefile: Add rules to run tst-unused-dep.out.
78434 2012-02-28  David S. Miller  <davem@davemloft.net>
78436         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
78437         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
78438         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
78439         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
78440         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
78441         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
78443 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78445         * math/libm-test.inc (llround_test): Move one test from
78446         lround_test.  Use TEST_f_L in moved test.
78447         (lround_test): Move misplaced test to llround_test.  Add testcase
78448         from bug 2561.
78450 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
78452         * sysdeps/x86_64/fpu/e_expf.S: New file.
78453         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
78455 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
78457         [BZ #13637]
78458         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
78459         of remain_len that may cause incomplete multi-byte character and
78460         false match.
78461         * posix/bug-regex33.c: New file.
78462         * posix/Makefile (tests): Add bug-regex33.
78464 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
78466         * manual/macros.texi: New file.
78467         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
78468         * manual/libc.texinfo: Include macros.texi.
78469         * manual/creatute.texi: Likewise.
78470         * manual/install.texi: Likewise.
78471         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
78472         @glibcadj{} in references to the GNU C Library.
78473         * manual/charset.texi: Likewise.
78474         * manual/conf.texi: Likewise.
78475         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
78476         when not using those macros.
78477         * manual/creature.texi: Likewise.
78478         * manual/crypt.texi: Likewise.
78479         * manual/errno.texi: Likewise.
78480         * manual/filesys.texi: Likewise.
78481         * manual/header.texi: Likewise.
78482         * manual/install.texi: Likewise.
78483         * manual/intro.texi: Likewise.
78484         * manual/io.texi: Likewise.
78485         * manual/job.texi: Likewise.
78486         * manual/lang.texi: Likewise.
78487         * manual/libc.texiinfo: Likewise.
78488         * manual/llio.texi: Likewise.
78489         * manual/locale.texi: Likewise.
78490         * manual/maint.texi: Likewise.
78491         * manual/math.texi: Likewise.
78492         * manual/memory.texi: Likewise.
78493         * manual/message.texi: Likewise.
78494         * manual/nss.texi: Likewise.
78495         * manual/pattern.texi: Likewise.
78496         * manual/process.texi: Likewise.
78497         * manual/resource.texi: Likewise.
78498         * manual/search.texi: Likewise.
78499         * manual/setjmp.texi: Likewise.
78500         * manual/signal.texi: Likewise.
78501         * manual/socket.texi: Likewise.
78502         * manual/startup.texi: Likewise.
78503         * manual/stdio.texi: Likewise.
78504         * manual/string.texi: Likewise.
78505         * manual/sysinfo.texi: Likewise.
78506         * manual/syslog.texi: Likewise.
78507         * manual/terminal.texi: Likewise.
78508         * manual/time.texi: Likewise.
78509         * manual/users.texi: Likewise.
78510         * INSTALL: Regenerated.
78511         * NOTES: Regenerated.
78512         * sysdeps/gnu/errlist.c: Regenerated.
78514 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
78516         * include/dirent.h: Include <dirstream.h> before
78517         <dirent/dirent.h>.
78519 2012-02-28  David S. Miller  <davem@davemloft.net>
78521         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
78522         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
78523         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
78524         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
78526 2012-02-27  David S. Miller  <davem@davemloft.net>
78528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
78529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
78530         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
78531         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
78533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
78534         frame pointer instead of stack pointer relative arg slot.
78535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78536         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78537         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78539 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
78541         [BZ #3992]
78542         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
78544 2012-02-27  David S. Miller  <davem@davemloft.net>
78546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
78547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
78550         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78551         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78552         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
78553         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
78555 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
78557         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
78558         later.  Allow versions 5-9.
78559         * configure: Regenerated.
78560         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
78561         required minimum version and 4.6 as recommended version.  Do not
78562         mention bugs in GCC 2.7 and 2.8.
78563         * INSTALL: Regenerated.
78565 2012-02-27  David S. Miller  <davem@davemloft.net>
78567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
78568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
78569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
78570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
78571         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
78572         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
78573         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
78574         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
78576         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
78577         manipulate bits before adding and subtracting TWO112[sx].
78578         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
78580 2012-02-27  Roland McGrath  <roland@hack.frob.com>
78582         [BZ #13775]
78583         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
78584         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
78585         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
78586         being in POSIX, because they are in 1003.1-2008.
78588         * rt/tst-aio.c: Include <fcntl.h>.
78589         * rt/tst-aio7.c: Likewise.
78590         * rt/tst-aio64.c: Likewise.
78592         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
78594 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
78596         * manual/install.texi (--with-headers): Describe headers as
78597         interface headers, not private headers.
78598         (Specific advice for GNU/Linux systems): Describe use of headers
78599         from "make headers_install", not private headers from older
78600         kernels.
78601         * INSTALL: Regenerated.
78602         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
78603         Change to 2.6.19.
78604         * sysdeps/unix/sysv/linux/configure: Regenerated.
78606         * manual/llio.texi (fclean): Remove documentation.
78608         * manual/Makefile (libc-texi-generated): New variable.  Include
78609         version.texi.
78610         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
78611         $(libc-texi-generated), not duplicated list of files.
78612         (version.texi, stamp-version): New rules.
78613         (realclean): Remove $(libc-texi-generated), not individual files
78614         from that list.  Do not remove dir-add.texinfo.
78615         * manual/libc.texinfo: Comment out uses of edition numbers and
78616         references to printed manual.  Remove last-updated dates.
78617         (EDITION): Comment out.
78618         (ISBN): Likewise.
78619         (VERSION, UPDATED): Remove.
78620         (version.texi): Include.
78622 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
78624         * sysdeps/posix/spawni.c: Include <signal.h>.
78625         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
78626         * sysdeps/pthread/aio_fsync.c: Likewise.
78628 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
78630         * conform/Makefile (tests): Run only when not cross-compiling and
78631         when fast-check is not defined.
78633         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
78634         * conform/data/limits.h-data: Fixes for POSIX2008.
78635         * conform/run-conformtest.sh: Run all tests.
78636         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
78637         headers.
78638         * include/bits/dlfcn.h: Likewise.
78639         * include/langinfo.h: Likewise.
78640         * include/monetary.h: Likewise.
78641         * include/sys/poll.h: Likewise.
78643         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
78644         for __USE_GNU.
78645         * posix/spawn.h: Define __need_sigset_t.
78646         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
78647         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
78648         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
78649         to get sigevent_t only.
78650         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
78651         only for __USE_GNU.
78652         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78653         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
78654         process_vm_writev only for __USE_GNU.
78655         * termios/termios.h: Declare tcgetsid also for POSIX2008.
78657         * conform/Makefile: For now ignore errors from run-conformtest.
78658         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
78659         POSIX to avoid namespace pollution.  Don't prepend headers.
78660         * conform/data/aio.h-data: Fixes for POSIX testing.
78661         * conform/data/fcntl.h-data: Likewise.
78662         * conform/data/glob.h-data: Likewise.
78663         * conform/data/grp.h-data: Likewise.
78664         * conform/data/pthread.h-data: Likewise.
78665         * conform/data/pwd.h-data: Likewise.
78666         * conform/data/signal.h-data: Likewise.
78667         * conform/data/spawn.h-data: Likewise.
78668         * conform/data/stdio.h-data: Likewise.
78669         * conform/data/stdlib.h-data: Likewise.
78670         * conform/data/stropts.h-data: Likewise.
78671         * conform/data/sys/mman.h-data: Likewise.
78672         * conform/data/sys/stat.h-data: Likewise.
78673         * conform/data/sys/types.h-data: Likewise.
78674         * conform/data/sys/wait.h-data: Likewise.
78675         * conform/data/time.h-data: Likewise.
78676         * conform/data/unistd.h-data: Likewise.
78677         * conform/data/utime.h-data: Likewise.
78679         * io/sys/stat.h: fchmod was always in POSIX.
78680         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
78681         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
78682         * rt/aio.h: Define __need_timespec before including <time.h>.
78683         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
78684         struct.  Add forward declaration of pthread_attr_t and use it in
78685         sigevent.
78686         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78687         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78688         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
78689         always remove CLK_TCK definition.
78691 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
78693         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
78695 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
78697         * conform/run-conformtest.sh: New file.
78698         * conform/Makefile: Run run-conformtest for tests.
78699         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
78700         support.
78702         * conform/data/uchar.h-data: New file.
78703         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
78704         * conform/data/arpa/inet.h-data: Likewise.
78705         * conform/data/assert.h-data: Likewise.
78706         * conform/data/complex.h-data: Likewise.
78707         * conform/data/cpio.h-data: Likewise.
78708         * conform/data/ctype.h-data: Likewise.
78709         * conform/data/dirent.h-data: Likewise.
78710         * conform/data/dlfcn.h-data: Likewise.
78711         * conform/data/errno.h-data: Likewise.
78712         * conform/data/fcntl.h-data: Likewise.
78713         * conform/data/float.h-data: Likewise.
78714         * conform/data/fmtmsg.h-data: Likewise.
78715         * conform/data/fnmatch.h-data: Likewise.
78716         * conform/data/ftw.h-data: Likewise.
78717         * conform/data/glob.h-data: Likewise.
78718         * conform/data/grp.h-data: Likewise.
78719         * conform/data/iconv.h-data: Likewise.
78720         * conform/data/inttypes.h-data: Likewise.
78721         * conform/data/langinfo.h-data: Likewise.
78722         * conform/data/libgen.h-data: Likewise.
78723         * conform/data/limits.h-data: Likewise.
78724         * conform/data/locale.h-data: Likewise.
78725         * conform/data/math.h-data: Likewise.
78726         * conform/data/monetary.h-data: Likewise.
78727         * conform/data/mqueue.h-data: Likewise.
78728         * conform/data/ndbm.h-data: Likewise.
78729         * conform/data/net/if.h-data: Likewise.
78730         * conform/data/netdb.h-data: Likewise.
78731         * conform/data/netinet/in.h-data: Likewise.
78732         * conform/data/nl_types.h-data: Likewise.
78733         * conform/data/poll.h-data: Likewise.
78734         * conform/data/pthread.h-data: Likewise.
78735         * conform/data/pwd.h-data: Likewise.
78736         * conform/data/regex.h-data: Likewise.
78737         * conform/data/sched.h-data: Likewise.
78738         * conform/data/search.h-data: Likewise.
78739         * conform/data/semaphore.h-data: Likewise.
78740         * conform/data/setjmp.h-data: Likewise.
78741         * conform/data/signal.h-data: Likewise.
78742         * conform/data/spawn.h-data: Likewise.
78743         * conform/data/stdarg.h-data: Likewise.
78744         * conform/data/stdio.h-data: Likewise.
78745         * conform/data/stdlib.h-data: Likewise.
78746         * conform/data/string.h-data: Likewise.
78747         * conform/data/strings.h-data: Likewise.
78748         * conform/data/stropts.h-data: Likewise.
78749         * conform/data/sys/ipc.h-data: Likewise.
78750         * conform/data/sys/mman.h-data: Likewise.
78751         * conform/data/sys/msg.h-data: Likewise.
78752         * conform/data/sys/resource.h-data: Likewise.
78753         * conform/data/sys/select.h-data: Likewise.
78754         * conform/data/sys/sem.h-data: Likewise.
78755         * conform/data/sys/shm.h-data: Likewise.
78756         * conform/data/sys/socket.h-data: Likewise.
78757         * conform/data/sys/stat.h-data: Likewise.
78758         * conform/data/sys/statvfs.h-data: Likewise.
78759         * conform/data/sys/time.h-data: Likewise.
78760         * conform/data/sys/timeb.h-data: Likewise.
78761         * conform/data/sys/times.h-data: Likewise.
78762         * conform/data/sys/types.h-data: Likewise.
78763         * conform/data/sys/uio.h-data: Likewise.
78764         * conform/data/sys/un.h-data: Likewise.
78765         * conform/data/sys/utsname.h-data: Likewise.
78766         * conform/data/sys/wait.h-data: Likewise.
78767         * conform/data/syslog.h-data: Likewise.
78768         * conform/data/tar.h-data: Likewise.
78769         * conform/data/termios.h-data: Likewise.
78770         * conform/data/utime.h-data: Likewise.
78771         * conform/data/utmpx.h-data: Likewise.
78772         * conform/data/varargs.h-data: Likewise.
78773         * conform/data/wchar.h-data: Likewise.
78774         * conform/data/wctype.h-data: Likewise.
78775         * conform/data/wordexp.h-data: Likewise.
78777         * include/stropts.h: New file.
78778         * include/uchar.h: New file.
78779         * include/aio.h: Changes to allow conformtest.pl to use the headers.
78780         * include/assert.h: Likewise.
78781         * include/ctype.h: Likewise.
78782         * include/dirent.h: Likewise.
78783         * include/dlfcn.h: Likewise.
78784         * include/fcntl.h: Likewise.
78785         * include/fnmatch.h: Likewise.
78786         * include/glob.h: Likewise.
78787         * include/grp.h: Likewise.
78788         * include/libio.h: Likewise.
78789         * include/locale.h: Likewise.
78790         * include/math.h: Likewise.
78791         * include/net/if.h: Likewise.
78792         * include/netdb.h: Likewise.
78793         * include/netinet/in.h: Likewise.
78794         * include/pthread.h: Likewise.
78795         * include/pwd.h: Likewise.
78796         * include/regex.h: Likewise.
78797         * include/sched.h: Likewise.
78798         * include/search.h: Likewise.
78799         * include/setjmp.h: Likewise.
78800         * include/signal.h: Likewise.
78801         * include/stdio.h: Likewise.
78802         * include/stdlib.h: Likewise.
78803         * include/string.h: Likewise.
78804         * include/sys/cdefs.h: Likewise.
78805         * include/sys/mman.h: Likewise.
78806         * include/sys/msg.h: Likewise.
78807         * include/sys/resource.h: Likewise.
78808         * include/sys/select.h: Likewise.
78809         * include/sys/socket.h: Likewise.
78810         * include/sys/stat.h: Likewise.
78811         * include/sys/statvfs.h: Likewise.
78812         * include/sys/time.h: Likewise.
78813         * include/sys/times.h: Likewise.
78814         * include/sys/uio.h: Likewise.
78815         * include/sys/utsname.h: Likewise.
78816         * include/sys/wait.h: Likewise.
78817         * include/termios.h: Likewise.
78818         * include/time.h: Likewise.
78819         * include/ulimit.h: Likewise.
78820         * include/unistd.h: Likewise.
78821         * include/utime.h: Likewise.
78822         * include/wchar.h: Likewise.
78823         * include/wctype.h: Likewise.
78824         * include/wordexp.h: Likewise.
78826         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
78828         * time/time.h: TIME_UTC must be a macro.
78829         Make timespec_get available for ISO C11 only as well.
78831 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
78833         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
78834         Reported by Peng Haitao <penght@cn.fujitsu.com>.
78836 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
78838         * configure.in: Use -o not -a in test for unsupported multi-arch.
78840 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
78842         * manual/texinfo.tex: Update to version 2012-01-19.16.
78844 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
78846         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
78848 2012-02-24  Roland McGrath  <roland@hack.frob.com>
78850         [BZ #13738]
78851         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
78852         * manual/fdl-1.3.texi: New file.
78853         * manual/fdl-1.1.texi: File removed.
78855         [BZ #13738]
78856         * manual/libc.texinfo (FDL_VERSION): New @set.
78857         Use it for mention of FDL in cover text.
78858         (Documentation License): Use it in @include file name.
78860 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78861             Roland McGrath  <roland@hack.frob.com>
78863         [BZ #5461]
78864         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
78865         (not LONG_LONG_MAX and LONG_LONG_MIN.
78866         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
78867         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
78868         name.
78869         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
78871 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78873         [BZ #2547]
78874         [BZ #11365]
78875         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
78876         manipulate bits before adding and subtracting TWO23[sx].
78877         * math/libm-test.inc (nearbyint_test): Add more tests.
78879 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78881         [BZ #2548]
78882         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
78883         bits before adding and subtracting TWO23[sx].
78884         * math/libm-test.inc (rint_test): Add more tests.
78885         (rint_test_tonearest): Likewise.
78886         (rint_test_towardzero): Likewise.
78887         (rint_test_downward): Likewise.
78888         (rint_test_upward: Likewise.
78890 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78892         [BZ #10110]
78893         * include/stdc-predef.h: New file.  Extracted from features.h.
78894         * include/features.h: Include stdc-predef.h.
78895         * Makefile (headers): Add stdc-predef.h.
78896         * CONFORMANCE (Compiler limitations): Update.
78898 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78900         * manual/libc.texinfo (VERSION, UPDATED): Revert.
78902 2012-02-21  David S. Miller  <davem@davemloft.net>
78904         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
78905         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
78907 2012-02-20  David S. Miller  <davem@davemloft.net>
78909         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
78910         using a normal save/restore sequence, rather than allocating a
78911         dummy stack frame just to store a frame pointer and restore.
78912         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78914 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
78916         * manual/install.texi: Fix stray word in line-wrapped comment.
78918 2012-02-20  David S. Miller  <davem@davemloft.net>
78920         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
78921         both binutils and gcc support GOTDATA.
78923         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
78924         "rd %pc" in the PIC register setup sequences.
78926         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
78927         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
78928         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78929         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
78930         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78932         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78933         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78934         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
78935         (SYSCALL_ERROR_HANDLER): Likewise.
78936         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78937         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78938         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
78939         (SYSCALL_ERROR_HANDLER): Likewise.
78941         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
78942         (HAVE_GCC_GOTDATA): New.
78943         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
78944         relocation support in both binutils and gcc.
78945         * sysdeps/sparc/elf/configure: Regenerate.
78947         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
78948         * sysdeps/sparc/sparc32/elf/configure: Delete.
78949         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
78950         * sysdeps/sparc/sparc64/elf/configure: Delete.
78951         * sysdeps/sparc/elf/configure.in: New file.
78952         * sysdeps/sparc/elf/configure: Generate.
78954         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
78955         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
78956         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78957         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
78958         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
78960 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
78962         * manual/install.texi: Do not mention specific glibc version
78963         numbers.
78964         * manual/libc.texinfo (VERSION, UPDATED): Update.
78965         (@copying): Use @copyright{} and range of years.
78967 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
78969         [BZ #13695]
78970         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
78971         [crti.S not in sysdirs] (generated): Do not append.
78972         [crti.S not in sysdirs] (omit-deps): Likewise.
78973         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
78974         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
78975         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
78976         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
78977         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
78978         Likewise.
78979         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
78980         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
78981         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
78982         * csu/defs.awk: Remove file.
78983         * sysdeps/generic/initfini.c: Likewise.
78984         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
78985         variable.
78986         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
78987         Likewise.
78989 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
78991         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
78992         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
78993         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
78994         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
78995         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78996         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
78997         <bits/epoll.h>.
78998         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
78999         (__EPOLL_PACKED): Define to empty if not defined by
79000         <bits/epoll.h>.
79001         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
79002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79003         bits/epoll.h.
79005 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79007         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
79008         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
79009         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
79010         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
79011         <bits/timerfd.h>.
79012         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
79013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79014         bits/timerfd.h.
79016 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79018         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
79019         in C locale.
79020         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79021         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
79022         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
79023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79025 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
79027         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79028         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79030 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
79032         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
79033         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
79034         defined.
79035         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
79036         Likewise.
79037         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
79038         entry for 2.16.
79040 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
79042         * math/w_acos.c: Use non-signaling floating-point comparisons.
79043         * math/w_acosf.c: Likewise.
79044         * math/w_acosh.c: Likewise.
79045         * math/w_acoshf.c: Likewise.
79046         * math/w_acoshl.c: Likewise.
79047         * math/w_acosl.c: Likewise.
79048         * math/w_asin.c: Likewise.
79049         * math/w_asinf.c: Likewise.
79050         * math/w_asinl.c: Likewise.
79051         * math/w_atanh.c: Likewise.
79052         * math/w_atanhf.c: Likewise.
79053         * math/w_atanhl.c: Likewise.
79054         * math/w_exp2.c: Likewise.
79055         * math/w_exp2f.c: Likewise.
79056         * math/w_exp2l.c: Likewise.
79057         * math/w_j0.c: Likewise.
79058         * math/w_j0f.c: Likewise.
79059         * math/w_j0l.c: Likewise.
79060         * math/w_j1.c: Likewise.
79061         * math/w_j1f.c: Likewise.
79062         * math/w_j1l.c: Likewise.
79063         * math/w_jn.c: Likewise.
79064         * math/w_jnf.c: Likewise.
79065         * math/w_log.c: Likewise.
79066         * math/w_log10.c: Likewise.
79067         * math/w_log10f.c: Likewise.
79068         * math/w_log10l.c: Likewise.
79069         * math/w_log2.c: Likewise.
79070         * math/w_log2f.c: Likewise.
79071         * math/w_log2l.c: Likewise.
79072         * math/w_logf.c: Likewise.
79073         * math/w_logl.c: Likewise.
79074         * math/w_sqrt.c: Likewise.
79075         * math/w_sqrtf.c: Likewise.
79076         * math/w_sqrtl.c: Likewise.
79077         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79078         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79079         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79080         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79081         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79083 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79085         [BZ #9739]
79086         * manual/string.texi (strnlen): Use correct parameter name in
79087         equivalent expression.
79089 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79091         [BZ #11174]
79092         * manual/users.texi (seteuid): Consistently use neweuid for
79093         argument name.
79095 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79097         [BZ #13704]
79098         * manual/nss.texi (Services in the NSS configuration): Correct
79099         list of services in example configuration file.
79101 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79103         [BZ #11322]
79104         * manual/arith.texi: Remove statements about negative zero
79105         behaving identically to zero.
79107 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79109         [BZ #5993]
79110         * manual/install.texi: Do not document upgrading from libc5.
79112 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79114         [BZ #4596]
79115         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79117 2012-02-18  David S. Miller  <davem@davemloft.net>
79119         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79120         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79121         %o7 across the call.
79122         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79123         instead.
79124         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79125         SETUP_PIC_REG_LEAF.
79126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79127         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79128         * sysdeps/sparc/crtn.S: Likewise.
79130 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79132         * aout/Makefile: Remove.
79134 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79136         [BZ #13058]
79137         * manual/examples/argp-ex1.c (main): Format definition in GNU
79138         style.
79139         * manual/examples/argp-ex2.c (main): Likewise.
79140         * manual/examples/argp-ex3.c (main): Likewise.
79141         * manual/examples/argp-ex4.c (main): Likewise.
79142         * manual/examples/longopt.c (main): Use new-style prototype
79143         definition.
79144         * manual/examples/strncat.c (main): Specify return type and use
79145         (void) for arguments.
79146         * manual/examples/subopt.c (main): Use char **argv argument.
79148 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79150         [BZ #5077]
79151         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79152         rounding modes.
79154 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79156         [BZ #6907]
79157         * manual/string.texi (strchr): Change when strchrnul is
79158         recommended.
79160 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79162         [BZ #174]
79163         * manual/locale.texi (setlocale): Document LOCPATH.
79165 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79167         [BZ #10210]
79168         * manual/process.texi (execle): Move @dots{} before last argument.
79170 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79172         [BZ #12047]
79173         * manual/charset.texi (Generic Charset Conversion): Fix typo
79174         (LC_TYPE -> LC_CTYPE).
79176 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79178         [BZ #5805]
79179         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79180         (scalbnf): Likewise.
79181         (scalbnl): Likewise.
79182         (scalbln): Likewise.
79183         (scalblnf): Likewise.
79184         (scalblnl): Likewise.
79185         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79186         (vwarnx): Likewise.
79187         (verr): Likewise.
79188         (verrx): Likewise.
79189         * manual/filesys.texi (telldir): Use braces around return type.
79190         * manual/llio.texi (mmap): Add space after comma.
79191         (mmap64): Likewise.
79192         * manual/math.texi (jn): Use @var{} on parameter names.
79193         (jnf): Likewise.
79194         (jnl): Likewise.
79195         (yn): Likewise.
79196         (ynf): Likewise.
79197         (ynl): Likewise.
79198         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79199         line.
79200         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79201         "...".
79202         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79203         (sched_get_priority_max): Likewise.
79204         * manual/signal.texi (sigvec): Add space after comma.
79205         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79206         names.
79207         (if_indextoname): Likewise.
79208         (if_freenameindex): Likewise.
79209         (sendto): Use ',' instead of '.' in prototype.
79210         * manual/startup.texi (syscall): Use @dots{} instead of literal
79211         "...".
79212         * manual/stdio.texi (__fpending): Separate initial words of
79213         paragraph from @deftypefun line.
79214         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79215         "...".
79216         (vsyslog): Use @var{} on parameter names.
79217         * manual/terminal.texi (stty): Use @var{} on parameter names.
79218         * manual/users.texi (getutmp): Use @var{} on parameter names.
79219         (getutmpx): Likewise.
79221 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79223         [BZ #6884]
79224         * manual/stdio.texi (fopen): Fix typos in description of
79225         ",ccs=STRING".
79227 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79229         [BZ #4026]
79230         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79231         get clock_id definition.
79233 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79235         [BZ #4822]
79236         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79237         (madvise): Cast every argument to void on its own.
79239 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79241         [BZ #9902]
79242         * manual/startup.texi (Exit Status): Fix typo.
79244 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79246         [BZ #10140]
79247         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79248         * manual/examples/argp-ex2.c: Likewise.
79249         * manual/examples/argp-ex3.c: Likewise.
79251 2012-02-16  Richard Henderson  <rth@redhat.com>
79253         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79254         * sysdeps/s390/s390-32/initfini.c: Remove.
79255         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79256         * sysdeps/s390/s390-64/initfini.c: Remove.
79258 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79260         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79261         compiler output for sysdeps/generic/initfini.c.
79262         * sysdeps/sh/elf/initfini.c: Remove file.
79264 2012-02-16  David S. Miller  <davem@davemloft.net>
79266         [BZ #11494]
79267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79269         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79270         * sysdeps/sparc/crti.S: New file.
79271         * sysdeps/sparc/crtn.S: New file.
79272         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79273         * sysdeps/sparc/sparc64/Makefile: Likewise.
79275 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79277         [BZ #3335]
79278         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79280 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79282         [BZ #4822]
79283         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79285         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79286         (write, read, close): Likewise.
79287         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79289 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79291         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79292         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79293         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79294         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79295         <bits/signalfd.h>.
79296         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79298         bits/signalfd.h.
79300 2012-02-14  Marek Polacek  <polacek@redhat.com>
79302         * sysdeps/x86_64/crti.S: New file.
79303         * sysdeps/x86_64/crtn.S: New file.
79304         * sysdeps/x86_64/elf/initfini.c: Remove file.
79306 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79308         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79309         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79310         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79311         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79312         <bits/inotify.h>.
79313         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79315         bits/inotify.h.
79317 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79319         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79320         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79321         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79322         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79323         <bits/eventfd.h>.
79324         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79326         bits/eventfd.h.
79328 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79330         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79331         __feraiseexcept instead of feraiseexcept.
79333         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79334         nanosleep invocations.
79335         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79336         strings, and add error checking for a nanosleep invocations.
79338 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
79340         Replace FSF snail mail address with URLs, as per GNU coding standards.
79341         Most of the snail mail addresses were wrong anyway, and omitting
79342         them makes the source code easier to maintain.  Almost all of the
79343         changes are to license notices and to locale LC_IDENTIFICATION
79344         addresses, except for this one:
79345         * manual/libc.texinfo: In "Published by", give the FSF's URL,
79346         not its snail mail address.
79348 2012-02-09  Richard Henderson  <rth@twiddle.net>
79350         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79351         of kernel-features.h.
79353         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79355 2012-02-08  Marek Polacek  <polacek@redhat.com>
79357         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79358         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79359         * sysdeps/gnu/_G_config.h: Likewise.
79360         * sysdeps/generic/_G_config.h: Likewise.
79362 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
79364         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79365         tests.
79366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79368         * sysdeps/powerpc/powerpc32/crti.S: New file.
79369         * sysdeps/powerpc/powerpc32/crtn.S: New file.
79370         * sysdeps/powerpc/powerpc64/crti.S: New file.
79371         * sysdeps/powerpc/powerpc64/crtn.S: New file.
79373         * Makeconfig (have-initfini): Don't set.
79374         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
79375         * configure.in (nopic_initfini): Don't substitute.
79376         * config.h.in (HAVE_INITFINI): Don't #undef.
79377         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
79378         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
79380 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
79382         Support crti.S and crtn.S provided directly by architectures.
79383         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
79384         [crti.S in sysdirs] (omit-deps): Likewise.
79385         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
79386         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
79387         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
79388         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
79389         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
79390         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
79391         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
79392         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
79393         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
79394         compiler output for sysdeps/generic/initfini.c.
79395         * sysdeps/i386/elf/Makefile: Remove file.
79396         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
79398 2012-02-07  Marek Polacek  <polacek@redhat.com>
79400         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
79401         * sysdeps/gnu/_G_config.h: Likewise.
79402         * sysdeps/mach/hurd/_G_config.h: Likewise.
79404 2012-02-07  Marek Polacek  <polacek@redhat.com>
79406         * math/Makefile (tests): Add tst-CMPLX2.
79407         * math/tst-CMPLX2.c: New file.
79409 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
79411         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79413         * math/libm-test.inc (jn_test): Add missing L suffix.
79415 2012-02-06  Marek Polacek  <polacek@redhat.com>
79417         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
79418         * sysdeps/i386/fpu/e_powf.S: Likewise.
79419         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79420         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79421         * sysdeps/i386/fpu/e_acosh.S: Likewise.
79422         * sysdeps/i386/fpu/e_pow.S: Likewise.
79423         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
79424         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79425         * sysdeps/i386/fpu/s_expm1.S: Likewise.
79426         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
79427         * sysdeps/i386/fpu/e_log2.S: Likewise.
79428         * sysdeps/i386/fpu/e_log2l.S: Likewise.
79429         * sysdeps/i386/fpu/e_scalb.S: Likewise.
79430         * sysdeps/i386/fpu/e_powl.S: Likewise.
79431         * sysdeps/i386/fpu/s_log1p.S: Likewise.
79432         * sysdeps/i386/fpu/e_log10f.S: Likewise.
79433         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
79434         * sysdeps/i386/fpu/e_logl.S: Likewise.
79435         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
79436         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
79437         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
79438         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
79439         * sysdeps/i386/fpu/e_log2f.S: Likewise.
79440         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79441         * sysdeps/i386/fpu/e_log.S: Likewise.
79442         * sysdeps/i386/fpu/s_cexp.S: Likewise.
79443         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79444         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
79445         * sysdeps/i386/fpu/e_logf.S: Likewise.
79446         * sysdeps/i386/fpu/e_log10l.S: Likewise.
79447         * sysdeps/i386/fpu/e_atanh.S: Likewise.
79448         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
79449         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
79450         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79451         * sysdeps/i386/fpu/e_log10.S: Likewise.
79452         * sysdeps/i386/fpu/s_frexp.S: Likewise.
79453         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79454         * sysdeps/i386/fpu/s_asinh.S: Likewise.
79455         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
79456         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79457         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
79458         * sysdeps/i386/asm-syntax.h: Likewise.
79459         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
79460         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79461         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
79462         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
79463         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
79464         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
79465         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
79466         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
79467         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
79468         * sysdeps/powerpc/sysdep.h: Likewise.
79469         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
79470         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79472 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79474         [BZ #411]
79475         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
79477 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79479         * sysdeps/i386/sysdep.h: Include <features.h>.
79480         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
79481         version.
79483 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
79485         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
79486         Define.
79487         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
79488         LOAD_PIC_REG_STR.
79490 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79492         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
79493         (SETUP_PIC_REG): Use GET_PC_THUNK.
79494         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
79495         macro.
79497 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79499         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
79500         for non-PIC compilation.
79501         (SETUP_PIC_REG): Add .p2align directive.
79502         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
79503         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
79504         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
79505         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
79506         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
79507         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
79508         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
79509         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79510         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
79511         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
79512         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
79513         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
79514         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
79515         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
79516         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
79517         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
79518         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
79519         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
79520         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
79521         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
79522         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
79523         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
79524         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
79525         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
79526         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
79527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
79528         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79529         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
79530         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
79531         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
79532         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
79533         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79534         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
79535         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
79536         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
79537         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
79538         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
79539         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
79540         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
79541         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
79542         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
79544 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79546         * math/tst-CMPLX.c: Include <stdio.h>.
79548 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
79550         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
79551         float.
79552         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
79553         * sysdeps/sparc/bits/mathdef.h: Likewise.
79555 2012-01-31  Marek Polacek  <polacek@redhat.com>
79557         * libio/libio.h: Don't define _PARAMS.
79558         * locale/programs/config.h: Don't define PARAMS.
79559         * stdlib/strtol_l.c: Likewise.
79560         (__strtol_l): Remove PARAMS from the prototype.
79562 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
79564         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
79565         names.  Just use the correct names.  Remove unnecessary wrapper
79566         functions.
79567         * malloc/arena.c: Likewise.
79568         * malloc/hooks.c: Likewise.
79570         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
79571         ARENA_TEST says not to.  Simplify test for creation of a new arena.
79572         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
79574 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
79576         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
79577         into tail calls.
79578         (update_get_addr): New function.
79579         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
79580         GET_ADDR_MODULE parameter.
79582 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
79584         * crypt/cert.c: Remove __STDC__ conditionals.
79585         * crypt/crypt-entry.c: Likewise.
79586         * crypt/crypt_util.c: Likewise.
79587         * libio/filedoalloc.c: Likewise.
79588         * libio/fileops.c: Likewise.
79589         * libio/genops.c: Likewise.
79590         * libio/iofclose.c: Likewise.
79591         * libio/iofdopen.c: Likewise.
79592         * libio/iofopen.c: Likewise.
79593         * libio/iofopen64.c: Likewise.
79594         * libio/iogetdelim.c: Likewise.
79595         * libio/iopopen.c: Likewise.
79596         * libio/obprintf.c: Likewise.
79597         * libio/oldfileops.c: Likewise.
79598         * libio/oldiofclose.c: Likewise.
79599         * libio/oldiofdopen.c: Likewise.
79600         * libio/oldiofopen.c: Likewise.
79601         * libio/oldiopopen.c: Likewise.
79602         * libio/wfiledoalloc.c: Likewise.
79603         * libio/wgenops.c: Likewise.
79604         * locale/programs/xmalloc.c: Likewise.
79605         * misc/syslog.c: Likewise.
79606         * stdio-common/xbug.c: Likewise.
79607         * string/memchr.c: Likewise.
79608         * string/memcmp.c: Likewise.
79609         * string/memrchr.c: Likewise.
79610         * string/rawmemchr.c: Likewise.
79611         * sysdeps/posix/getcwd.c: Likewise.
79612         * time/strftime_l.c: Likewise.
79614 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
79616         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
79617         * config.make.in (config-cflags-sse2avx): Define.
79618         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
79619         Fix typo.
79621 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
79623         * scripts/config.guess: Update from upstream config git repository.
79624         * scripts/config.sub: Likewise.
79626 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
79628         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
79629         (EM_NUM): Update.
79630         (R_TILEPRO_*, R_TILEGX_*): New macros.
79632         * scripts/firstversions.awk: Fix bug in version range handling.
79634         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
79636         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
79638         * include/sys/epoll.h: New file.
79639         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
79640         libc_hidden_def.
79642 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
79644         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
79645         Avoid unnecessary __WORDSIZE == 64 test.
79646         (fmaxf): Use VEX format if possible.
79647         (fmax): Likewise.
79648         (fminf): Likewise.
79649         (fmin): Likewise.
79651         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
79652         * math/math_private.h: Remove libc_fegetround* and
79653         libc_fesetround*.
79654         * sysdeps/i386/configure.in: Check for -msse2avx.
79655         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
79656         also if SSE2AVX is defined.
79657         Remove libc_fegetround* and libc_fesetround*.
79658         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
79659         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
79660         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
79661         of HAS_YMM_USABLE.
79662         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79663         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79664         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79665         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79666         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79668         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
79670 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79672         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
79673         size is not set.
79674         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79676 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
79678         [BZ #13618]
79679         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
79680         relocation.
79681         * Makeconfig (libm): Define.
79682         * elf/Makefile: Add rules to build and run tst-relsort1.
79683         * elf/tst-relsort1.c: New file.
79684         * elf/tst-relsort1mod1.c: New file.
79685         * elf/tst-relsort1mod2.c: New file.
79687 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
79689         * math/s_ldexp.c: Remove __STDC__ conditionals.
79690         * math/s_ldexpf.c: Likewise.
79691         * math/s_ldexpl.c: Likewise.
79692         * math/s_nextafter.c: Likewise.
79693         * math/s_nexttowardf.c: Likewise.
79694         * math/s_significand.c: Likewise.
79695         * math/s_significandf.c: Likewise.
79696         * math/s_significandl.c: Likewise.
79697         * math/w_jnl.c: Likewise.
79698         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79699         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79700         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79701         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79702         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79704         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
79705         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79706         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79707         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79708         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79709         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79710         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79711         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79712         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79713         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79714         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79715         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79716         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79717         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79718         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79719         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79720         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79721         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79722         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79723         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79724         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79725         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79726         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79727         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79728         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79729         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79730         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79731         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79732         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79733         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79734         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79735         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79736         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79737         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79738         * sysdeps/ieee754/k_standard.c: Likewise.
79739         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79740         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79741         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79742         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79743         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79744         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79745         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79746         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79747         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79748         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79749         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79750         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79751         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79752         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79753         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79754         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79755         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79756         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79757         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79758         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79759         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79760         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79761         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79762         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79763         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79764         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79767         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79768         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79769         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79770         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
79771         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79772         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79773         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79774         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79775         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
79776         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79777         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79778         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
79779         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
79780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79781         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
79782         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
79783         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79784         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
79785         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
79786         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79787         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79788         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
79789         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
79790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79791         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79792         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79793         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79794         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79795         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
79796         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79797         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79798         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79799         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79800         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79801         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79802         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79803         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79804         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79805         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79806         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79807         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79808         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79809         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79810         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79811         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79812         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79813         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79814         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79815         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79816         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79817         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79818         * sysdeps/ieee754/s_matherr.c: Likewise.
79819         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79820         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79821         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79822         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79824 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
79826         * crypt/md5.h: Remove __STDC__ conditionals.
79827         * libio/libioP.h: Likewise.
79828         * locale/programs/config.h: Likewise.
79829         * sysdeps/generic/sysdep.h: Likewise.
79830         * sysdeps/i386/asm-syntax.h: Likewise.
79831         * sysdeps/s390/asm-syntax.h: Likewise.
79832         * sysdeps/unix/sysdep.h: Likewise.
79833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
79834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
79836 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
79838         * libio/libio.h: Remove __STDC__ conditionals.
79839         * malloc/obstack.h: Likewise.
79840         * math/complex.h: Likewise.
79841         * math/math.h: Likewise.
79842         * sysdeps/generic/_G_config.h: Likewise.
79843         * sysdeps/gnu/_G_config.h: Likewise.
79844         * sysdeps/mach/hurd/_G_config.h: Likewise.
79845         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79846         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
79847         * sysdeps/sparc/bits/mathdef.h: Likewise.
79849 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
79851         [BZ #13583]
79852         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
79853         Clean up HAS_* macros.
79854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
79855         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
79856         possible.
79857         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
79858         HAS_AVX.
79859         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79860         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79861         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79862         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79863         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79865 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
79867         * elf/tst-unique3.cc (gets): Remove declaration.
79868         * elf/tst-unique3lib.cc (gets): Likewise.
79869         * elf/tst-unique3lib2.cc (gets): Likewise.
79870         * elf/tst-unique4.cc (gets): Likewise.
79872 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
79874         * include/stdio.h: Add C++ protection.  Add gets declarations and
79875         definitions.
79876         * debug/tst-chk1.c: Don't declare gets here.
79877         * stdio-common/tst-gets.c: Likewise.
79879 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
79881         * posix/glob: Remove directory.
79883 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
79885         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
79887 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
79889         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
79890         of the non-standard EPFNOSUPPORT.
79892 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79894         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
79895         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
79896         ANYWHERE set to 1 only on KERN_NO_SPACE error.
79898 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
79900         * wcsmbs/uchar.h: Test __STDC_VERSION__.
79902 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
79904         * nscd/aicache.c (addhstaiX): Do not cache negative results of
79905         transient errors.
79906         * nscd/grpcache.c (cache_addgr): Likewise.
79907         * nscd/hstcache.c (cache_addhst): Likewise.
79908         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79909         * nscd/pwdcache.c (cache_addpw): Likewise.
79910         * nscd/servicescache.c (cache_addserv): Likewise.
79912 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
79914         * malloc/malloc.c: Various cleanups.
79915         * malloc/hooks.c: Likewise.
79917         * stdlib/Makefile (tests): Add bug-fmtmsg1.
79918         * stdlib/bug-fmtmsg1.c: New file.
79920         * stdlib/fmtmsg.c (init): Add missing unlock.
79921         Patch by Peng Haitao <penght@cn.fujitsu.com>.
79923 2012-01-12  Marek Polacek  <polacek@redhat.com>
79925         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
79926         and _GNU_SOURCE.
79928 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79930         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
79931         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
79932         macro to ensure uniqueness of label name.
79933         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79934         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79936 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
79938         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
79940         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
79941         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79942         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
79945 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
79947         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
79949         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
79950         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79951         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79953         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
79955         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
79956         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79957         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79958         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
79960         * math/bits/math-finite.h: Add ldexp support.
79962 2012-01-10  Marek Polacek  <polacek@redhat.com>
79964         * locale/programs/localedef.h (show_archive_content): Add noreturn
79965         attribute.
79967 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
79969         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
79971 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
79973         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
79975         * io/Makefile (headers): Add bits/poll2.h.
79977 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
79979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
79980         typo #include statement.
79982 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
79984         * include/sys/cdefs.h: Define __attribute_alloc_size.
79985         * catgets/gencat.c: Add alloc_size attribute and apply consistently
79986         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
79987         * elf/pldd.c: Likewise.
79988         * iconv/iconv_charmap.c: Likewise.
79989         * iconv/iconvconfig.c: Likewise.
79990         * iconv/strtab.c: Likewise.
79991         * locale/programs/locale.c: Likewise.
79992         * locale/programs/localedef.h: Likewise.
79993         * locale/programs/simple-hash.c: Likewise.
79994         * nscd/nscd.h: Likewise.
79995         * nss/makedb.c: Likewise.
79996         * sysdeps/generic/ldconfig.h: Likewise.
79997         * locale/programs/localedef.c: Remove xmalloc prototype.
79998         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
80000 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80002         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
80003         appropriate.
80005 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80007         * math/Makefile (tests): Add tst-CMPLX.
80008         * math/tst-CMPLX.c: New file.
80010         * math/complex.h (CMPLXL): Fix typo.
80012         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
80013         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
80014         GLIBC_2.16.
80015         * debug/tst-chk1.c: Add poll and ppoll tests.
80016         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
80017         * include/sys/poll.h: Add hidden proto for ppoll.
80018         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
80019         * sysdeps/mach/hurd/ppoll.c: Likewise.
80020         * io/ppoll.c: Likewise.
80021         * debug/poll_chk.c: New file.
80022         * debug/ppoll_chk.c: New file.
80023         * include/bits/poll2.h: New file.
80024         * io/bits/poll2.h: New file.
80026         [BZ #1350]
80027         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
80029         * configure.in: static is always set to yes.  Remove.
80030         * config.make.in: Don't set build-static.
80031         * Makeconfig: Remove use of build-static.
80032         * dlfcn/Makefile: Likewise.
80033         * elf/Makefile: Likewise.
80034         * math/Makefile: Likewise.
80035         * misc/Makefile: Likewise.
80036         * nptl/Makefile: Likewise.
80037         * sysdeps/mach/hurd/Makefile: Likewise.
80039         * configure.in: PWD_P is not used anymore.
80040         * config.make.in: Remove PWD_P entry.
80042         * configure.in: Remove last remnants of RANLIB.
80043         No need to check for signed size_t anymore.
80044         Don't set libc_commonpagesize and libc_relro_required here for Alpha
80045         and IA-64.
80046         Remove __builtin_expect test because we require at least gcc 3.4.
80047         * aclocal.m4: Likewise.
80049         * wcsmbs/mbrtoc16.c: Implement using towc function.
80050         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80051         * wcsmbs/wcsmbsload.c: Likewise.
80052         * iconv/gconv_simple.c: Likewise.
80053         * iconv/gconv_int.h: Likewise.
80054         * iconv/gconv_builtin.h: Likewise.
80055         * iconv/iconv_prog.c: Remove CHAR16 handling.
80057         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80059         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80061         * configure.in: Remove --with-elf and --enable-bounded options.
80062         Dont set base_machine for ia64.  More non-ELF conditions removed.
80063         Remove testing and setting of leading underscore information.
80064         * config.make.in (build-bounded): Set to no.
80065         * config.h.in: Remove NO_UNDERSCORES entry.
80066         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
80067         them.
80068         * csu/start.c: Remove !NO_UNDERSCORE code.
80069         * locale/localeinfo.h: Likewise.
80070         * sysdeps/generic/machine-gmon.h: Likewise.
80071         * sysdeps/generic/sysdep.h: Likewise.
80072         * sysdeps/i386/sysdep.h: Likewise.
80073         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80074         * sysdeps/mach/sysdep.h: Likewise.
80075         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80076         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80077         * sysdeps/sh/sysdep.h: Likewise.
80078         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80079         * sysdeps/unix/i386/sysdep.S: Likewise.
80080         * sysdeps/unix/sparc/start.c: Likewise.
80081         * sysdeps/unix/sparc/sysdep.S: Likewise.
80082         * sysdeps/unix/sparc/sysdep.h: Likewise.
80083         * sysdeps/unix/start.c: Likewise.
80084         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80085         * sysdeps/x86_64/sysdep.h: Likewise.
80087 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80089         [BZ #13553]
80090         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80091         for non-gcc.
80092         * argp/argp-fmtstream.h: Use const instead __const.
80093         * argp/argp.h: Likewise.
80094         * assert/assert.h: Likewise.
80095         * bits/fenv.h: Likewise.
80096         * bits/sched.h: Likewise.
80097         * bits/sigset.h: Likewise.
80098         * bits/sigthread.h: Likewise.
80099         * catgets/nl_types.h: Likewise.
80100         * conform/data/pthread.h-data: Likewise.
80101         * crypt/crypt-private.h: Likewise.
80102         * crypt/crypt.h: Likewise.
80103         * crypt/crypt_util.c: Likewise.
80104         * ctype/ctype.h: Likewise.
80105         * debug/execinfo.h: Likewise.
80106         * debug/mbsnrtowcs_chk.c: Likewise.
80107         * debug/mbsrtowcs_chk.c: Likewise.
80108         * debug/wcsnrtombs_chk.c: Likewise.
80109         * debug/wcsrtombs_chk.c: Likewise.
80110         * debug/wcstombs_chk.c: Likewise.
80111         * dirent/dirent.h: Likewise.
80112         * dlfcn/dlfcn.h: Likewise.
80113         * elf/neededtest4.c: Likewise.
80114         * grp/grp.h: Likewise.
80115         * gshadow/gshadow.h: Likewise.
80116         * iconv/gconv.h: Likewise.
80117         * iconv/gconv_int.h: Likewise.
80118         * iconv/gconv_simple.c: Likewise.
80119         * iconv/iconv.h: Likewise.
80120         * iconv/loop.c: Likewise.
80121         * iconv/skeleton.c: Likewise.
80122         * include/aio.h: Likewise.
80123         * include/aliases.h: Likewise.
80124         * include/argz.h: Likewise.
80125         * include/arpa/inet.h: Likewise.
80126         * include/assert.h: Likewise.
80127         * include/dirent.h: Likewise.
80128         * include/dlfcn.h: Likewise.
80129         * include/execinfo.h: Likewise.
80130         * include/fcntl.h: Likewise.
80131         * include/fenv.h: Likewise.
80132         * include/glob.h: Likewise.
80133         * include/grp.h: Likewise.
80134         * include/libintl.h: Likewise.
80135         * include/mntent.h: Likewise.
80136         * include/netdb.h: Likewise.
80137         * include/pwd.h: Likewise.
80138         * include/rpc/netdb.h: Likewise.
80139         * include/sched.h: Likewise.
80140         * include/search.h: Likewise.
80141         * include/shadow.h: Likewise.
80142         * include/signal.h: Likewise.
80143         * include/stdio.h: Likewise.
80144         * include/stdlib.h: Likewise.
80145         * include/string.h: Likewise.
80146         * include/sys/socket.h: Likewise.
80147         * include/sys/stat.h: Likewise.
80148         * include/sys/statfs.h: Likewise.
80149         * include/sys/statvfs.h: Likewise.
80150         * include/sys/syslog.h: Likewise.
80151         * include/sys/time.h: Likewise.
80152         * include/sys/uio.h: Likewise.
80153         * include/time.h: Likewise.
80154         * include/unistd.h: Likewise.
80155         * include/utmp.h: Likewise.
80156         * include/wchar.h: Likewise.
80157         * include/wctype.h: Likewise.
80158         * inet/aliases.h: Likewise.
80159         * inet/arpa/inet.h: Likewise.
80160         * inet/netinet/ether.h: Likewise.
80161         * inet/netinet/in.h: Likewise.
80162         * intl/libintl.h: Likewise.
80163         * io/bits/fcntl2.h: Likewise.
80164         * io/fcntl.h: Likewise.
80165         * io/ftw.h: Likewise.
80166         * io/sys/poll.h: Likewise.
80167         * io/sys/stat.h: Likewise.
80168         * io/sys/statfs.h: Likewise.
80169         * io/sys/statvfs.h: Likewise.
80170         * io/utime.h: Likewise.
80171         * libio/bits/stdio.h: Likewise.
80172         * libio/bits/stdio2.h: Likewise.
80173         * libio/libio.h: Likewise.
80174         * libio/libioP.h: Likewise.
80175         * libio/stdio.h: Likewise.
80176         * locale/lc-ctype.c: Likewise.
80177         * locale/locale.h: Likewise.
80178         * login/utmp.h: Likewise.
80179         * malloc/arena.c: Likewise.
80180         * malloc/malloc.c: Likewise.
80181         * malloc/malloc.h: Likewise.
80182         * malloc/mcheck.c: Likewise.
80183         * malloc/mtrace.c: Likewise.
80184         * math/bits/mathcalls.h: Likewise.
80185         * math/fenv.h: Likewise.
80186         * math/math_private.h: Likewise.
80187         * misc/bits/error.h: Likewise.
80188         * misc/bits/syslog.h: Likewise.
80189         * misc/err.h: Likewise.
80190         * misc/error.h: Likewise.
80191         * misc/fstab.h: Likewise.
80192         * misc/mntent.h: Likewise.
80193         * misc/regexp.h: Likewise.
80194         * misc/search.h: Likewise.
80195         * misc/sgtty.h: Likewise.
80196         * misc/sys/mman.h: Likewise.
80197         * misc/sys/syslog.h: Likewise.
80198         * misc/sys/uio.h: Likewise.
80199         * misc/sys/xattr.h: Likewise.
80200         * misc/ttyent.h: Likewise.
80201         * nis/rpcsvc/ypclnt.h: Likewise.
80202         * nss/nss.h: Likewise.
80203         * posix/bits/unistd.h: Likewise.
80204         * posix/fnmatch.h: Likewise.
80205         * posix/glob.h: Likewise.
80206         * posix/sched.h: Likewise.
80207         * posix/spawn.h: Likewise.
80208         * posix/sys/wait.h: Likewise.
80209         * posix/unistd.h: Likewise.
80210         * posix/wordexp.h: Likewise.
80211         * pwd/pwd.h: Likewise.
80212         * resolv/netdb.h: Likewise.
80213         * resource/sys/resource.h: Likewise.
80214         * rt/aio.h: Likewise.
80215         * rt/bits/mqueue2.h: Likewise.
80216         * rt/mqueue.h: Likewise.
80217         * shadow/shadow.h: Likewise.
80218         * signal/signal.h: Likewise.
80219         * socket/send.c: Likewise.
80220         * socket/sendto.c: Likewise.
80221         * socket/sys/socket.h: Likewise.
80222         * stdio-common/printf.h: Likewise.
80223         * stdlib/bits/stdlib.h: Likewise.
80224         * stdlib/fmtmsg.h: Likewise.
80225         * stdlib/monetary.h: Likewise.
80226         * stdlib/stdlib.h: Likewise.
80227         * stdlib/ucontext.h: Likewise.
80228         * streams/stropts.h: Likewise.
80229         * string/argz.h: Likewise.
80230         * string/bits/string2.h: Likewise.
80231         * string/string.h: Likewise.
80232         * string/strings.h: Likewise.
80233         * sunrpc/rpc/auth.h: Likewise.
80234         * sunrpc/rpc/auth_des.h: Likewise.
80235         * sunrpc/rpc/clnt.h: Likewise.
80236         * sunrpc/rpc/netdb.h: Likewise.
80237         * sunrpc/rpc/pmap_clnt.h: Likewise.
80238         * sunrpc/rpc/xdr.h: Likewise.
80239         * sysdeps/generic/inttypes.h: Likewise.
80240         * sysdeps/generic/net/if.h: Likewise.
80241         * sysdeps/generic/sys/swap.h: Likewise.
80242         * sysdeps/gnu/net/if.h: Likewise.
80243         * sysdeps/gnu/utmpx.h: Likewise.
80244         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80245         * sysdeps/i386/i486/bits/string.h: Likewise.
80246         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80247         * sysdeps/s390/bits/string.h: Likewise.
80248         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80249         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80250         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80251         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80252         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80253         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80254         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80255         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80256         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80257         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80258         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80259         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80260         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80261         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80262         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80263         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80264         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80265         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80266         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80267         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80268         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80269         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80270         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80271         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80272         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80273         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80274         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80275         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80276         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80277         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80278         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80279         * sysvipc/sys/ipc.h: Likewise.
80280         * sysvipc/sys/msg.h: Likewise.
80281         * sysvipc/sys/sem.h: Likewise.
80282         * sysvipc/sys/shm.h: Likewise.
80283         * termios/termios.h: Likewise.
80284         * time/sys/time.h: Likewise.
80285         * time/time.h: Likewise.
80286         * wcsmbs/bits/wchar2.h: Likewise.
80287         * wcsmbs/uchar.h: Likewise.
80288         * wcsmbs/wchar.h: Likewise.
80289         * wctype/wctype.h: Likewise.
80291         [BZ #13551]
80292         * Makeconfig: Remove all but ELF support including AIX support.
80293         * Makerules: Likewise.
80294         * config.h.in: Likewise.
80295         * config.make.in: Likewise.
80296         * configure: Likewise.
80297         * configure.in: Likewise.
80298         * csu/Makefile: Likewise.
80299         * csu/version.c: Likewise.
80300         * debug/Makefile: Likewise.
80301         * dlfcn/Makefile: Likewise.
80302         * elf/Makefile: Likewise.
80303         * extra-lib.mk: Likewise.
80304         * iconv/Makefile: Likewise.
80305         * include/libc-symbols.h: Likewise.
80306         * include/shlib-compat.h: Likewise.
80307         * resolv/Makefile: Likewise.
80308         * resolv/res_libc.c: Likewise.
80309         * rt/Makefile: Likewise.
80310         * sysdeps/i386/asm-syntax.h: Likewise.
80311         * sysdeps/i386/sysdep.h: Likewise.
80312         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80313         * sysdeps/mach/sysdep.h: Likewise.
80314         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80315         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80316         * sysdeps/s390/asm-syntax.h: Likewise.
80317         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80318         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80319         * sysdeps/sh/sysdep.h: Likewise.
80320         * sysdeps/unix/sparc/sysdep.h: Likewise.
80321         * sysdeps/wordsize-32/divdi3.c: Likewise.
80322         * sysdeps/x86_64/sysdep.h: Likewise.
80324         * argp/Versions: Remove _argp_unlock_xxx.
80326         [BZ #13559]
80327         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80328         * abilist/libBrokenLocale.abilist: Likewise.
80329         * abilist/libanl.abilist: Likewise.
80330         * abilist/libc.abilist: Likewise.
80331         * abilist/libcrypt.abilist: Likewise.
80332         * abilist/libdl.abilist: Likewise.
80333         * abilist/libm.abilist: Likewise.
80334         * abilist/libnsl.abilist: Likewise.
80335         * abilist/libpthread.abilist: Likewise.
80336         * abilist/libresolv.abilist: Likewise.
80337         * abilist/librt.abilist: Likewise.
80338         * abilist/libthread_db.abilist: Likewise.
80339         * abilist/libutil.abilist: Likewise.
80340         * abilist/libnss_db.abilist: New file.
80342         * scripts/abilist.awk: Add support for indirect functions.
80344         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80346         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80348         * shlib-versions: Remove entries for ports architectures.
80350         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
80351         files in ports.
80352         * elf/stackguard-macros.h: Remove support for IA-64.
80353         * elf/tst-auditmod1.c: Likewise.
80354         * sysdeps/generic/ldsodefs.h: Likewise.
80356         * sysdeps/unix/sysv/linux/configure.in: Ports should define
80357         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80358         configure files.
80360         [BZ #13552]
80361         * configure.in: Remove --enable-omitfp support.
80362         * FAQ.in: Adjust.
80363         * config.make.in: Likewise.
80364         * Makeconfig: Likewise.
80365         * manual/install.texi: Likewise.
80367         In case anyone cares, the IA-64 architecture could move to ports.
80368         * sysdeps/ia64/*: Removed.
80369         * sysdeps/unix/sysv/linux/ia64/*: Removed.
80370         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
80372         [BZ #13555]
80373         * configure.in: Remove entries for unsupported architectures.
80375         [BZ #13533]
80376         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
80377         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
80378         routines.
80379         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
80380         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
80381         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
80382         fall back to using wcrtomb.
80383         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
80384         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
80385         renaming.
80386         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
80387         * wcsmbs/tst-c16c32-1.c: New file.
80389         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
80390         local variable.
80392         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
80394         * elf/tst-unique3.cc: Add explicit declaration of gets.
80395         * elf/tst-unique3lib.cc: Likewise.
80396         * elf/tst-unique3lib2.cc: Likewise.
80397         * elf/tst-unique4.cc: Likewise.
80399         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
80401 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
80403         [BZ #13566]
80404         * assert/assert.h (static_assert): Don't define for C++.
80405         * libio/stdio.h (gets): Do declare for C++ <= C++11.
80406         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
80408 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
80410         * iconv/loop.c (single loop): Fix assertion in storing of
80411         remaining bytes.
80413         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
80415 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
80417         * posix/getconf.c: Update copyright year.
80418         * nss/getent.c: Likewise.
80419         * nss/makedb.c: Likewise.
80420         * iconv/iconvconfig.c: Likewise.
80421         * iconv/iconv_prog.c: Likewise.
80422         * elf/ldconfig.c: Likewise.
80423         * elf/pldd.c: Likewise.
80424         * elf/sotruss.ksh: Likewise.
80425         * catgets/gencat.c: Likewise.
80426         * csu/version.c: Likewise.
80427         * elf/ldd.bash.in: Likewise.
80428         * elf/sprof.c (print_version): Likewise.
80429         * locale/programs/locale.c: Likewise.
80430         * locale/programs/localedef.c: Likewise.
80431         * login/programs/pt_chown.c: Likewise.
80432         * nscd/nscd.c (print_version): Likewise.
80433         * debug/xtrace.sh: Likewise.
80434         * malloc/memusage.sh: Likewise.
80435         * malloc/mtrace.pl: Likewise.
80436         * debug/catchsegv.sh: Likewise.
80438 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
80440         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
80441         pure attribute.
80443 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
80445         [BZ #13533]
80446         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
80447         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
80448         transformations.
80449         * iconv/gconv_int.h: Likewise.
80450         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
80451         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
80452         from libc for GLIBC_2.16.
80453         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
80454         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
80455         * wcsmbs/uchar.h: Really define mbstate_t.
80456         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
80457         * wcsmbs/c16rtomb.c: New file.
80458         * wcsmbs/mbrtoc16.c: New file.
80459         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
80460         for C/POSIX locale.
80461         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
80462         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
80464         * wcsmbs/wchar.h: Add missing __restrict.
80466 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
80468         [BZ #13532]
80469         * time/Makefile (routines): Add timespec_get.
80470         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
80471         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
80472         timespec for ISO C11.
80473         * time/timespec_get.c: New file.
80474         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
80475         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
80477         [BZ #13531]
80478         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
80479         * stdlib/stdlib.h: Declare aligned_alloc.
80480         * Versions.def: Add GLIBC_2.16 for libc.
80481         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
80483         [BZ 13527]
80484         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
80485         ISO C11.
80487         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
80488         code.
80490         [BZ #13528]
80491         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
80493         [BZ #13529]
80494         * assert/assert.h (static_assert): Define.
80496         * version.h: Update for 2.16 development version.
80498         [BZ #13526]
80499         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
80500         _ISOC11_SOURCE.
80502         * version.h (RELEASE): Bump for 2.15 release.
80503         * include/features.h (__GLIBC_MINOR__): Bump to 15.
80505         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
80506         Patch by Marek Polacek <mpolacek@redhat.com>.
80508         * bits/byteswap.h: Protect long long constants with __extension__.
80509         * sysdeps/i386/bits/byteswap.h: Likewise.
80510         * sysdeps/ia64/bits/byteswap.h: Likewise.
80511         * sysdeps/s390/bits/byteswap.h: Likewise.
80512         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80514 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80516         [BZ #13540]
80517         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
80518         destination buffer.
80519         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
80521 2011-12-23  Marek Polacek  <polacek@redhat.com>
80523         * elf/dl-addr.c (determine_info): Add inline keyword.
80524         * elf/tst-auditmod4b.c (check_avx): Likewise.
80525         * elf/tst-auditmod6b.c (check_avx): Likewise.
80526         * elf/tst-auditmod6c.c (check_avx): Likewise.
80527         * elf/tst-auditmod7b.c (check_avx): Likewise.
80529 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
80531         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
80532         !__SSE_MATH__.
80534 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80536         [BZ #13540]
80537         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
80538         processing for last bytes.
80540 2011-08-06  Bruno Haible  <bruno@clisp.org>
80542         [BZ #13061]
80543         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
80544         U+0385, not to U+1FEE.
80546         [BZ #13062]
80547         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
80548         entry for U+00A5 U+0301.
80550 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
80552         [BZ #13166]
80553         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
80554         buffer for the output is too small.
80556         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
80557         optimization.
80559         [BZ #13185]
80560         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
80561         SSE flags if possible.
80563 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80565         [BZ #13540]
80566         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
80567         processing for last bytes.
80569 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
80571         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
80572         (syscall-list-default-options, syscall-list-default-condition)
80573         (syscall-list-includes): Define.
80574         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
80575         list of ABIs and options and #if conditions for each ABI.  Do not
80576         handle common syscalls between ABIs specially.
80577         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
80578         Remove.
80579         (syscall-list-variants, syscall-list-32bit-options)
80580         (syscall-list-32bit-condition, syscall-list-64bit-options)
80581         (syscall-list-64bit-condition): Define.
80582         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
80583         (syscall-list-variants, syscall-list-32bit-options)
80584         (syscall-list-32bit-condition, syscall-list-64bit-options)
80585         (syscall-list-64bit-condition): Define.
80586         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
80587         Remove.
80588         (syscall-list-variants, syscall-list-32bit-options)
80589         (syscall-list-32bit-condition, syscall-list-64bit-options)
80590         (syscall-list-64bit-condition): Define.
80591         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
80592         Remove.
80593         (syscall-list-variants, syscall-list-32bit-options)
80594         (syscall-list-32bit-condition, syscall-list-64bit-options)
80595         (syscall-list-64bit-condition): Define.
80597 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
80599         * locale/iso-639.def: Add brx entry.
80601         [BZ #13328]
80602         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
80603         Proposed by Mariusz_Cukr <marcukr@op.pl>.
80605         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
80606         __feraiseexcept_renamed.
80608 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
80610         [BZ #13538]
80611         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
80612         EPOLLET with unsigned values.
80613         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80614         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80616         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
80617         to large cancellation.
80618         * math/s_cacoshf.c: Likewise.
80619         * math/s_cacoshl.c: Likewise.
80621 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
80623         [BZ #13305]
80624         [BZ #12786]
80625         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
80626         * math/s_cacoshf.c: Likewise.
80627         * math/s_cacoshl.c: Likewise.
80629 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
80631         [BZ #13439]
80632         * iconv/gconv.h: Define __GCONV_SWAP.
80633         * iconvdata/unicode.c: The swap bit must be stored in __flags.
80634         * iconvdata/utf-16.c: Likewise.
80635         * iconvdata/utf-32.c: Likewise.
80637 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
80639         [BZ #13524]
80640         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
80641         numerator after shifting it by one limb.
80643 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
80645         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
80646         under [__USE_EXTERN_INLINES].
80648 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
80650         [BZ #13446]
80651         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
80653 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80655         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
80656         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
80657         optimized code.
80658         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
80659         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
80660         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
80661         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
80662         for strncasecmp/strncasecmp_l compilation.
80663         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
80664         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
80666 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
80668         [BZ #13484]
80669         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
80670         of __asm__.
80672 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
80674         [BZ #13506]
80675         * time/tzfile.c (__tzfile_read): Check values from file header.
80677 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
80679         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
80680         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
80681         * powerpc/powerpc32/dl-start.S: Likewise.
80682         * powerpc/powerpc32/elf/start.S: Likewise.
80683         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
80684         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
80685         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
80686         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
80687         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
80688         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
80689         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
80690         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
80691         * powerpc/powerpc32/fpu/s_round.S: Likewise.
80692         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
80693         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
80694         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
80695         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
80696         * powerpc/powerpc32/memset.S: Likewise.
80697         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
80698         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
80699         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
80700         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
80701         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
80702         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
80703         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
80704         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
80705         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
80706         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
80707         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
80708         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80709         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80711 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80713         * math/libm-test.inc: Added more nearbyint tests.
80714         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
80715         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
80716         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
80717         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
80719 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
80721         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
80722         FD_CLOEXEC.
80724 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80726         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
80727         Add wcscpy-ssse3 wcscpy-c.
80728         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
80729         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
80730         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
80731         * sysdeps/x86_64/wcschr.S: New file.
80732         * sysdeps/x86_64/wcsrchr.S: New file.
80733         * string/test-strcmp.c: Remove checking of wcscmp function for
80734         wrong alignments.
80735         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
80736         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
80737         wcsrchr-sse2 wcsrchr-c.
80738         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
80739         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
80740         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
80741         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
80742         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
80743         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
80744         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
80745         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
80746         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
80747         * wcsmbc/wcschr.c (WCSCHR): New macro.
80749 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80751         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
80752         * wcsmbs/test-wcsrchr.c: New file.
80753         * string/test-strrchr.c: Add wcsrchr support.
80754         (WIDE): New macro.
80755         * wcsmbs/test-wcscpy.c: New file.
80756         * string/test-strcpy.c: Add wcscpy support.
80757         (WIDE): New macro.
80759 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
80761         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
80762         the inner loop.
80764 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
80766         [BZ #13472]
80767         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
80769 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
80771         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
80772         Minor optimizations.
80774         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
80775         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
80776         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
80778 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
80780         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
80781         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
80782         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
80783         for gcc to avoid warnings.
80784         * inet/Makefile (tests): Add tst-checks.
80785         * inet/tst-checks.c: New file.
80787         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
80788         warning.
80790         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
80791         __wmemcmp_sse2.
80793         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
80794         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
80796         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
80798 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
80800         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
80801         problem.
80803         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
80805 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
80807         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
80808         conditional on GCC version.
80809         (__arch_compare_and_exchange_val_8_acq)
80810         (__arch_compare_and_exchange_val_16_acq)
80811         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
80812         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
80813         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
80815 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
80817         * sysdeps/sh/backtrace.c: New file.
80819 2011-12-02  Andreas Schwab  <schwab@redhat.com>
80821         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
80822         parenthesis.
80824 2011-12-01  Andreas Schwab  <schwab@redhat.com>
80826         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
80827         falling back to utime.
80829 2011-11-30  Andreas Schwab  <schwab@redhat.com>
80831         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
80832         expectations for float.
80834 2011-11-29  Andreas Schwab  <schwab@redhat.com>
80836         * locale/weight.h (findidx): Add parameter len.
80837         * locale/weightwc.h (findidx): Likewise.
80838         * posix/fnmatch_loop.c (FCT): Adjust caller.
80839         * posix/regcomp.c (build_equiv_class): Likewise.
80840         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
80841         * posix/regexec.c (check_node_accept_bytes): Likewise.
80842         * string/strcoll_l.c (STRCOLL): Likewise.
80843         * string/strxfrm_l.c (STRXFRM): Likewise.
80845 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
80847         * Makefile.in: Remove CVSOPT handling.
80848         * configure.in: Remove use of AC_REVISION.
80849         * iconvdata/Makefile (distribute): No need to filter out CVS.
80850         * scripts/list-sources.sh: Remove CVS, subversion and monotone
80851         handling.
80853 2011-11-16  Andreas Schwab  <schwab@redhat.com>
80855         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
80856         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
80857         [USE_AS_STRNCASECMP_L]: Likewise.
80858         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
80859         NO_TLS_DIRECT_SEG_REFS.
80860         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
80861         Fix argument offsets for non-PIC.
80862         [USE_AS_STRNCASECMP_L]: Likewise.
80863         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
80864         NO_TLS_DIRECT_SEG_REFS.
80866 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
80868         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
80869         O_CLOEXEC.
80870         * locale/loadlocale.c (_nl_load_locale): Likewise.
80872 2011-11-15  Andreas Schwab  <schwab@redhat.com>
80874         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
80875         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
80876         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
80877         (SYSCALL_GETTIME): Set errno on error.
80879         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
80880         count references to noai6ai_cached.
80882 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
80884         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
80886         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
80887         FD_CLOEXEC for /proc/self/maps.
80889         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
80890         FD_CLOEXEC for /proc/meminfo.
80892         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
80893         gai.conf.
80895         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
80896         FD_CLOEXEC for given file.
80898         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
80900         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
80901         FD_CLOEXEC for /etc/hosts.
80902         (_gethtent): Likewise.
80904         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
80906         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
80907         cancellation and set FD_CLOEXEC for /etc/netgroup.
80909         * nss/nss_files/files-key.c (search): Don't allow cancellation when
80910         reading /etc/publickey.
80912         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
80913         allow cancellation when reading /etc/group.
80915         * nss/nss_files/files-alias.c (internal_setent): Don't allow
80916         cancellation.
80917         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
80919         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
80920         when using data file.
80922         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
80924         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
80925         (write_nis_obj): Use "c" and "e" in fopen.
80927         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
80929         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
80931         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
80933         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
80935         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
80936         locale.alias.
80938         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
80940         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
80942         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
80944         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
80945         file parsing and set FD_CLOEXEC.
80947 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
80949         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
80951 2011-11-14  Andreas Schwab  <schwab@redhat.com>
80953         * malloc/arena.c (arena_get2): Don't call reused_arena when
80954         _int_new_arena failed.
80956 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
80958         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
80959         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
80960         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
80961         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80962         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80963         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
80964         to compile strcasecmp and strncasecmp.
80965         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
80966         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
80968         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
80970 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
80972         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
80973         locale-defines.sym to gen-as-const-headers.
80974         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
80975         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
80976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
80977         to compile strcasecmp and strncasecmp.
80978         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
80979         strcasecmp_l and strncasecmp_l.
80980         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
80981         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
80982         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
80983         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
80984         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
80985         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
80986         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
80987         * sysdeps/i386/i686/multiarch/strncase.S: New file.
80988         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
80989         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
80990         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
80992 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
80994         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
80995         result of SYSDEP_GETTIME_CPU to retval.
80996         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
80997         parameter list to macro.  Remove trailing semicolon.  Adjust users.
80999         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
81000         variable.
81002         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
81003         mantissa words.
81004         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
81006         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
81007         from unused variable.
81009         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
81010         DWARF definitions.
81011         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
81012         for assembling.
81014         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
81015         over namespaces.
81017         * sunrpc/rpc_prot.c (rejected): Fix case value.
81019         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
81020         unsigned long long int to avoid warnings in shift.
81022         * posix/regex_internal.c (re_string_reconstruct): Actually use result
81023         of use of trans.
81024         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
81025         variable tmp.
81027         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
81028         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
81029         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
81031         * nis/nis_table.c (nis_list): Use variable of correct type for
81032         result of __follow_path call.
81034 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81036         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
81037         of math functions ceil, trunc, floor, round, and sqrt, when
81038         avaliable on the platform.
81039         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
81040         name clash.
81041         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81042         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81043         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81045 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
81047         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
81048         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
81050 2011-11-11  Roland McGrath  <roland@hack.frob.com>
81052         * include/unistd.h: Fix __readlink return type.
81053         Reported by Chris Metcalf <cmetcalf@tilera.com>.
81055 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
81057         * stdlib/ucontext.h: Undo last change for makecontext.
81059 2011-11-11  Andreas Schwab  <schwab@redhat.com>
81061         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81063         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81064         * setjmp/setjmp.h: Mark functions as non-leaf.
81065         * setjmp/bits/setjmp2.h: Likewise.
81066         * stdlib/ucontext.h: Likewise.
81068 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81070         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81071         (reused_arena): Don't check arena limit.
81072         (arena_get2): Atomically check arena limit.
81074 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81076         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81077         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81079         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81080         instructions.
81082 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81084         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81085         handler when locking.
81087         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81088         Fix size of allocated buffer.
81090 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81092         [BZ #10103]
81093         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81094         declarations for long double functions.
81095         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81097         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81099 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81101         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81102         installed.
81104         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81105         is disabled.
81107 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81109         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81111 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81113         * include/alloca.h (stackinfo_alloca_round): Define.
81114         (extend_alloca): Use it.
81115         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81116         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81117         here.
81119         * scripts/check-local-headers.sh: Ignore libaudit.h.
81121         * nscd/Makefile (extra-objs): Make recursively expanded.
81123 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81125         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81126         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81128         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81129         * posix/tst-rfc3484-2.c: Likewise.
81130         * posix/tst-rfc3484-3.c: Likewise.
81132         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81133         process_vm_writev.
81134         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81135         process_vm_writev.
81136         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81137         process_vm_writev from libc using GLIBC_2.15 version.
81139         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81141 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81143         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81144         stack usage.
81146 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81148         [BZ #13367]
81149         * nss/getent.c (initgroups_keys): Show error message in case no group
81150         names are given.
81152         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81153         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81154         __bump_nl_timestamp.
81155         * nscd/connections (nscd_init): When host database is served open
81156         netlink socket and request notification about configuration changes.
81157         (main_loop_poll): Track netlink file descriptor and bump timestamp
81158         in case data becomes available.
81159         (main_loop_epoll): Likewise.
81160         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81161         (database_pers_head): Add extra_data fileds.
81162         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81163         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81164         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81165         Adjust caller.
81166         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81167         in6ai data, call __free_in6ai.
81168         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81169         Add -DHAVE_NETLINK.
81170         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81171         interface information.  Reuse previous data if netlink timestamp
81172         is not changed.
81173         (__bump_nl_timestamp): New function.
81174         (__free_in6ai): New function.
81176 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81178         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81179         close_not_cancel_no_status here.
81180         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81182 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81184         [BZ #13276]
81185         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81186         return value.
81188         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81189         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81190         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81192 2011-07-03  Andreas Jaeger  <aj@suse.de>
81194         [BZ #10709]
81195         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81196         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81197         * math/libm-test.inc (sin_test): Add test case.
81199 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81201         [BZ #13337]
81202         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81203         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81205         * elf/chroot_canon.c (chroot_canon): Cleanups.
81207         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81209         [BZ #13335]
81210         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81211         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81213         * string/test-strchr.c: Make usable for strchrnul testing.
81214         * string/test-strchrnul.c: New file.
81215         * string/Makefile (strop-tests): Add strchrnul.
81217         * po/it.po: Update from translation team.
81218         * po/es.po: Likewise.
81220 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81222         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81223         the three constants needed as parameters.  Drop the others.
81224         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81225         __m128i_strloadu_tolower.
81226         Create and initialize variable zero and use it in all the places
81227         where _mm_setzero_si128 was used.
81229         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81230         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81231         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81232         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81233         anymore.
81234         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81235         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81236         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81237         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81238         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81239         __mpranred, __mptan.
81240         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81241         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81242         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81243         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81244         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81245         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81246         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81247         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81248         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81250 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81252         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81253         redefine if SHARED.
81254         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81256         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81257         wide char related routines to wcsmbs subdir.
81259 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81261         [BZ #13344]
81262         * misc/sys/cdefs.h (__THROWNL): Define.
81263         * posix/unistd.h: Use __THREADNL instead of __THREAD
81264         for memory synchronization functions.
81266 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81268         [BZ #13349]
81269         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81270         doesn't exist.
81271         * manual/stdio.texi (Obstack Streams): Node removed.
81273 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81275         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81276         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81277         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81279         * math/math_private.h (math_force_eval): Allow non-addressable
81280         arguments.
81281         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81283 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81285         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81286         file is not needed.
81288         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81289         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81290         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81291         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81292         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81293         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81294         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81295         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81296         Add AVX variants.
81297         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81298         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81299         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81300         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81301         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81302         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81303         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81304         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81305         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81306         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81307         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81308         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81309         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81310         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81311         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81312         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81313         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81314         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81315         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81317         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81318         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81320         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81321         place.  Use VEX encoding when compiling for AVX.
81323 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81325         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81326         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81328         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81330 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81332         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81333         useless if() expression.
81334         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81335         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81336         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81337         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81338         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81339         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81340         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81341         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81342         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81343         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81344         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81345         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81346         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81347         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81348         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81349         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81350         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81351         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81352         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81354         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81356 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81358         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81359         condition.
81360         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81362 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81364         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81365         .text section.  Avoid duplicate constants.
81366         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81367         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81368         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81369         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81370         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81371         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81372         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81374         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
81375         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
81376         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
81377         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
81378         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
81379         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
81380         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
81381         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
81382         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
81383         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
81384         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81385         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81386         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81387         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81388         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81389         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
81390         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
81391         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
81392         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
81393         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
81394         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
81395         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
81396         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
81397         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
81398         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
81399         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
81400         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
81401         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
81402         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
81403         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
81404         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
81405         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
81406         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
81407         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
81408         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
81409         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
81410         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
81412 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
81414         * sysdeps/x86_64/dla.h: Move to ...
81415         * sysdeps/x86_64/fpu/dla.h: ...here.
81416         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
81417         situations.  Use __builtin_fma only for gcc 4.6 and up.
81419         * config.make.in: Add have-mfma4 entry.
81420         * configure.in: Substitute libc_cv_cc_fma4.
81421         * math/Makefile (dbl-only-routines): Add sincostab.
81422         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
81423         Use __sincostab not sincos.
81424         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
81425         name is a macro.
81426         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81427         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81428         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81429         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
81430         using __copysign.
81431         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
81432         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
81433         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
81434         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
81435         and __inv.
81436         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
81437         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
81438         __copysign.
81439         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
81440         define aliases when function name is a macro.
81441         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
81442         sysdeps/ieee754/dbl-64/sincos.tbl.
81443         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
81444         fma4-enabled routines.
81445         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
81446         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
81447         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
81448         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
81449         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
81450         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
81451         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
81452         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
81453         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
81454         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
81455         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
81456         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
81457         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
81458         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
81459         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
81460         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
81461         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
81462         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
81463         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
81464         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
81465         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
81466         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
81467         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
81468         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
81469         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
81470         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
81471         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
81472         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
81473         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
81474         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
81476         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
81477         rename.
81478         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81479         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81480         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81481         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81482         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81483         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81484         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81485         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81487 2011-10-24  Andreas Schwab  <schwab@redhat.com>
81489         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
81491 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81493         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
81495         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
81496         prediction.
81497         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
81499         * string/strnlen.c: Don't define STRNLEN, reverse logic.
81500         Remove unused variable magic_bits.
81501         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
81503         * string/strnlen.c: Define and use STRNLEN macro.
81504         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
81505         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
81506         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
81507         * wcsmbs/wcslen.c: Define and use WCSLEN.
81508         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
81509         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
81510         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
81511         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
81512         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
81513         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
81514         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81516 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81519         strnlen-sse2-no-bsf.
81520         Rename strlen-no-bsf to strlen-sse2-no-bsf.
81521         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
81522         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
81523         Add strnlen support.
81524         (USE_AS_STRNLEN): New macro.
81525         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
81526         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
81527         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
81528         * sysdeps/x86_64/wcslen.S: New file.
81530 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
81532         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81533         XMM-moves are used for copying on small sizes.
81535 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81537         * wcsmbs/Makefile (strop-tests): Add wcschr.
81538         * wcsmbs/test-wcschr.c: New file.
81539         * string/test-strchr.c: Update.
81540         Add wcschr support.
81541         (WIDE): New macro.
81543 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81545         * wcsmbs/Makefile (strop-tests): Add wcslen.
81546         * wcsmbs/test-wcslen.c: New file.
81547         * string/test-strlen.c: Update.
81548         Add wcslen support.
81549         (WIDE): New macro.
81551 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81553         * po/it.po: Update from translation team.
81555 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81557         * sysdeps/x86_64/wcscmp.S: Update.
81558         Fix wrong comparison semantics.
81559         wcscmp shall use signed comparison not unsigned.
81560         Don't use substraction to avoid overflow bug.
81561         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
81562         * wcsmbc/wcscmp.c: Likewise.
81563         * string/test-strcmp.c: Likewise.
81564         Add new tests to check cases with negative values.
81566 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81568         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
81569         * sysdeps/x86_64/dla.h: ...here.  New file.
81570         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
81571         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81572         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81573         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81574         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81575         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81576         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81577         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81578         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81580 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
81582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
81583         __ynl_finite aliases.
81585 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
81587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81589         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
81590         define DLA_FMA.
81591         [DLA_FMA] (EMULV): Use DLA_FMA.
81592         [DLA_FMA] (MUL12): Use EMULV.
81593         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
81594         that are not needed.
81595         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81596         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81599         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81600         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81601         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81603 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
81605         * math/s_nan.c: Undef __nan.
81606         * math/s_nanf.c: Undef __nanf.
81607         * math/s_nanl.c: Undef __nanl.
81608         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
81609         "math_private.h".
81611 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
81613         * math/s_catan.c: Add branch predictions.
81614         * math/s_catanf.c: Likewise.
81615         * math/s_catanh.c: Likewise.
81616         * math/s_catanhf.c: Likewise.
81617         * math/s_catanhl.c: Likewise.
81618         * math/s_catanl.c: Likewise.
81619         * math/s_cexp.c: Likewise.
81620         * math/s_cexpf.c: Likewise.
81621         * math/s_cexpl.c: Likewise.
81622         * math/s_clog.c: Likewise.
81623         * math/s_clog10.c: Likewise.
81624         * math/s_clog10f.c: Likewise.
81625         * math/s_clog10l.c: Likewise.
81626         * math/s_clogf.c: Likewise.
81627         * math/s_clogl.c: Likewise.
81628         * math/s_csqrt.c: Likewise.
81629         * math/s_csqrtf.c: Likewise.
81630         * math/s_csqrtl.c: Likewise.
81631         * math/s_ctanf.c: Likewise.
81632         * math/s_ctanh.c: Likewise.
81633         * math/s_ctanhf.c: Likewise.
81634         * math/s_ctanhl.c: Likewise.
81635         * math/s_ctanl.c: Likewise.
81637         * math/math_private.h: Define __nan, __nanf, __nanl.
81638         * math/s_cacosh.c: Include <math_private.h>.
81639         * math/s_cacoshl.c: Likewise.
81640         * math/s_casinh.c: Likewise.
81641         * math/s_casinhf.c: Likewise.
81642         * math/s_casinhl.c: Likewise.
81643         * math/s_ccos.c: Rely entire on ccosh.
81644         * math/s_ccosf.c: Rely entire on ccoshf.
81645         * math/s_ccosl.c: Rely entirely on ccoshl.
81646         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
81647         Remove tests for FE_INVALID.
81648         * math/s_ccoshf.c: Likewise.
81649         * math/s_ccoshl.c: Likewise.
81650         * math/s_csin.c: Likewise.
81651         * math/s_csinf.c: Likewise.
81652         * math/s_csinh.c Likewise.
81653         * math/s_csinhf.c: Likewise.
81654         * math/s_csinhl.c: Likewise.
81655         * math/s_csinl.c: Likewise.
81656         * math/s_ctan.c: Likewise.
81657         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
81658         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
81659         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
81661 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
81663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
81664         compilation problems.
81666         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
81667         __builtin_expect.
81669 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
81671         * sysdeps/i386/configure.in: Test for -mfma4 option.
81672         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
81673         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
81674         COMMON_CPUID_INDEX_80000001.
81675         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
81676         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
81677         use it if FMA3 is not supported.
81678         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
81680         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
81681         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81683 2011-10-20  Andreas Schwab  <schwab@redhat.com>
81685         [BZ #12892]
81686         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
81687         it would create a cycle with a link time dependency.
81689 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
81691         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
81692         instruction.
81693         * string/Makefile (strop-tests): Add rawmemchr.
81694         * string/test-rawmemchr.c: New file.
81696         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
81697         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
81698         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
81699         when compiling str{,n}casecmp and when AVX is available.  Hook up
81700         new optimized code in initializers.
81702 2011-10-19  Andreas Schwab  <schwab@redhat.com>
81704         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
81705         __feraiseexcept instead of feraiseexcept.
81707 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
81709         * math/math_private.h: Define defaults for libc_fetestexcept and
81710         libc_feupdateenv.
81711         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
81712         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
81713         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
81714         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
81715         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81716         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
81717         libc_fetestexcept and libc_feupdateenv.
81719         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
81720         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
81721         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
81722         * sysdeps/x86_64/fpu/math_private.h: Define special version of
81723         libc_feholdexcept_setround.
81725         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
81726         Add s_nearbyint-c and s_nearbyintf-c.
81727         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
81728         nearbyintf inlines.
81729         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
81730         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
81731         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
81732         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
81734         * math/math_private.h: Define defaults for libc_fegetround,
81735         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
81736         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
81737         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
81738         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
81739         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
81740         standard functions.
81741         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
81742         Remove comments and hacks for old compiler versions.
81743         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
81744         libc_fegetround, libc_fesetround, libc_feholdexcept, and
81745         libc_feholdexceptl.
81747 2011-10-18  Andreas Schwab  <schwab@redhat.com>
81749         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
81750         (__feraiseexcept_renamed): Add __NTH.
81751         (feraiseexcept): Add __NTH.  Rename local variables to fix
81752         namespace violations.
81754 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
81756         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
81758         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
81760         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
81761         recently added interfaces.
81762         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
81764         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
81765         about macro parameter expansion.
81767         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
81768         __NO_MATH_INLINES is defined.  Cleanups.
81770         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
81771         and __floorf is target has SSE4.1.
81772         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
81773         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
81774         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
81775         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
81777         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
81778         name.
81779         (floorf): Likewise.
81781         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
81783 2011-10-17  Andreas Schwab  <schwab@redhat.com>
81785         * misc/sys/cdefs.h: Fix last change.
81787         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
81788         database lookup.
81790 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
81792         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
81794         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
81795         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81796         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81797         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81798         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81799         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81800         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81801         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81802         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81803         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
81804         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
81805         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
81806         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
81807         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
81808         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
81809         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
81810         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
81811         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
81812         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
81813         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
81814         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
81815         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
81817         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
81818         ceil, ceilf, floor, floorf.
81820         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
81821         Perform IRELATIVE relocations last.
81823         * elf/do-rel.h: Add another parameter nrelative, replacing the
81824         local variable with the same name.  Change name of the function
81825         to end in Rel or Rela (uppercase).
81826         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
81827         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
81828         elf_dynamic_do_##reloc function.
81830 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
81832         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
81833         is sufficient, at least on modern CPUs.
81835         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
81837         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
81838         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
81840         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
81841         __expl_finite.
81842         * math/bits/math-finite.h: Add entries for exp.
81843         * math/e_expl.c: Add __*_finite alias.
81844         * sysdeps/i386/fpu/e_exp.S: Likewise.
81845         * sysdeps/i386/fpu/e_expf.S: Likewise.
81846         * sysdeps/i386/fpu/e_expl.c: Likewise.
81847         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81848         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
81849         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
81850         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
81851         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
81852         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81853         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81855         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
81856         is sufficient, at least on modern CPUs.
81858         * ctype/ctype-info.c (__ctype_init): Define.
81859         * include/ctype.h (__ctype_init): Declare.
81860         (__ctype_b_loc): The variable is always initialized.
81861         (__ctype_toupper_loc): Likewise.
81862         (__ctype_tolower_loc): Likewise.
81863         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
81864         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
81866 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
81868         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
81870         * configure.in: Also look in $cxxmachine/include for C++ system
81871         headers.
81873 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81875         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
81876         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
81877         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
81878         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
81879         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
81880         (USE_AS_WMEMCMP): New macro.
81881         Fixing indents.
81882         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
81883         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
81884         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
81885         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
81886         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81887         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
81888         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
81889         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
81890         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
81891         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
81892         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
81893         (USE_AS_WMEMCMP): New macro.
81894         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
81895         * sysdeps/string/test-memcmp.c: Update.
81896         Fix simple_wmemcmp.
81897         Add new tests.
81898         * wcsmbs/wmemcmp.c: Update.
81899         (WMEMCMP): New macro.
81900         Fix overflow bug.
81902 2011-10-12  Andreas Jaeger  <aj@suse.de>
81904         [BZ #13268]
81905         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
81907 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
81909         * libio/iofwide.c (do_length): Avoid warning.
81911         * ctype/ctype.h (__isctype_f): Add missing __THROW.
81913 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
81915         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
81917         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
81918         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
81919         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
81920         * sysdeps/i386/i686/fpu/e_log.S: New file.
81921         * sysdeps/i386/i686/fpu/e_logf.S: New file.
81922         * sysdeps/i386/i686/fpu/e_logl.S: New file.
81924         * ctype/ctype.h: Add support for inlined isXXX functions when
81925         compiling C++ code.
81927 2011-10-14  Andreas Schwab  <schwab@redhat.com>
81929         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81931         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
81933 2011-10-13  Roland McGrath  <roland@hack.frob.com>
81935         [BZ #13291]
81936         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
81938 2011-10-13  Andreas Schwab  <schwab@redhat.com>
81940         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
81941         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
81942         feraiseexcept.
81944         * sysdeps/x86_64/memrchr.S: Check for zero size.
81946         * string/stratcliff.c: Add memrchr tests.
81948 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81951         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
81952         rawmemchr-sse2 rawmemchr-sse2-bsf.
81953         * sysdeps/i386/i686/multiarch/memchr.S: New file.
81954         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
81955         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
81956         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
81957         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
81958         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
81959         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
81960         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
81961         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
81962         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
81963         * string/memrchr.c (MEMRCHR): New macro.
81965 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
81967         Add integration with gcc's -ffinite-math-only and optimize wrapper
81968         functions in libm.
81969         * Versions.def: Define GLIBC_2.15 version for libm.
81970         * math/Makefile (headers): Add bits/math-finite.h.
81971         * math/bits/math-finite.h: New file.
81972         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
81973         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
81974         * math/e_acoshl.c: Add __*_finite alias.
81975         * math/e_acosl.c: Likewise.
81976         * math/e_asinl.c: Likewise.
81977         * math/e_atan2l.c: Likewise.
81978         * math/e_atanhl.c: Likewise.
81979         * math/e_coshl.c: Likewise.
81980         * math/e_exp10.c: Likewise.
81981         * math/e_exp10f.c: Likewise.
81982         * math/e_exp10l.c: Likewise.
81983         * math/e_exp2l.c: Likewise.
81984         * math/e_fmodl.c: Likewise.
81985         * math/e_gammal_r.c: Likewise.
81986         * math/e_hypotl.c: Likewise.
81987         * math/e_j0l.c: Likewise.
81988         * math/e_j1l.c: Likewise.
81989         * math/e_jnl.c: Likewise.
81990         * math/e_lgammal_r.c: Likewise.
81991         * math/e_log10l.c: Likewise.
81992         * math/e_log2l.c: Likewise.
81993         * math/e_logl.c: Likewise.
81994         * math/e_powl.c: Likewise.
81995         * math/e_sinhl.c: Likewise.
81996         * math/e_sqrtl.c: Likewise.
81997         * math/e_scalb.c: Completely rewritten and optimized.
81998         * math/e_scalbf.c: Likewise.
81999         * math/e_scalbl.c: Likewise.
82000         * math/w_acos.c: Likewise.
82001         * math/w_acosf.c: Likewise.
82002         * math/w_acosl.c: Likewise.
82003         * math/w_acosh.c: Likewise.
82004         * math/w_acoshf.c: Likewise.
82005         * math/w_acoshl.c: Likewise.
82006         * math/w_asin.c: Likewise.
82007         * math/w_asinf.c: Likewise.
82008         * math/w_asinl.c: Likewise.
82009         * math/w_atan2.c: Likewise.
82010         * math/w_atan2f.c: Likewise.
82011         * math/w_atan2l.c: Likewise.
82012         * math/w_atanh.c: Likewise.
82013         * math/w_atanhf.c: Likewise.
82014         * math/w_atanhl.c: Likewise.
82015         * math/w_exp10.c: Likewise.
82016         * math/w_exp10f.c: Likewise.
82017         * math/w_exp10l.c: Likewise.
82018         * math/w_fmod.c: Likewise.
82019         * math/w_fmodf.c: Likewise.
82020         * math/w_fmodl.c: Likewise.
82021         * math/w_j0.c: Likewise.
82022         * math/w_j0f.c: Likewise.
82023         * math/w_j0l.c: Likewise.
82024         * math/w_j1.c: Likewise.
82025         * math/w_j1f.c: Likewise.
82026         * math/w_j1l.c: Likewise.
82027         * math/w_jn.c: Likewise.
82028         * math/w_jnf.c: Likewise.
82029         * math/w_log.c: Likewise.
82030         * math/w_logf.c: Likewise.
82031         * math/w_logl.c: Likewise.
82032         * math/w_log10.c: Likewise.
82033         * math/w_log10f.c: Likewise.
82034         * math/w_log10l.c: Likewise.
82035         * math/w_log2.c: Likewise.
82036         * math/w_log2f.c: Likewise.
82037         * math/w_log2l.c: Likewise.
82038         * math/w_pow.c: Likewise.
82039         * math/w_powf.c: Likewise.
82040         * math/w_powl.c: Likewise.
82041         * math/w_remainder.c: Likewise.
82042         * math/w_remainderf.c: Likewise.
82043         * math/w_remainderl.c: Likewise.
82044         * math/w_scalb.c: Likewise.
82045         * math/w_scalbf.c: Likewise.
82046         * math/w_scalbl.c: Likewise.
82047         * math/w_sqrt.c: Likewise.
82048         * math/w_sqrtf.c: Likewise.
82049         * math/w_sqrtl.c: Likewise.
82050         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82051         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
82052         used.
82053         * math/math_private.h: Declare __kernel_standard_f.
82054         * math/w_cosh.c: Remove cruft and optimize a bit.
82055         * math/w_coshf.c: Likewise.
82056         * math/w_coshl.c: Likewise.
82057         * math/w_exp2.c: Likewise.
82058         * math/w_exp2f.c: Likewise.
82059         * math/w_exp2l.c: Likewise.
82060         * math/w_hypot.c: Likewise.
82061         * math/w_hypotf.c: Likewise.
82062         * math/w_hypotl.c: Likewise.
82063         * math/w_lgamma.c: Likewise.
82064         * math/w_lgamma_r.c: Likewise.
82065         * math/w_lgammaf.c: Likewise.
82066         * math/w_lgammaf_r.c: Likewise.
82067         * math/w_lgammal.c: Likewise.
82068         * math/w_lgammal_r.c: Likewise.
82069         * math/w_sinh.c: Likewise.
82070         * math/w_sinhf.c: Likewise.
82071         * math/w_sinhl.c: Likewise.
82072         * math/w_tgamma.c: Likewise.
82073         * math/w_tgammaf.c: Likewise.
82074         * math/w_tgammal.c: Likewise.
82075         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82076         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82077         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82078         Minor optimizations.  Pretty printing.  Remove cruft.
82079         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82080         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82081         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82082         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82083         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82084         * sysdeps/i386/fpu/e_asin.S: Likewise.
82085         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82086         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82087         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82088         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82089         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82090         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82091         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82092         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82093         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82094         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82095         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82096         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82097         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82098         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82099         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82100         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82101         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82102         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82103         * sysdeps/i386/fpu/e_log.S: Likewise.
82104         * sysdeps/i386/fpu/e_log10.S: Likewise.
82105         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82106         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82107         * sysdeps/i386/fpu/e_log2.S: Likewise.
82108         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82109         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82110         * sysdeps/i386/fpu/e_logf.S: Likewise.
82111         * sysdeps/i386/fpu/e_logl.S: Likewise.
82112         * sysdeps/i386/fpu/e_pow.S: Likewise.
82113         * sysdeps/i386/fpu/e_powf.S: Likewise.
82114         * sysdeps/i386/fpu/e_powl.S: Likewise.
82115         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82116         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82117         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82118         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82119         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82120         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82121         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82122         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82123         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82124         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82125         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82126         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82127         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82128         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82129         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82130         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82131         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82132         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82133         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82134         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82135         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82136         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82137         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82138         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82139         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82140         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82141         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82142         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82143         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82144         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82145         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82146         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82147         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82148         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82149         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82150         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82151         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82152         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82153         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82154         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82155         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82156         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82157         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82158         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82159         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82160         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82161         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82162         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82163         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82164         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82165         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82166         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82167         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82168         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82169         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82170         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82171         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82172         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82173         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82174         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82175         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82176         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82177         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82178         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82179         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82180         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82181         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82182         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82183         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82184         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82185         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82187         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82188         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82189         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82190         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82191         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82192         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82193         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82194         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82195         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82196         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82197         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82198         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82199         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82200         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82201         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82202         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82203         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82204         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82205         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82206         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82207         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82208         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82209         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82210         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82211         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82212         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82213         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82214         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82215         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82216         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82217         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82218         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82219         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82220         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82221         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82222         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82223         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82224         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82225         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82226         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82227         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82228         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82229         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82230         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82231         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82232         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82233         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82234         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82235         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82236         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82237         (__isnanf): Likewise.
82238         (__isinf_ns): Likewise.
82239         (__isinf_nsf): Likewise.
82240         (__finite): Likewise.
82241         (__finitef): Likewise.
82242         (__ieee754_sqrt): Define as macro.
82243         (__ieee754_sqrtf): Define as macro.
82244         (__ieee754_sqrtl): Define as macro.
82245         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82246         inlined copy.
82247         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82248         __FINITE_MATH_ONLY__ consistent.
82249         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82251 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82253         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82254         of rawmemchr.
82256         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82258 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82260         * po/ja.po: Update from translation team.
82262 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82264         * locale/programs/locarchive.c (prepare_address_space): New function.
82265         (create_archive, enlarge_archive, open_archive): Use it.
82267         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82268         inside [SHARED], where it is used.
82270         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82272         * nss/getent.c (netgroup_keys): Remove unused variable.
82273         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82275 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82277         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82278         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82279         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82280         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82281         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82282         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82283         * math/Makefile (libm-calls): Add s_isinf_ns.
82284         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82285         * math/multc3.c: Likewise.
82286         * math/s_casin.c: Likewise.
82287         * math/s_casinf.c: Likewise.
82288         * math/s_casinl.c: Likewise.
82289         * math/s_ccos.c: Likewise.
82290         * math/s_ccosf.c: Likewise.
82291         * math/s_ccosl.c: Likewise.
82292         * math/s_ctan.c: Likewise.
82293         * math/s_ctanf.c: Likewise.
82294         * math/s_ctanh.c: Likewise.
82295         * math/s_ctanhf.c: Likewise.
82296         * math/s_ctanhl.c: Likewise.
82297         * math/s_ctanl.c: Likewise.
82298         * math/w_fmod.c: Likewise.
82299         * math/w_fmodf.c: Likewise.
82300         * math/w_fmodl.c: Likewise.
82301         * math/w_remainder.c: Likewise.
82302         * math/w_remainderf.c: Likewise.
82303         * math/w_remainderl.c: Likewise.
82304         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82305         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82306         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82307         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82308         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82309         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82310         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82311         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82313         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82314         of the number.
82315         * stdio-common/printf_fphex.c: Likewise.
82316         * stdio-common/printf_size.c: Likewise.
82318         * math/e_exp10.c: Include math_private.h using <...> not "...".
82319         * math/e_exp10f.c: Likewise.
82320         * math/e_exp10l.c: Likewise.
82321         * math/e_exp2l.c: Likewise.
82322         * math/e_j0l.c: Likewise.
82323         * math/e_j1l.c: Likewise.
82324         * math/e_jnl.c: Likewise.
82325         * math/e_lgammal_r.c: Likewise.
82326         * math/e_rem_pio2l.c: Likewise.
82327         * math/e_scalb.c: Likewise.
82328         * math/e_scalbf.c: Likewise.
82329         * math/e_scalbl.c: Likewise.
82330         * math/k_cosl.c: Likewise.
82331         * math/k_sinl.c: Likewise.
82332         * math/k_tanl.c: Likewise.
82333         * math/s_cacoshf.c: Likewise.
82334         * math/s_catan.c: Likewise.
82335         * math/s_catanf.c: Likewise.
82336         * math/s_catanh.c: Likewise.
82337         * math/s_catanhf.c: Likewise.
82338         * math/s_catanhl.c: Likewise.
82339         * math/s_catanl.c: Likewise.
82340         * math/s_ccosh.c: Likewise.
82341         * math/s_ccoshf.c: Likewise.
82342         * math/s_ccoshl.c: Likewise.
82343         * math/s_cexp.c: Likewise.
82344         * math/s_cexpf.c: Likewise.
82345         * math/s_cexpl.c: Likewise.
82346         * math/s_clog.c: Likewise.
82347         * math/s_clog10.c: Likewise.
82348         * math/s_clog10f.c: Likewise.
82349         * math/s_clog10l.c: Likewise.
82350         * math/s_clogf.c: Likewise.
82351         * math/s_clogl.c: Likewise.
82352         * math/s_csin.c: Likewise.
82353         * math/s_csinf.c: Likewise.
82354         * math/s_csinh.c: Likewise.
82355         * math/s_csinhf.c: Likewise.
82356         * math/s_csinhl.c: Likewise.
82357         * math/s_csinl.c: Likewise.
82358         * math/s_csqrt.c: Likewise.
82359         * math/s_csqrtf.c: Likewise.
82360         * math/s_csqrtl.c: Likewise.
82361         * math/s_ctan.c: Likewise.
82362         * math/s_ctanf.c: Likewise.
82363         * math/s_ctanh.c: Likewise.
82364         * math/s_ctanhf.c: Likewise.
82365         * math/s_ctanhl.c: Likewise.
82366         * math/s_ctanl.c: Likewise.
82367         * math/s_ldexp.c: Likewise.
82368         * math/s_ldexpf.c: Likewise.
82369         * math/s_ldexpl.c: Likewise.
82370         * math/s_significand.c: Likewise.
82371         * math/s_significandf.c: Likewise.
82372         * math/s_significandl.c: Likewise.
82373         * math/w_acos.c: Likewise.
82374         * math/w_acosf.c: Likewise.
82375         * math/w_acosh.c: Likewise.
82376         * math/w_acoshf.c: Likewise.
82377         * math/w_acoshl.c: Likewise.
82378         * math/w_acosl.c: Likewise.
82379         * math/w_asin.c: Likewise.
82380         * math/w_asinf.c: Likewise.
82381         * math/w_asinl.c: Likewise.
82382         * math/w_atan2.c: Likewise.
82383         * math/w_atan2f.c: Likewise.
82384         * math/w_atan2l.c: Likewise.
82385         * math/w_atanh.c: Likewise.
82386         * math/w_atanhf.c: Likewise.
82387         * math/w_atanhl.c: Likewise.
82388         * math/w_cosh.c: Likewise.
82389         * math/w_coshf.c: Likewise.
82390         * math/w_coshl.c: Likewise.
82391         * math/w_dremf.c: Likewise.
82392         * math/w_exp10.c: Likewise.
82393         * math/w_exp10f.c: Likewise.
82394         * math/w_exp10l.c: Likewise.
82395         * math/w_exp2.c: Likewise.
82396         * math/w_exp2f.c: Likewise.
82397         * math/w_fmod.c: Likewise.
82398         * math/w_fmodf.c: Likewise.
82399         * math/w_fmodl.c: Likewise.
82400         * math/w_hypot.c: Likewise.
82401         * math/w_hypotf.c: Likewise.
82402         * math/w_hypotl.c: Likewise.
82403         * math/w_j0.c: Likewise.
82404         * math/w_j0f.c: Likewise.
82405         * math/w_j0l.c: Likewise.
82406         * math/w_j1.c: Likewise.
82407         * math/w_j1f.c: Likewise.
82408         * math/w_j1l.c: Likewise.
82409         * math/w_jn.c: Likewise.
82410         * math/w_jnf.c: Likewise.
82411         * math/w_jnl.c: Likewise.
82412         * math/w_lgamma.c: Likewise.
82413         * math/w_lgamma_r.c: Likewise.
82414         * math/w_lgammaf.c: Likewise.
82415         * math/w_lgammaf_r.c: Likewise.
82416         * math/w_lgammal.c: Likewise.
82417         * math/w_lgammal_r.c: Likewise.
82418         * math/w_log.c: Likewise.
82419         * math/w_log10.c: Likewise.
82420         * math/w_log10f.c: Likewise.
82421         * math/w_log10l.c: Likewise.
82422         * math/w_log2.c: Likewise.
82423         * math/w_log2f.c: Likewise.
82424         * math/w_log2l.c: Likewise.
82425         * math/w_logf.c: Likewise.
82426         * math/w_logl.c: Likewise.
82427         * math/w_pow.c: Likewise.
82428         * math/w_powf.c: Likewise.
82429         * math/w_powl.c: Likewise.
82430         * math/w_remainder.c: Likewise.
82431         * math/w_remainderf.c: Likewise.
82432         * math/w_remainderl.c: Likewise.
82433         * math/w_scalb.c: Likewise.
82434         * math/w_scalbf.c: Likewise.
82435         * math/w_scalbl.c: Likewise.
82436         * math/w_sinh.c: Likewise.
82437         * math/w_sinhf.c: Likewise.
82438         * math/w_sinhl.c: Likewise.
82439         * math/w_sqrt.c: Likewise.
82440         * math/w_sqrtf.c: Likewise.
82441         * math/w_sqrtl.c: Likewise.
82442         * math/w_tgamma.c: Likewise.
82443         * math/w_tgammaf.c: Likewise.
82444         * math/w_tgammal.c: Likewise.
82446         * po/ja.po: Update from translation team.
82448 2011-09-29  Andreas Jaeger  <aj@suse.de>
82450         [BZ #13179]
82451         * sunrpc/netname.c (netname2host): Fix logic.
82453         [BZ #6779]
82454         [BZ #6783]
82455         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
82456         correctly.
82457         * math/w_remainder.c (__remainder): Likewise.
82458         * math/w_remainderf.c (__remainderf): Likewise.
82459         * math/libm-test.inc (remainder_test): Add test cases.
82461 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82463         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
82464         sdiv_qrnnd.
82466 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82468         * string/test-memcmp.c: Avoid unncessary #defines.
82469         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82471 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82473         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
82474         Use new sse2 version for core i3 - i7 as it's faster
82475         than sse42 version.
82476         (bit_Prefer_PMINUB_for_stringop): New.
82477         * sysdeps/x86_64/rawmemchr.S: Update.
82478         Replace with faster SSE2 version.
82479         * sysdeps/x86_64/memrchr.S: New file.
82480         * sysdeps/x86_64/memchr.S: Update.
82481         Replace with faster SSE2 version.
82483 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
82485         * elf/dl-load.c (lose): Add cast to avoid warning.
82487 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82489         * po/ca.po: Update from translation team.
82491         * inet/getnetgrent_r.c: Hook up nscd.
82492         * nscd/Makefile (routines): Add nscd_netgroup.
82493         (nscd-modules): Add netgroupcache.
82494         (CFLAGS-netgroupcache.c): Define.
82495         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
82496         (cache_search): Add const to second parameter.
82497         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
82498         INNETGR.
82499         (dbs): Add netgrdb entry.
82500         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
82501         (verify_persistent_db): Handle netgrdb.
82502         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
82503         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
82504         GETFDNETGR.
82505         (netgroup_response_header): Define.
82506         (innetgroup_response_header): Define.
82507         (datahead): Add netgroup_response_header and innetgroup_response_header
82508         elements.
82509         * nscd/nscd.conf: Add entries for netgroup cache.
82510         * nscd/nscd.h (dbtype): Add netgrdb.
82511         (_PATH_NSCD_NETGROUP_DB): Define.
82512         (netgroup_iov_disabled): Declare.
82513         (xmalloc, xcalloc, xrealloc): Move declarations here.
82514         (cache_search): Adjust prototype.
82515         Add netgroup-related prototypes.
82516         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
82517         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
82518         (__nscd_innetgr): Declare.
82519         * nscd/selinux.c (perms): Use access_vector_t as element type and
82520         add netgroup-related initializers.
82521         * nscd/netgroupcache.c: New file.
82522         * nscd/nscd_netgroup.c: New file.
82523         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
82524         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
82525         For four parameters use innetgr.
82526         * nss/nss_files/files-init.c: Add definition and callback for netgr.
82527         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
82528         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
82529         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
82531         * nscd/connections.c (register_traced_file): Don't register file
82532         for disabled databases.
82534 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
82536         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
82538         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
82539         from tree and freeing node.
82541 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
82543         * nss/nsswitch.c (__nss_database_lookup): Handle
82544         nss_parse_service_list out of memory case.
82546 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
82548         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
82549         out of memory case.
82551 2011-10-04  Andreas Schwab  <schwab@redhat.com>
82553         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
82554         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
82555         pass it down.
82556         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
82557         elf_machine_rela, elf_machine_lazy_rel.
82558         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
82559         (ELF_DYNAMIC_DO_REL): Likewise.
82560         (ELF_DYNAMIC_DO_RELA): Likewise.
82561         (ELF_DYNAMIC_RELOCATE): Likewise.
82562         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
82563         to ELF_DYNAMIC_DO_REL.
82564         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
82565         (dl_main): In trace mode always set __RTLD_NOIFUNC.
82566         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
82567         elf_machine_rela.
82568         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
82569         skip_ifunc, don't call ifunc function if non-zero.
82570         (elf_machine_rela): Likewise.
82571         (elf_machine_lazy_rel): Likewise.
82572         (elf_machine_lazy_rela): Likewise.
82573         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
82574         (elf_machine_lazy_rel): Likewise.
82575         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
82576         Likewise.
82577         (elf_machine_lazy_rel): Likewise.
82578         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82579         Likewise.
82580         (elf_machine_lazy_rel): Likewise.
82581         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
82582         (elf_machine_lazy_rel): Likewise.
82583         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
82584         (elf_machine_lazy_rel): Likewise.
82585         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
82586         (elf_machine_lazy_rel): Likewise.
82587         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
82588         (elf_machine_lazy_rel): Likewise.
82589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
82590         (elf_machine_lazy_rel): Likewise.
82591         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
82592         (elf_machine_lazy_rel): Likewise.
82594 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
82596         * nss/nss_files/files-init.c (_nss_files_init): Use static
82597         initialization for all the *_traced_file variables.
82599 2011-09-28  Andreas Schwab  <schwab@redhat.com>
82601         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82603 2011-09-27  Roland McGrath  <roland@hack.frob.com>
82605         [BZ #13226]
82606         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
82608 2011-09-27  Andreas Schwab  <schwab@redhat.com>
82610         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82611         Reread the line before reparsing it.
82613 2011-09-26  Andreas Schwab  <schwab@redhat.com>
82615         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
82617 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
82618             Maxim Kuvyrkov  <maxim@codesourcery.com>
82619             Joseph Myers  <joseph@codesourcery.com>
82621         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
82622         if needed for __stack_chk_guard.
82624 2011-09-19  Roland McGrath  <roland@hack.frob.com>
82626         * sysdeps/posix/spawni.c (script_execute): Always define it.
82627         It will be optimized away if unused.
82628         (maybe_script_execute): New function.
82629         (__spawni): Call it.
82631         * Makerules: Don't include tls.make.
82632         (config-tls): Always set to thread.
82633         * tls.make.c: File removed.
82635 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
82637         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
82638         * config.make.in (CPPFLAGS-config): New substituted variable.
82640 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
82642         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
82644         [BZ #13192]
82645         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
82646         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
82648 2011-09-15  Roland McGrath  <roland@hack.frob.com>
82650         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
82651         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
82652         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82653         (CALL_FAIL): Likewise.
82654         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
82655         (CALL_FAIL): Macro removed.
82656         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
82658 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
82660         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
82661         for __FINITE_MATH_ONLY__ == 1.
82663 2011-09-15  Andreas Schwab  <schwab@redhat.com>
82665         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
82666         __ieee754_sqrt instead of sqrt.
82667         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
82668         __ieee754_sqrtf instead of sqrtf.
82669         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
82670         __floorf instead of floorf.
82671         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
82672         __floorf, __truncf instead of floorf, truncf.
82674 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
82676         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
82678         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
82679         __extern_always_inline.
82680         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
82681         32-bit.
82683 2011-09-14  Andreas Schwab  <schwab@redhat.com>
82685         * elf/rtld.c (dl_main): Also relocate in dependency order when
82686         doing symbol dependency testing.
82688 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
82690         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82691         Always define `refsym'.
82693 2011-09-13  Andreas Schwab  <schwab@redhat.com>
82695         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
82696         (__FD_ELT): Renamed from __FDELT.
82697         * misc/bits/select2.h (__FD_ELT): Likewise.
82698         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
82699         __FD_MASK instead of __FDELT, __FDMASK.
82700         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
82701         Likewise.
82702         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
82703         Likewise.
82705         * elf/Makefile (gen-ldd): Fix pattern.
82707         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
82708         (init_tls): Likewise.
82710 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
82712         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
82714 2011-09-12  Andreas Schwab  <schwab@redhat.com>
82716         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
82717         `struct cmsghdr *' instead of `void *'.
82718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
82719         Likewise.
82721 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
82723         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
82724         if non-absolute.
82725         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
82726         ldd_rewrite_script.
82728 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
82730         * configure.in: Remove --with-tls option.
82731         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
82732         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
82733         out in case it is missing.
82734         * sysdeps/ia64/elf/configure.in: Likewise.
82735         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
82736         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
82737         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
82738         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
82739         * sysdeps/sh/elf/configure.in: Likewise.
82740         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
82741         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82742         * sysdeps/x86_64/elf/configure.in: Likewise.
82743         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
82744         * sysdeps/mach/hurd/tls.h: Likewise.
82746         [BZ #13067]
82747         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
82749         [BZ #13090]
82750         * configure.in: Fix use of AC_INIT.
82752         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
82754 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
82756         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
82757         __set_errno.
82758         * malloc/hooks.c: Likewise.
82760         [BZ #11929]
82761         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
82762         variables statically.
82763         (narenas): Initialize.
82764         (list_lock): Initialize.
82765         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
82766         initializtion of main_arena and list_lock.  Small cleanups.
82767         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
82768         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
82769         Add initializers to main_arena and mp_.
82770         (malloc_state): Remove pagesize member.  Change all users to use
82771         GLRO(dl_pagesize).
82773         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
82774         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
82775         is always initialized.
82777         * malloc/malloc.c: Removed unused configurations and dead code.
82778         * malloc/arena.c: Likewise.
82779         * malloc/hooks.c: Likewise.
82780         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
82782         * include/tls.h: Removed.  USE___THREAD must always be defined.
82783         * bits/libc-tsd.h: Don't handle !USE___THREAD.
82784         * elf/dl-libc.c: Likewise.
82785         * elf/dl-tsd.c: Likewise.
82786         * include/errno.h: Likewise.
82787         * include/netdb.h: Likewise.
82788         * include/resolv.h: Likewise.
82789         * inet/herrno-loc.c: Likewise.
82790         * inet/herrno.c: Likewise.
82791         * malloc/arena.c: Likewise.
82792         * malloc/hooks.c: Likewise.
82793         * malloc/malloc.c: Likewise.
82794         * resolv/res-state.c: Likewise.
82795         * resolv/res_libc.c: Likewise.
82796         * sysdeps/i386/dl-machine.h: Likewise.
82797         * sysdeps/ia64/dl-machine.h: Likewise.
82798         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
82799         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
82800         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
82801         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
82802         * sysdeps/sh/dl-machine.h: Likewise.
82803         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
82804         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
82805         * sysdeps/unix/i386/sysdep.S: Likewise.
82806         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
82807         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
82808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
82809         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
82810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
82811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
82812         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
82813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
82814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
82816         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82817         * sysdeps/x86_64/dl-machine.h: Likewise.
82818         * tls.make.c: Likewise.
82820         * configure.in: Remove --with-__thread option.  Make tests for
82821         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
82822         tls_model attribute fail if no support is available.  Remove
82823         USE_IN_LIBIO.
82824         * Makeconfig: Adjust for dropped configure option.  All features are
82825         now mandatory.
82826         * Makerules: Likewise.
82827         * Versions.def: Likewise.
82828         * argp/argp-fmtstream.c: Likewise.
82829         * argp/argp-fmtstream.h: Likewise.
82830         * argp/argp-help.c: Likewise.
82831         * assert/assert.c: Likewise.
82832         * config.h.in: Likewise.
82833         * config.make.in: Likewise.
82834         * configure: Likewise.
82835         * configure.in: Likewise.
82836         * csu/Versions: Likewise.
82837         * csu/init.c: Likewise.
82838         * elf/tst-audit2.c: Likewise.
82839         * elf/tst-tls10.c: Likewise.
82840         * elf/tst-tls10.h: Likewise.
82841         * elf/tst-tls11.c: Likewise.
82842         * elf/tst-tls12.c: Likewise.
82843         * elf/tst-tls14.c: Likewise.
82844         * elf/tst-tlsmod11.c: Likewise.
82845         * elf/tst-tlsmod12.c: Likewise.
82846         * elf/tst-tlsmod13.c: Likewise.
82847         * elf/tst-tlsmod13a.c: Likewise.
82848         * elf/tst-tlsmod14a.c: Likewise.
82849         * elf/tst-tlsmod15b.c: Likewise.
82850         * elf/tst-tlsmod16a.c: Likewise.
82851         * elf/tst-tlsmod16b.c: Likewise.
82852         * elf/tst-tlsmod7.c: Likewise.
82853         * elf/tst-tlsmod8.c: Likewise.
82854         * elf/tst-tlsmod9.c: Likewise.
82855         * gmon/gmon.c: Likewise.
82856         * grp/fgetgrent_r.c: Likewise.
82857         * grp/putgrent.c: Likewise.
82858         * hurd/fopenport.c: Likewise.
82859         * include/libc-symbols.h: Likewise.
82860         * include/tls.h: Likewise.
82861         * intl/gettextP.h: Likewise.
82862         * intl/loadinfo.h: Likewise.
82863         * locale/global-locale.c: Likewise.
82864         * locale/localeinfo.h: Likewise.
82865         * mach/devstream.c: Likewise.
82866         * malloc/arena.c: Likewise.
82867         * malloc/set-freeres.c: Likewise.
82868         * misc/err.c: Likewise.
82869         * misc/getttyent.c: Likewise.
82870         * misc/mntent_r.c: Likewise.
82871         * posix/getopt.c: Likewise.
82872         * posix/wordexp.c: Likewise.
82873         * pwd/fgetpwent_r.c: Likewise.
82874         * resolv/Versions: Likewise.
82875         * resolv/res_hconf.c: Likewise.
82876         * shadow/fgetspent_r.c: Likewise.
82877         * shadow/putspent.c: Likewise.
82878         * stdio-common/printf_fphex.c: Likewise.
82879         * stdio-common/tmpfile.c: Likewise.
82880         * stdlib/abort.c: Likewise.
82881         * stdlib/fmtmsg.c: Likewise.
82882         * sunrpc/auth_unix.c: Likewise.
82883         * sunrpc/clnt_perr.c: Likewise.
82884         * sunrpc/clnt_tcp.c: Likewise.
82885         * sunrpc/clnt_udp.c: Likewise.
82886         * sunrpc/clnt_unix.c: Likewise.
82887         * sunrpc/openchild.c: Likewise.
82888         * sunrpc/svc_simple.c: Likewise.
82889         * sunrpc/svc_tcp.c: Likewise.
82890         * sunrpc/svc_udp.c: Likewise.
82891         * sunrpc/svc_unix.c: Likewise.
82892         * sunrpc/xdr.c: Likewise.
82893         * sunrpc/xdr_array.c: Likewise.
82894         * sunrpc/xdr_rec.c: Likewise.
82895         * sunrpc/xdr_ref.c: Likewise.
82896         * sunrpc/xdr_stdio.c: Likewise.
82898 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
82900         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82902 2011-07-03  Andreas Jaeger  <aj@suse.de>
82904         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
82905         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
82906         regenerate with gen-libm-tests.pl.
82908 2010-05-12  Petr Baudis  <pasky@suse.cz>
82910         [BZ #11589]
82911         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
82912         around j0() zero points by switching to j1().
82913         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82914         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82915         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82916         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82918 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
82920         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
82921         instead of 0.
82922         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
82923         instead of 0.
82924         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82925         Patch in part by Pavel Roskin <proski@gnu.org>.
82927         [BZ #13138]
82928         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
82929         realloc.
82930         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
82931         Free memory block if necessary.
82933         [BZ #12847]
82934         * libio/genops.c (INTDEF): For string streams the _lock pointer can
82935         be NULL.  Don't lock in this case.
82937 2011-09-09  Roland McGrath  <roland@hack.frob.com>
82939         * elf/elf.h (ELFOSABI_GNU): New macro.
82940         (ELFOSABI_LINUX): Define to that.
82942 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
82944         * string/strncat.c (strncat): Undef the symbol in case it has been
82945         defined in bits/string.h.
82947 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
82949         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
82951         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
82952         link map.
82954 2011-08-17  Andreas Jaeger  <aj@suse.de>
82956         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
82958 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
82959             Ian Lance Taylor  <iant@google.com>
82961         * math/libm-test.inc (lround_test): New testcase.
82962         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
82964 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
82966         * Makefile: Remove support for automatic cvs check-ins.
82967         * Makerules: Likewise.
82968         * config.make.in: Likewise.
82969         * configure.in: Likewise.
82970         * intl/Makefile: Likewise.
82971         * locale/Makefile: Likewise.
82972         * po/Makefile: Likewise.
82973         * posix/Makefile: Likewise.
82974         * sysdeps/gnu/Makefile: Likewise.
82975         * sysdeps/mach/hurd/Makefile: Likewise.
82976         * sysdeps/sparc/sparc32/Makefile: Likewise.
82978         [BZ #13118]
82979         * posix/Makefile (bug-regex32-ENV): Define.
82980         Patch by John Stanley <jpsinthemix@verizon.net>.
82982         * misc/Makefile (headers): Add bits/select2.h.
82983         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
82984         * misc/bits/select2.h: New file.
82985         * include/bits/select2.h: New file.
82986         * debug/Makefile (routines): Add fdelt_chk.
82987         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
82988         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
82989         FD_ISSET.
82990         * debug/fdelt_chk.c: New file.
82992         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
82993         * wcsmbs/test-wmemcmp.c: Likewise.
82994         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
82995         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
82997 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82999         * string/Makefile (strop-tests): Add memcmp.
83000         * string/test-wmemcmp.c: New file.
83001         * string/test-memcmp.c: Add wmemcmp support.
83003 2011-09-08  Roland McGrath  <roland@hack.frob.com>
83005         [BZ #13153]
83006         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
83007         2011-07-19 change.
83009         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
83010         garbage value in a __mach_port_mod_refs call in the cases of the
83011         task-self and thread-self ports.
83013 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83015         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
83017 2011-09-08  Andreas Schwab  <schwab@redhat.com>
83019         * elf/dl-load.c (lose): Check for non-null L.
83021 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83023         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
83025         * elf/dl-libc.c (dlerror_run): Pass back error code from
83026         dl_catch_error.
83028         [BZ #13123]
83029         * elf/dl-load.c (lose): Free l_origin if it is valid.
83031         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
83032         names.
83033         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
83034         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83035         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83036         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83037         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
83038         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
83040 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83042         * sysdeps/powerpc/fpu/e_hypot.c: New file.
83043         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
83044         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
83045         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
83046         * sysdeps/powerpc/fpu/k_cosf.c: New file.
83047         * sysdeps/powerpc/fpu/k_sinf.c: New file.
83048         * sysdeps/powerpc/fpu/s_cosf.c: New file.
83049         * sysdeps/powerpc/fpu/s_sinf.c: New file.
83050         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83051         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83053 2011-08-15  Alan Modra  <amodra@gmail.com>
83055         [BZ #13092]
83056         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83057         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83058         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
83059         ppc_mcount to static-only-routines.
83060         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83061         __mcount_internal.
83062         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83063         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
83065 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
83067         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83068         for finite and infinity parameters.
83070 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83072         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83073         and add nop instructions for throughput optimization.
83074         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83076 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83078         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83079         aligned copy for power7 with vector-scalar instructions.
83080         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83082 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83084         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83085         AVX check.
83087 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83089         [BZ #13144]
83090         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83091         last change.
83093 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83095         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83096         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83097         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83098         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83099         clock_gettime.
83101 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83103         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83104         Forgot to demangle the pointer.
83106         * sysdeps/i386/sysdep.h: Define atom_text_section.
83107         * sysdeps/x86_64/sysdep.h: Likewise.
83108         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83109         section with atom_text_section.
83110         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83111         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83112         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83113         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83114         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83116         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83117         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83118         already be defined.  Change to take two parameters and don't assign
83119         result to variable.  Adjust all users.
83120         Define INTERNAL_GETTIME if not already defined.
83121         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83122         call.
83123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83124         HAVE_CLOCK_GETTIME_VSYSCALL.
83125         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83127         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83128         gettimeofday vsyscall, just use time.
83130 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83132         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83133         <errno.h>.
83135 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83137         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83138         syscall on x86-64.
83139         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83140         syscall.
83141         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83142         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83143         syscall if possible.
83145 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83147         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83148         e_ident.  Don't pass to find_mapsXX.
83149         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83151 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83154         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83155         * sysdeps/x86_64/multiarch/strchr.S: Update.
83156         Check bit_slow_BSF bit.
83157         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83158         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83159         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83161 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83163         [BZ #13134]
83164         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83165         before glibc 2.15.
83166         (tryshell): Define.
83167         (__spawni): Change last parameter to be flag.  Test
83168         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83169         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83170         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83171         * posix/spawni.c: Likewise.
83172         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83173         * posix/spawnp.c: Likewise.  Change normal version to use
83174         SPAWN_XFLAGS_USE_PATH.
83175         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83176         SPAWN_XFLAGS_TRY_SHELL.
83178         [BZ #13150]
83179         * posix/glob.h: Remove gcc 1.x support.
83181         [BZ #13068]
83182         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83184 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83187         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83188         strrchr-sse2-bsf
83189         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83190         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83191         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83192         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83193         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83194         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83196 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83198         * sysdeps/x86_64/wcscmp.S: New file.
83200         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83201         wcscmp-c wcscmp-sse2
83202         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83203         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83204         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83205         * wcsmbs/wcscmp.c: Allow renaming.
83207 2011-09-05  David S. Miller  <davem@davemloft.net>
83209         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83210         stack slot, rather than the struct return pointer slot.
83211         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83212         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83214         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83216 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83218         * po/ja.po: Update from translation team.
83220         [BZ #13144]
83221         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83222         kernel in 64-bit binaries.
83224 2011-09-01  David S. Miller  <davem@davemloft.net>
83226         * elf/elf.h (HWCAP_SPARC_*): Move to..
83227         * sysdeps/sparc/sysdep.h: this new file and add new values.
83228         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83229         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83230         _DL_HWCAP_COUNT to 24.
83231         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83232         entries.
83233         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83234         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83235         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83236         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83237         instead of magic constants.
83238         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83240 2011-08-31  David S. Miller  <davem@davemloft.net>
83242         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83243         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83244         Reimplement to do errno handling inline.
83245         (SYSCALL_ERROR_HANDLER): New macro.
83246         (__SYSCALL_STRING): Do not do errno handling in asm.
83247         (__CLONE_SYSCALL_STRING): Delete.
83248         (__INTERNAL_SYSCALL_STRING): Delete.
83249         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83250         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83251         (PSEUDO): Reimplement to do errno handling inline.
83252         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83253         (SYSCALL_ERROR_HANDLER): New macro.
83254         (__SYSCALL_STRING): Do not do errno handling in asm.
83255         (__CLONE_SYSCALL_STRING): Delete.
83256         (__INTERNAL_SYSCALL_STRING): Delete.
83257         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83258         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83259         i386.
83260         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83261         (inline_syscall*): Add 'err' argument.
83262         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83263         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83264         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83265         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83267         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83268         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83270 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83272         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83274 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83276         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83277         directive.
83279 2011-08-24  David S. Miller  <davem@davemloft.net>
83281         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83283 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83285         * elf/Makefile: Add rules to build and run unload8 test.
83286         * elf/unload8.c: New file.
83287         * elf/unload8mod1.c: New file.
83288         * elf/unload8mod1x.c: New file.
83289         * elf/unload8mod2.c: New file.
83290         * elf/unload8mod3.c: New file.
83292         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83293         it wasn't used.
83295 2011-08-23  David S. Miller  <davem@davemloft.net>
83297         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83298         subtract stack bias.
83299         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83300         %sp not %fp in calculations.
83301         (_JMPBUF_UNWINDS_ADJ): Likewise.
83303         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83304         (aio_suspend): Call it to force an exception region around the
83305         AIO_MISC_WAIT() invocation.
83307 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83309         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83310         backslash.
83312 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83314         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83315         protection macro.
83316         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83317         and <dl-machine.h>.
83318         (Elf64_FuncDesc): Remove.
83320 2011-08-22  David S. Miller  <davem@davemloft.net>
83322         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83323         sigaltstack check, add missing cfi directives.
83324         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83325         missing cfi directives, and sigaltstack handling.
83327 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83329         [BZ #11724]
83330         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83331         object is seen twice.
83332         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83334         * elf/Makefile (distribute): Add tst-initorder2.c.
83335         (tests): Add tst-initorder2.
83336         (modules-names): Add tst-initorder2a tst-initorder2b
83337         tst-initorder2c tst-initorder2d.  Add rules to build them.
83338         ($(objpfx)tst-initorder2.out): New rule.
83339         * elf/tst-initorder2.c: New file.
83340         * elf/tst-initorder2.exp: New file.
83342 2011-08-22  Andreas Schwab  <schwab@redhat.com>
83344         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83346         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83347         dependencies back to end of function.
83349         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83350         $(elfobjdir)/ld.so.
83352 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
83354         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83355         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83356         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83357         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83358         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83359         of __vdso_gettimeofday.
83360         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83361         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
83362         attribute_hidden.
83363         (_libc_vdso_platform_setup): Remove initialization of
83364         __vdso_gettimeofday and __vdso_time.
83366 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83368         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
83369         and fgetc_unlocked.
83370         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
83371         getc_unlocked.
83373         * elf/dl-open.c (add_to_global): Report additions to the global scope
83374         for LD_DEBUG=scopes.
83375         (dl_open_worker): Also print scope of newly loaded dependencies.
83376         (_dl_show_scope): Indicate if there is no scope.
83378         [BZ #13114]
83379         * stdio-common/Makefile (tests): Add bug24.
83380         * stdio-common/bug24.c: New file.
83382 2011-08-19  Andreas Jaeger  <aj@suse.de>
83384         [BZ #13114]
83385         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
83386         non-existant file when using close-on-exec mode.
83388 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83390         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
83391         the very first instruction.
83393         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
83394         the CFI state in the end.
83395         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
83396         inclusion of dl-trampoline.h.
83397         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
83399 2011-08-19  Andreas Schwab  <schwab@redhat.com>
83401         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
83402         expectations for long double.
83404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
83405         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
83407 2011-08-14  David S. Miller  <davem@davemloft.net>
83409         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
83410         artificual limit depends upon the system page size.
83412 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83414         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
83415         * resolv/Makefile: Define CFLAGS-libresolv.
83417 2011-08-17  Andreas Schwab  <schwab@redhat.com>
83419         * nss/makedb.c (compute_tables): Make variables used in nested
83420         function static.
83422 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83424         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
83425         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
83426         if buffer was too small.
83428         * elf/pldd.c (main): Attach to all threads in the process.
83429         Rewrite /proc handling to use *at functions.
83431 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
83433         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
83434         specifies first scope to show.
83435         (dl_open_worker): Update callers.  Move printing scope of new
83436         object to before the relocation.
83437         * elf/rtld.c (dl_main): Update _dl_show_scope call.
83438         * sysdeps/generic/ldsodefs.h: Update declaration.
83440         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
83441         string for the scope number.
83443 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
83445         * nscd/servicescache.c (cache_addserv): Make sure written is always
83446         initialized.
83448 2011-08-14  Roland McGrath  <roland@hack.frob.com>
83450         * sysdeps/i386/i486/bits/atomic.h
83451         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
83452         statement expression, so as to suppress "set but not used" warning.
83453         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
83455         * string/strncat.c (STRNCAT): Use prototype definition.
83457         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
83458         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
83459         -Iprograms here.
83460         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
83461         (localedef-modules): Add localedef.
83462         (locale-modules): Add locale.
83464         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
83465         * elf/rtld.c (dl_main): Invert order of assignment in last change,
83466         to avoid a warning.
83468 2011-08-14  David S. Miller  <davem@davemloft.net>
83470         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
83471         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
83473 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
83475         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
83476         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
83477         * elf/rtld.c (dl_main): Set l_name of vDSO.
83478         Call _dl_show_scope when DL_DEBUG_SCOPES.
83479         (process_dl_debug): Recognize scopes flag and also set it for all.
83480         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
83481         Declare _dl_show_scope.
83483         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
83484         (do_dlopen): Pass caller_dlopen to dl_open.
83485         (__libc_dlopen_mode): Initialize caller_dlopen.
83487         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
83488         of libc.  Make tolower call locale-independent.  Optimize a bit by
83489         using isdigit instead of isalnum.
83490         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
83492 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
83494         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
83495         was a dependency or dynamically loaded.
83497 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
83499         * intl/l10nflist.c: Allow architecture-specific pop function.
83500         * sysdeps/x86_64/l10nflist.c: New file.
83502         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
83503         classification.
83505 2011-08-10  Andreas Schwab  <schwab@redhat.com>
83507         * include/dirent.h: Add libc_hidden_proto for scandirat and
83508         scandirat64.  Don't declare __scandirat64.
83509         * dirent/scandirat.c: Add libc_hidden_def.
83510         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
83511         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
83513 2011-08-10  David S. Miller  <davem@davemloft.net>
83515         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
83516         enum.
83517         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83518         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83519         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83521 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
83523         * Versions.def [libc]: Add GLIBC_2.15.
83524         * dirent/Makefile (routines): Add scandirat and scandirat64.
83525         * dirent/Versions [libc]: Export scandirat and scandirat64 for
83526         GLIBC_2.15.
83527         * dirent/dirent.h: Declare scandirat and scandirat64.
83528         * dirent/scandirat.c: New file.
83529         * dirent/scandirat64.c: New file.
83530         * sysdeps/wordsize-64/scandirat.c: New file.
83531         * sysdeps/wordsize-64/scandirat64.c: New file.
83532         * dirent/opendir.c: Define opendirat.
83533         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
83534         using scandirat.
83535         * dirent/scandir64.c: Adjust for scandir.c change.
83536         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
83537         __scandirat64, and __scandir_cancel_handler.
83538         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
83539         additional parameter and use openat instead of open (outside of ld.so).
83540         Add new __opendir as wrapper around __opendirat.
83541         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
83542         here without requiring old scandirat implementation.
83544 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
83546         * dirent/scandir.c (cancel_handler): Renamed to
83547         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
83548         defined.  Adjust users.
83549         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
83550         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
83552 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
83554         * string/test-string.h (IMPL): Use __STRING to expand name and then
83555         stringify it.
83557         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
83558         of cleanups.
83560 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83562         * string/Makefile: Update.
83563         (strop-tests): Append strncat.
83564         * string/test-wcscmp.c: New file.
83565         New comprehensive test for wcscmp.
83566         * string/test-strcmp.c: Update.
83567         (WIDE): New define.
83569 2011-07-22  Andreas Schwab  <schwab@redhat.com>
83571         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
83572         line.
83574 2011-07-26  Andreas Schwab  <schwab@redhat.com>
83576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83577         encoding to ACE if AI_IDN.
83579 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
83581         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
83582         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
83584 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83586         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
83587         Fix overflow bug in strncat.
83588         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
83590         * string/test-strncat.c: Update.
83591         Add new tests for checking overflow bugs.
83593 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83595         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83596         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
83597         * sysdeps/i386/i686/multiarch/strcat.S: New file.
83598         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
83599         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
83600         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
83601         * sysdeps/i386/i686/multiarch/strncat.S: New file.
83602         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
83603         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
83605         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
83606         (USE_AS_STRCAT): Define.
83607         Add strcat and strncat support.
83608         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83610 2011-07-25  Andreas Schwab  <schwab@redhat.com>
83612         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
83613         __n bigger than INT_MAX+1.
83614         (__strncmp_g): Likewise.
83616 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
83618         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
83619         * libio/stido.h: Likewise.
83621         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
83622         (AF_NFC): Define.
83623         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
83624         (AF_NFC): Define.
83626         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
83627         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83628         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83629         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
83630         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83632         [BZ #13021]
83633         * scripts/test-installation.pl: Don't expect libnss_test1 to be
83634         installed.
83636         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
83637         typo.
83638         (_dl_x86_64_save_sse): Likewise.
83640 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
83642         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
83643         OSXSAVE.
83644         (_dl_x86_64_save_sse): Likewise.
83646         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
83648         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
83650 2011-07-21  Andreas Schwab  <schwab@redhat.com>
83652         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
83653         change.
83654         (_dl_x86_64_save_sse): Use correct AVX check.
83656 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83658         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
83659         bug in strncpy/strncat.
83660         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
83662 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
83664         * string/tester.c (test_strcat): Add tests for different alignments
83665         of source and destination.
83666         (test_strncat): Likewise.
83668 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
83670         [BZ #12852]
83671         * posix/glob.c (glob): Check passed in values before using them in
83672         expressions to avoid some overflows.
83673         (glob_in_dir): Likewise.
83675         [BZ #13007]
83676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
83677         check for AVX enablement so that we don't crash with old kernels and
83678         new hardware.
83679         * elf/tst-audit4.c: Add same checks here.
83680         * elf/tst-audit6.c: Likewise.
83682         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
83684 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
83686         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
83688 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
83690         * po/cs.po: Update from translation team.
83691         * po/bg.po: Likewise.
83693 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
83695         * misc/sys/cdefs.h: Add support for const attribute.
83696         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
83697         to gnu_dev_{major,minor,makedev} functions.
83699 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
83701         * intl/dcigettext.c (get_output_charset): Add missing bracket.
83703 2011-07-20  Andreas Schwab  <schwab@redhat.com>
83705         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
83706         strlen results.
83708 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
83711         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
83712         register in order to avoid conflicts with the soft frame pointer
83713         being held in r11 when necessary.
83714         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
83715         (INTERNAL_VSYSCALL_NCS): Likewise.
83717 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
83719         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
83720         * elf/dl-fini.c (_dl_fini): Adjust caller.
83721         * elf/dl-close.c (_dl_close_worker): Likewise.
83722         * sysdeps/generic/ldsodefs.h: Adjust declaration.
83724 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
83726         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
83727         "aux_cache->nlibs < 0".
83729         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
83730         in the reload-count case.
83732 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83735         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
83736         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
83737         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
83738         * sysdeps/x86_64/multiarch/strcat.S: New file.
83739         * sysdeps/x86_64/multiarch/strncat.S: New file.
83740         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
83741         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
83742         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
83743         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
83744         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
83745         (USE_AS_STRCAT): Define.
83746         Add strcat and strncat support.
83747         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83748         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
83749         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
83750         * string/strncat.c: Update.
83751         (USE_AS_STRNCAT): Define.
83752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83753         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
83754         and i7.
83755         * sysdeps/x86_64/multiarch/init-arch.h
83756         (bit_Prefer_PMINUB_for_stringop): New.
83757         (index_Prefer_PMINUB_for_stringop): Likewise.
83758         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
83759         bit_Prefer_PMINUB_for_stringop.
83761 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
83763         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
83764         buffer64.
83765         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
83766         of casting of buffer.
83767         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
83768         buffer32 and buffer64.
83769         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
83770         writes instead of casting of buffer.
83771         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
83772         buffer32.
83773         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
83774         casting of buffer.
83776 2011-07-19  Andreas Schwab  <schwab@redhat.com>
83778         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
83780 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
83782         * nscd/nscd.c (termination_handler): Don't do anything for a database
83783         if it has not yet been initialized.
83785 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
83787         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
83789 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
83791         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
83793 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
83795         * po/nl.po: Update from translation team.
83796         * po/sv.po: Likewise.
83798 2011-07-16  Roland McGrath  <roland@hack.frob.com>
83800         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
83801         now disallowed by GCC.
83803         * configure.in (use-default-link): Default to yes if a test -shared
83804         link meets our qualifications.
83805         * configure: Regenerated.
83807         * config.make.in (output-format): New variable.
83808         * configure.in: Check for ld --print-output-format support.
83809         * configure: Regenerated.
83810         * Makerules ($(common-objpfx)format.lds)
83811         [$(output-format) != unknown]: Just use $(output-format),
83812         instead of the linker-script munging.
83814 2011-07-14  Roland McGrath  <roland@hack.frob.com>
83816         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
83817         of $(common-objpfx)shlib.lds.
83818         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
83820         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
83821         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
83823         * configure.in (-z relro check): Adjust test code to add a large
83824         writable data section after it.
83825         * configure: Regenerated.
83827 2011-07-11  Roland McGrath  <roland@hack.frob.com>
83829         * configure.in (-z relro check): Fix test code to make the variable
83830         truly const.
83831         * configure: Regenerated.
83833 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
83835         * nscd/nscd.h (struct traced_file): Define.
83836         (struct database_dyn): Remove inotify_descr, reset_res, and filename
83837         elements.  Add traced_files.
83838         (inotify_fd): Declare.
83839         (register_traced_file): Declare.
83840         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
83841         (inotify_fd): Export.
83842         (resolv_conf_descr): Remove.
83843         (nscd_init): Move inotify descriptor creation to main.
83844         Don't register files for notification here.
83845         (register_traced_file): New function.
83846         (invalidate_cache): Don't use reset_res to determine whether to call
83847         res_init, go through the list of registered files.
83848         (main_loop_poll): The inotify descriptors are now stored in the
83849         structures for the traced files.
83850         (main_loop_epoll): Likewise.
83851         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
83852         to __nss_disable_nscd.
83853         * nscd/cache.c (prune_cache): There is no single inotify descriptor
83854         for a database anymore.  Check the records for all the registered
83855         files instead.
83856         * nss/Makefile (libnss_files-routines): Add files-init.
83857         (libnss_db-routines): Add db-init.
83858         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
83859         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
83860         * nss/nss_db/db-init.c: New file.
83861         * nss/nss_files/files-init.c: New file.
83862         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
83863         __nss_lookup_function.
83864         (__nss_lookup_function): Call nss_load_library.
83865         (nss_load_all_libraries): New function.
83866         (__nss_disable_nscd): Take parameter with callback function for files
83867         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
83868         used for the cached services.
83869         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
83870         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
83871         options for features to all the files in nscd.
83873         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
83875 2011-07-10  Roland McGrath  <roland@hack.frob.com>
83877         * csu/elf-init.c (__libc_csu_init): Comment typo.
83879 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
83881         * po/pl.po: Update from translation team.
83882         * po/ja.po: Likewise.
83883         * po/ru.po: Likewise.
83884         * po/ko.po: Likewise.
83885         * po/fr.po: Likewise.
83887 2011-07-09  Roland McGrath  <roland@hack.frob.com>
83889         * configure.in (.ctors/.dtors header and trailer check):
83890         Use an empirical test on a built program.
83891         * configure: Regenerated.
83893         * configure.in (-z relro check): Use an empirical test on a built DSO.
83894         Detect, but do not require, on ia64.
83895         * configure: Regenerated.
83897         * configure.in (READELF): Find it with AC_CHECK_TOOL.
83898         Update tests that use readelf to use $READELF instead.
83899         * configure: Regenerated.
83901 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
83903         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
83904         if the result is not used.
83906 2011-07-05  Andreas Jaeger  <aj@suse.de>
83908         [BZ#9696]
83909         * stdlib/tst-strtod.c: Add testcase.
83911 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
83913         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
83914         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
83915         The latter has a higher limit.  Take additional parameter to pass to
83916         the new function.
83917         (__pathconf): Pass file to __statfs_link_max.
83918         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
83919         __statfs_link_max.
83920         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
83921         __statfs_link_max.
83923         [BZ #12868]
83924         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
83925         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83926         Handle Lustre.
83927         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
83928         (__statfs_filesize_max): Likewise.
83929         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
83931 2011-07-05  Andreas Jaeger  <aj@suse.de>
83933         * resolv/res_comp.c (dn_skipname): Remove unused variable.
83935 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
83937         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
83938         `status' variable.
83939         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
83940         Likewise.
83942 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
83944         * Makefile (strop-tests): Add strncat.
83945         * string/test-strncat.c: New file.
83947 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
83949         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
83951 2011-06-21  Andreas Jaeger  <aj@suse.de>
83953         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
83954         Copy rule from iconvdata/Makefile.
83956 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
83958         [BZ #12922]
83959         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
83960         but no long options are defined, just return 'W'.
83962 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
83964         [BZ #9696]
83965         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
83967 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
83969         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
83970         netgroups to read.
83971         (innetgr): Likewise.
83973 2011-07-05  Roland McGrath  <roland@hack.frob.com>
83975         * config.make.in (install_root): Default to $(DESTDIR).
83977 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
83979         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
83981 2011-07-02  Roland McGrath  <roland@hack.frob.com>
83983         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
83985         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
83986         containing directory rather than embedding absolute directory names.
83988         * scripts/check-local-headers.sh: Rewritten using awk.
83989         Match by word, not by line.  Print error messages for matches.
83990         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
83992         * Makerules [shlib-lds-flags empty]:
83993         ($(common-objpfx)libc_pic.opts): New target.
83994         ($(common-objpfx)libc_pic.os.clean): New target.
83995         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
83997         * config.make.in (OBJCOPY): New variable.
83998         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
83999         * configure: Regenerated.
84001         * config.make.in (use-default-link): New variable.
84002         * configure.in (use_default_link): Grok --with-default-link to set it.
84003         * configure: Regenerated.
84004         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
84005         (shlib-lds, shlib-lds-flags): Define to empty.
84007         * Makerules (shlib-lds): New variable.
84008         (shlib-lds-flags): New variable.
84009         (build-shlib, build-moduile, build-module-asneeded): Use it.
84010         ($(common-objpfx)libc.so): Use $(shlib-lds).
84011         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
84012         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
84014         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
84015         DT_FLAGS/DT_FLAGS_1 with zero flags.
84017         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
84018         linker script munging.
84020 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
84022         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
84023         as 128-bit value.
84024         * crypt/sha512.c (sha512_process_block): Perform total addition using
84025         128-bit if possible.
84026         (__sha512_finish_ctx): Likewise.
84027         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
84028         as 64-bit value.
84029         * crypt/sha256.c (SWAP64): Define.
84030         (sha256_process_block): Perform total addition using 64-bit if
84031         possible.
84032         (__sha256_finish_ctx): Likewise.
84034 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
84036         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
84037         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84038         * nscd/hstcache.c (cache_addhst): Likewise.
84039         * nscd/grpcache.c (cache_addgr): Likewise.
84040         * nscd/aicache.c (addhstaiX): Likewise.
84041         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
84043 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
84045         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
84046         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84047         * nscd/hstcache.c (cache_addhst): Likewise.
84048         * nscd/grpcache.c (cache_addgr): Likewise.
84049         * nscd/aicache.c (addhstaiX): Likewise.
84051 2011-07-01  Andreas Schwab  <schwab@redhat.com>
84053         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84054         domain only when needed.
84056 2011-06-30  Andreas Schwab  <schwab@redhat.com>
84058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84059         is always restored.
84061 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
84063         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84064         are re-adding the entry.
84065         * nscd/servicescache.c (cache_addserv): Likewise.
84067 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84069         * sysdeps/generic/dl-irel.h: fix protection against multiple
84070         inclusions.
84071         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84073 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84075         [BZ #12935]
84076         * malloc/memusage.sh: Fix quoting in message.
84077         * debug/xtrace.sh: Likewise.
84079         * configure.in: Remove support for --experimental-malloc option, make
84080         it the default.
84081         * config.make.in: Likewise.
84082         * malloc/Makefile: Likewise.
84084 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84086         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84087         two-byte characters.
84089 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84091         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84092         AC_CACHE_CHECK invocation.
84093         * configure: Regenerated.
84095         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84097 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84099         [BZ #12350]
84100         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84101         bit from old_res_options.
84103         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84105         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84106         value type for setfct.
84108 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84110         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84111         __gettimeofday instead of gettimeofday.
84113 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84115         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84117 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84119         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84121         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84122         info.
84124 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84127         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84128         strcpy-sse2-unaligned strncpy-sse2-unaligned
84129         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84130         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84131         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84132         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84133         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84134         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84135         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84136         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84137         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84138         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84139         (STRCPY): Support SSE2 and SSSE3 versions.
84141 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84143         [BZ #12874]
84144         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84145         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84146         kernels which artificially limit size of requests.
84148 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84150         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84151         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84152         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84153         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84154         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84155         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84156         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84157         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84158         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84159         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84160         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84161         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84162         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84163         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84164         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84166         Enable unaligned load optimization for Intel Core i3, i5 and i7
84167         processors.
84168         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84169         Define.
84170         (index_Fast_Unaligned_Load): Define.
84171         (HAS_FAST_UNALIGNED_LOAD): Define.
84173 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84175         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84177 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84179         [BZ #12907]
84180         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84181         until it is clear that the information is realy needed.
84182         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84184 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84188 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84191         /sys/devices/system/cpu/online if it is usable.
84193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84194         reading the information from the /proc filesystem to once a second.
84196 2011-06-21  Andreas Jaeger  <aj@suse.de>
84198         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84199         NULL after inclusion of kernel headers.
84201 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84203         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84204         calls to internal_setent.
84206         [BZ #12885]
84207         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84208         addresses using gethostbyname4_r ignore IPv4 addresses.
84210         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84211         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84213         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84215 2011-06-20  David S. Miller  <davem@davemloft.net>
84217         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84218         inclusions.
84219         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84221         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84222         (elf_irel): Use it.
84223         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84224         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84225         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84226         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84227         * sysdeps/x86_64/dl-irel.h: Likewise.
84229         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84230         * elf/dl-sym.c: Likewise.
84232 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84234         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84235         need to dereference resplen2.
84237 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84239         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84241 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84243         * Makeconfig: Define vardbdir and inst_vardbdir.
84244         * nss/Makefile: Add rules to install db-Makefile.
84246         * nss/nss_db/db-XXX.c: Cleanup.
84248         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84249         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84250         GLIBC_PRIVATE.
84251         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84252         * nss/makedb.c: Implement -g option to specify that value strings
84253         are generated and should not be added to table iterated over for
84254         get*ent calls.
84255         * nss/nss_db/db-initgroups.c: New file.
84257         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84258         interface.
84260         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84261         (internal_getgrouplist): Adjust to name change.
84262         Update use_initgroups_entry if this is not the first call.
84263         * nss/databases.def: Add initgroups entry.
84265         * nss/makedb.c (compute_tables): Check result of multiple hash table
84266         sizes to minimize maximum chain length.
84268 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84270         * Versions.def: Add entry for libnss_db.
84271         * shlib-versions: Likewise.
84272         * nss/Makefile: Add rules to build libnss_db.
84273         * nss/Versions: Add libnss_db information.  Organize libnss_files
84274         entries better.
84275         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84276         makedb progra.  Some minor improvements to generate smaller files.
84277         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84278         here from...
84279         * nss/makedb.c: ...here.
84280         Improve database format to be smaller and require less memory at
84281         runtime.
84282         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84283         db anymore.
84284         * nss/nss_db/db-netgrp.c: Likewise.
84285         * nss/nss_db/db-open.c: Likewise.
84286         * nss/nss_files/flies-XXX.x: Adjust comments.
84287         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84288         * nss/nss_files/files-grp.c: Likewise.
84289         * nss/nss_files/files-hosts.c: Likewise.
84290         * nss/nss_files/files-network.c: Likewise.
84291         * nss/nss_files/files-proto.c: Likewise.
84292         * nss/nss_files/files-pwd.c: Likewise.
84293         * nss/nss_files/files-rpc.c: Likewise.
84294         * nss/nss_files/files-service.c: Likewise.
84295         * nss/nss_files/files-sgrp.c: Likewise.
84296         * nss/nss_files/files-spwd.c: Likewise.
84297         * nss/nss_db/db-alias.c: Removed.
84298         * nss/nss_db/dummy-db.h: Removed.
84300 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84302         * nss/makedb.c: Rewritten to not use database library.
84303         * nss/Makefile: Update to build new makedb program.
84305 2011-06-14  Andreas Jaeger  <aj@suse.de>
84307         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84308         memset declaration.
84310 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84313         tmpbuf.
84315 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84317         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84318         * elf/Makefile ($(objpfx)ld.so): Likewise.
84320         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84321         Don't list ld.so twice in dependencies.
84323         * posix/bug-regex31.c: Include <stdlib.h>.
84325         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84327         * nis/nss_compat/compat-spwd.c
84328         (getspent_next_nss_netgr): Remove unused variable.
84329         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84331         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84332         nonmembers" output to use the right array.
84334         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84336         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84338         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84339         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84340         * catgets/gencat.c (read_input_file): Likewise.
84341         * locale/programs/locarchive.c (enlarge_archive): Likewise.
84343         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84344         variable definition inside #if's controlling its use.
84346         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84348         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84350         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84352         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84353         unreachable code.
84355         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84357         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84358         * configure: Regenerated.
84360         * Makerules: Revert last change.
84361         * elf/Makefile: Likewise.
84363 2011-06-09  Roland McGrath  <roland@hack.frob.com>
84365         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
84366         * elf/Makefile ($(objpfx)librtld.os): Likewise.
84367         (reloc-link): Likewise.
84369 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
84371         * elf/Makefile: Add rules to build pldd.
84372         * elf/pldd.c: New file.
84373         * elf/pldd-xx.c: New file.
84375 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
84377         * version.h: Update for 2.15 development version.
84379 2011-06-07  David S. Miller  <davem@davemloft.net>
84381         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
84382         ifuncs.
84383         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
84384         elf_machine_lazy_rel): Likewise.
84385         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
84386         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
84387         elf_machine_lazy_rel): Likewise.
84388         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
84389         dl_hwcap via passed in argument.
84390         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
84391         Likewise.
84393 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84395         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
84397 2011-06-06  Roland McGrath  <roland@hack.frob.com>
84399         [BZ #12849]
84400         * manual/fdl-1.1.texi: New file, verbatim from:
84401         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
84402         * manual/lgpl-2.1.texi: New file, verbatim from:
84403         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
84404         * manual/Makefile (licenses): New variable, list those new file names.
84405         (texis): Use it.
84406         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
84408         * manual/fdl.texi: File removed.
84409         * manual/lesser.texi: File removed.
84410         * manual/libc.texinfo (Copying, Documentation License):
84411         Use new @include file names, put @appendix directive before @include.
84413 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
84415         [BZ #12841]
84416         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
84417         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
84418         (mq_open): Add __NTH.
84420 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
84422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84423         Assume Intel Core i3/i5/i7 processor if AVX is available.
84425 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84427         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84428         typo.
84430 2011-05-31  Andreas Schwab  <schwab@redhat.com>
84432         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
84433         memory.  Use alloca_account.  Fix memory leak when retrying.
84435 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84437         * version.h (RELEASE): Bump for 2.14 release.
84438         * include/features.h (__GLIBC_MINOR__): Bump to 14.
84440         * config.make.in (RANLIB): Remove entry.
84442 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
84444         * po/Makefile (po-sed-cmd): Add ksh to extensions.
84445         (libc.pot): Work around missing support for .ksh extension in xgettext.
84447         [BZ #12684]
84448         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
84449         if both request failed.
84450         (send_dg): In case of server errors clear resplen or *resplen2.
84452         [BZ #12454]
84453         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
84454         when there are multiple maps.
84455         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
84456         (_dl_fini): Remove test here.
84458         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
84460 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
84462         [BZ #12350]
84463         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
84464         bit from old_res_options.
84465         (gaih_inet): Likewise.
84467         [BZ #11099]
84468         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
84469         as signed.
84471         * resolv/res_init.c (res_setoptions): Make the code more compact.
84473         [BZ #11558]
84474         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
84475         set RES_USEVC.
84477         [BZ #11634]
84478         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
84480         * malloc/malloc.h: Mark malloc hook variables as deprecated.
84482         [BZ #11781]
84483         * malloc/malloc.h: Declare malloc hook variables as volatile.
84485         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
84486         in last patch.
84488         [BZ #11799]
84489         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
84490         raise in the comment.
84491         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84492         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84493         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
84495 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
84497         [BZ #12811]
84498         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
84499         grow the buffers more if it already has to be sufficient.
84500         (build_wcs_upper_buffer): Likewise.
84501         * posix/regexec.c (check_matching): Likewise.
84502         (clean_state_log_if_needed): Likewise.
84503         (extend_buffers): Don't enlarge buffers beyond size of the input
84504         buffer.
84505         Patches mostly by Emil Wojak <emil@wojak.eu>.
84506         * posix/bug-regex32.c: New file.
84507         * posix/Makefile (tests): Add bug-regex32.
84509         * locale/findlocale.c (_nl_find_locale): Return right away if
84510         _nl_explode_name failed.
84511         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
84513         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
84515         * debug/xtrace.sh: Unify messages.
84516         * malloc/memusage.sh: Likewise.
84518         [BZ #12813]
84519         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
84520         time symbol from vDSO.  Substitute with vsyscall if not available.
84521         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
84522         __vdso_time.
84524         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
84525         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
84526         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
84527         Add sendmmsg and internal_sendmmsg.
84528         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
84529         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
84530         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
84532         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
84533         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
84534         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
84536 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
84538         [BZ #12813]
84539         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
84540         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
84541         available.
84542         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
84543         __vdso_getcpu.
84545         [BZ #12814]
84546         * iconvdata/Makefile (tests): Add bug-iconv9.
84547         * iconvdata/bug-iconv9.c: New file.
84549 2011-05-27  Andreas Schwab  <schwab@redhat.com>
84551         [BZ #12814]
84552         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
84554 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
84556         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
84557         (struct user_regs_struct): Change intcs field back to cs.
84559 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
84561         * po/ja.po: Update from translation team.
84563 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
84565         [BZ #12795]
84566         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
84567         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
84569 2011-05-20  Andreas Schwab  <schwab@redhat.com>
84571         * stdlib/longlong.h: Update from GCC.
84573 2011-05-23  Andreas Schwab  <schwab@redhat.com>
84575         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
84576         parameter name.
84577         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
84578         Add parameter name.
84579         (__sysconf): Pass it down.
84581 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
84583         [BZ #12671]
84584         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
84585         some situations.
84586         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
84587         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
84588         add in in __libc_use_alloca calls.  Adjust callers.
84589         (glob): Use malloc in some situations.
84591         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
84592         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
84593         pltexit.
84595 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
84597         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
84598         and CLOCK_BOOTTIME_ALARM.
84600         [BZ #12782]
84601         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
84602         is returned.
84604         * string/_strerror.c (__strerror_r): Print negative errors as signed
84605         numbers.
84607         [BZ #12777]
84608         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
84609         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
84610         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
84612         * configure.in: Fix typo in redirection and correct removal of test
84613         files in two cases.
84615         [BZ #12788]
84616         * locale/setlocale.c (new_composite_name): Fix test to check for
84617         identical name of all categories.
84619         [BZ #12792]
84620         * libio/filedoalloc.c (local_isatty): New function.
84621         (_IO_file_doallocate): Use local_isatty.
84622         * stdio-common/perror.c (perror): In case a new stream is used
84623         forward the stream error.
84624         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
84625         error flag.
84627 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
84629         [BZ #11884]
84630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
84631         alloca.
84632         * include/alloca.h (extend_alloca_account): Define.
84634         [BZ #11857]
84635         * posix/regex.h: Fix comments with documentation of user-accessible
84636         fields after compilation and describe correct free'ing of pattern
84637         after re_compile_pattern.
84638         Patch by Reuben Thomas <rrt@sc3d.org>.
84640 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
84642         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
84643         and -mno-altivec to prevent the compiler from using Altivec and/or
84644         VSX instructions when the corresponding registers are not available.
84646 2011-05-19  Andreas Schwab  <schwab@redhat.com>
84648         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
84650 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
84652         * libio/freopen.c (freopen): Use __dup2, not dup2.
84653         * libio/freopen64.c (freopen64): Likewise.
84655 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
84657         [BZ #12775]
84658         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
84659         * math/Makefile (tests): Add test-powl.
84660         (CFLAGS-test-powl.c): Define.
84661         * math/test-powl.c: New file.
84663 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
84665         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
84667 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
84669         [BZ #11837]
84670         * iconvdata/gb18030.c: Update to GB18020-2005.
84672 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
84674         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
84675         RE_SYNTAX_POSIX_AWK): Update to match recent development.
84676         Patch by Aharon Robbins <arnold@skeeve.com>.
84678         [BZ #11892]
84679         * stdlib/putenv.c (putenv): Don't always create copy of the variable
84680         on the stack.
84682         [BZ #11895]
84683         * misc/pselect.c (__pselect): Handle timeout value errors hidden
84684         through underflows.
84686         [BZ #12766]
84687         * misc/error.c (error_at_line): Ensure file_name and old_file_name
84688         point to strings before performing equality test for error_one_per_line
84689         mode.
84691         [BZ #11697]
84692         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
84694         [BZ #11820]
84695         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
84696         (struct user_fpregs_struct): Avoid __uint*_t types.
84698         [BZ #6420]
84699         * malloc/mtrace.c (tr_where): Add additional parameter to point to
84700         symbol info.  Use it instead of calling _dl_addr locally.
84701         (lock_and_info): New function.
84702         (tr_freehook): Call lock_and_info and pass symbol info as additional
84703         parameter to tr_where.
84704         (tr_mallochook): Likewise.
84705         (tr_reallochook): Likewise.
84706         (tr_memalignhook): Likewise.
84708         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
84709         used and couldn't be at all thread-safe.
84711 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
84713         * libio/freopen.c (freopen): Don't close old file descriptor
84714         before the new one is opened.  Instead dup the new file descriptor
84715         to the old one after the new stream is created.
84716         * libio/freopen64.c (freopen64): Likewise.
84717         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
84718         * libio/fileops.c (_IO_new_file_close_it): Handle new
84719         _IO_FLAGS2_NOCLOSE flag.
84720         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
84721         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
84722         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
84723         _IO_FLAGS2_NOCLOSE flag.
84724         * include/unistd.h: Add hidden_proto for dup3.
84725         Define __have_dup3.
84726         * io/dup3.c: Define hidden symbol.
84727         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
84729         [BZ #7101]
84730         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
84731         when an incomplete long option is used.
84732         * posix/tst-getopt_long1.c: New file.
84733         * posix/Makefile (tests): Add tst-getopt_long1.
84735         [BZ #10138]
84736         * scripts/config.guess: Update from autoconf-2.68.
84737         * scripts/config.sub: Likewise.
84739         [BZ #10157]
84740         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
84741         tests into ...
84742         (has_cpuclock): ...this.  New function.
84743         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
84744         macro here based on has_cpuclock code.
84746         [BZ #10149]
84747         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84748         First byte (not low byte) is now always NUL.
84749         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
84751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84752         Use non-cancelable interfaces.
84754         [BZ #9809]
84755         * locale/iso-639.def: Add entry for Sorani.
84757         [BZ #11901]
84758         * include/stdlib.h: Move include protection to the right place.
84759         Define abort_msg_s.  Declare __abort_msg with it.
84760         * stdlib/abort.c (__abort_msg): Adjust type.
84761         * assert/assert.c (__assert_fail_base): New function.  Majority
84762         of code from __assert_fail.  Allocate memory for __abort_msg with
84763         mmap.
84764         (__assert_fail): Now call __assert_fail_base.
84765         * assert/assert-perr.c: Remove bulk of implementation.  Use
84766         __assert_fail_base.
84767         * include/assert.hL Declare __assert_fail_base.
84768         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
84769         mmap.
84770         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
84772 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
84774         [BZ #11952]
84775         [BZ #12453]
84776         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
84777         until all modules are registered in the DTV.
84778         * elf/Makefile: Add rules to build and run tst-tls19.
84779         * elf/tst-tls19.c: New file.
84780         * elf/tst-tls19mod1.c: New file.
84781         * elf/tst-tls19mod2.c: New file.
84782         * elf/tst-tls19mod3.c: New file.
84783         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
84785         [BZ #12083]
84786         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
84787         correctly.
84789         [BZ #12601]
84790         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
84791         two-byte sequence errors.
84792         * iconvdata/Makefile (tests): Add bug-iconv8.
84793         * iconvdata/bug-iconv8.c: New file.
84795         [BZ #12626]
84796         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
84797         buf2 definition.
84799         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
84801         [BZ #12432]
84802         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
84803         (dummy_getcfa): New function.
84804         (init): Get _Unwind_GetCFA address, use dummy if not found.
84805         (backtrace_helper): In recursion check, also check whether CFA changes.
84806         (__backtrace): Completely initialize arg.
84808         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
84809         storing incomplete byte sequence in state object.  Avoid testing for
84810         guaranteed too small input if we know there is enough data available.
84812 2011-05-11  Andreas Schwab  <schwab@redhat.com>
84814         * Makeconfig (+link-pie): Indent.
84815         * Rules (binaries-pie): Define if $(have-fpie) and
84816         $(build-shared).
84817         (binaries-shared): Also filter out $(binaries-pie).
84818         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
84819         * nscd/Makefile (others-pie): Add nscd.
84820         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
84821         ($(objpfx)nscd): Remove command override.
84822         * login/Makefile (others-pie): Add pt_chown.
84823         ($(objpfx)pt_chown): Remove command override.
84824         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
84825         remove command overrides.
84827 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
84829         * libio/tst_putwc.c: Fix error messages.
84831         [BZ #12724]
84832         * libio/fileops.c (_IO_new_file_close_it): Always flush when
84833         currently writing and seek to current position when not.
84834         * libio/Makefile (tests): Add bug-fclose1.
84835         * libio/bug-fclose1.c: New file.
84837 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
84839         [BZ #12511]
84840         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
84841         don't set DF_1_NODELETE here.
84842         (do_lookup_x): When entering new entry test for copy relocation
84843         and if necessary set DF_1_NODELETE flag.
84844         * elf/tst-unique4.cc: New file.
84845         * elf/tst-unique4.h: New file.
84846         * elf/tst-unique4lib.cc: New file.
84847         * elf/Makefile: Add rules to build and run tst-unique4.
84848         Patch by Piotr Bury <pbury@goahead.com>.
84850 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
84852         [BZ #12052]
84853         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
84855         [BZ #12625]
84856         * misc/mntent_r.c (addmntent): Flush the stream after the output
84858         [BZ #12393]
84859         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
84860         (is_trusted_path_normalize): Skip initial colon.  Append slash
84861         to empty buffer.  Duplicate is_trusted_path code but allow
84862         constructed patch to be prefix.
84863         (is_dst): Allow $ORIGIN followed by /.
84864         (_dl_dst_substitute): Correct clearing of check_for_trusted.
84865         Correct testing of result of is_trusted_path_normalize
84866         (decompose_rpath): Fix warning.
84868 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
84870         [BZ #11257]
84871         * grp/initgroups.c (internal_getgrouplist): When we found the service
84872         list through the initgroups entry in nsswitch.conf do not always
84873         continue on a successful lookup.  Don't always use the
84874         __nss_group_database value if it is set.
84875         * nss/nsswitch.conf (initgroups): Change action for successful db
84876         lookup to continue for compatibility.
84878 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
84880         [BZ #11532]
84881         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
84882         and CP774 modules.
84883         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
84884         and CP774 modules.
84885         * iconvdata/tst-tables.sh: Likewise.
84886         * iconvdata/cp770.c: New file.
84887         * iconvdata/cp771.c: New file.
84888         * iconvdata/cp772.c: New file.
84889         * iconvdata/cp773.c: New file.
84890         * iconvdata/cp774.c: New file.
84891         * iconvdata/testdata/CP770: New file.
84892         * iconvdata/testdata/CP770..UTF8: New file.
84893         * iconvdata/testdata/CP771: New file.
84894         * iconvdata/testdata/CP771..UTF8: New file.
84895         * iconvdata/testdata/CP772: New file.
84896         * iconvdata/testdata/CP772..UTF8: New file.
84897         * iconvdata/testdata/CP773: New file.
84898         * iconvdata/testdata/CP773..UTF8: New file.
84899         * iconvdata/testdata/CP774: New file.
84900         * iconvdata/testdata/CP774..UTF8: New file.
84902         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
84903         END CHARMAP line.
84904         * iconvdata/gen-8bit-gap.sh: Likewise.
84905         * iconvdata/gen-8bit.sh: Likewise.
84907         * locale/iso-639.def: Add ary entry.
84909         [BZ #11258]
84910         * locale/C-translit.h.in: Add U20A1 transliteration.
84912         [BZ #12178]
84913         * locale/iso-639.def: Add wae entry.
84914         Patch by Kevin Bortis <bortis@translate-wae.ch>.
84916         [BZ #12545]
84917         * locale/programs/localedef.c (construct_output_path): Use ssize_t
84918         for n.
84920         [BZ #12711]
84921         * locale/C-translit.h.in: Add entry for U20B9.
84922         Patch by pravin.d.s@gmail.com.
84924 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
84926         [BZ #12713]
84927         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
84928         ENAMETOOLONG use generic getcwd.
84929         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
84930         in rtld.  Use *stat64.
84931         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
84932         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
84933         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
84934         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
84935         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
84936         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
84937         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
84938         __fstatat64 macros.
84939         * include/dirent.h: Add libc_hidden_proto for rewinddir.
84940         * dirent/rewinddir.c: Add libc_hidden_def.
84941         * sysdeps/mach/hurd/rewinddir.c: Likewise.
84942         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
84944         * include/dirent.h (__alloc_dir): Add flags parameter.
84945         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
84946         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
84947         __alloc_dir.
84948         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
84949         from fdopendir if O_CLOEXEC is already set.
84951 2011-03-15  Alan Modra  <amodra@gmail.com>
84953         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
84954         l_tls_firstbyte_offset non-zero.  Save padding offset in
84955         l_tls_firstbyte_offset for later use.
84956         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
84957         freeing static tls block.
84959 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
84961         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
84962         where #ifdef was intended.  The intent is to prevent ARG_MAX from
84963         being defined by the kernel headers.
84965 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
84967         [BZ #12734]
84968         * resolv/resolv.h: Define RES_NOTLDQUERY.
84969         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
84970         no-tld-query and set RES_NOTLDQUERY.
84971         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
84972         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
84973         modern BIND to search name as TLD unless forbidden.
84975 2011-05-07  Petr Baudis  <pasky@suse.cz>
84976             Ulrich Drepper  <drepper@gmail.com>
84978         [BZ #12393]
84979         * elf/dl-load.c (fillin_rpath): Move trusted path check...
84980         (is_trusted_path): ...to here.
84981         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
84982         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
84983         using is_trusted_path_normalize() in setuid scripts.
84985 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
84987         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
84988         __BEGIN/__END_DECLS.
84990 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
84992         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
84993         NSS_STATUS_NOTFOUND if no record was found.
84995 2011-05-05  Andreas Schwab  <schwab@redhat.com>
84997         * sunrpc/Makefile (headers): Add rpc/netdb.h.
84998         (headers-not-in-tirpc): Remove rpc/netdb.h
84999         * resolv/netdb.h: Revert last change.
85001 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85003         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
85004         circular dependency between libgcc.a and libc.a.
85006 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85008         * resolv/netdb.h: Don't include <rpc/netdb.h>.
85009         * nis/Makefile: Don't install rpcsvc/*.
85010         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
85011         instead of <rpc/types.h>.
85012         (MAXHOSTNAMELEN): Define.
85014 2011-05-03  Andreas Schwab  <schwab@redhat.com>
85016         * elf/ldconfig.c (add_dir): Don't crash on empty path.
85018 2011-04-28  Maciej Babinski  <mbabinski@google.com>
85020         [BZ #12714]
85021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
85022         gethostbyname4_r when IPv6 results are possible.
85024 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
85026         [BZ #12723]
85027         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
85028         _PC_PIPE_BUF handling.
85030 2011-04-30  Bruno Haible  <bruno@clisp.org>
85032         [BZ #12717]
85033         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
85034         * resolv/netdb.h (getnameinfo): Change type of flags parameter
85035         to 'int'.
85036         * inet/getnameinfo.c (getnameinfo): Likewise.
85038 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
85040         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
85041         to groups setting in database lookup.
85042         * nss/nsswitch.conf: Add initgroups entry.
85044 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
85046         [BZ #12685]
85047         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
85048         mode string.
85049         Patch by Eric Blake <eblake@redhat.com>.
85051 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
85053         * sunrpc/Makefile (need-export-routines): Add svc_run.
85054         (routines): Remove svc_run.
85055         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85056         * sunrpc/clnt_perr.c (clnt_perrno): Export.
85057         * sunrpc/svc_run.c (svc_run): Likewise.
85058         * sunrpc/svc_udp.c (svcudp_create): Likewise.
85060 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
85062         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85063         problem in reallocation in last patch.
85065 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
85067         * sunrpc/Makefile: Move inclusion of Rules.
85069 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85071         * nss/nss_files/files-initgroups.c: New file.
85072         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85073         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85074         _nss_files_initgroups_dyn.
85076 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85078         * elf/elf.h (R_ARM_IRELATIVE): Define.
85080 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85082         * po/ru.po: Update from translation team.
85084 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85086         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85087         dependencies.
85089 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85091         [BZ #12653]
85092         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85093         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85094         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85095         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85096         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85098 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85100         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85101         differing bytes.
85102         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85103         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85104         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85106 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85108         [BZ #12420]
85109         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85110         storing it.
85111         * stdlib/bug-getcontext.c: New file.
85112         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85114 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85116         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85117         instructions into .machine "z9-109".
85118         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85119         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85121 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85123         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85124         between environment variables and auxiliary vector.
85126 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85128         * Makefile: Add rules to build linkobj/libc.so.
85129         * include/libc-symbols.h: Define libc_hidden_nolink.
85130         * include/rpc/auth.h: Mark functions which are to be hidden.
85131         * include/rpc/auth_des.h: Likewise.
85132         * include/rpc/auth_unix.h: Likewise.
85133         * include/rpc/clnt.h: Likewise.
85134         * include/rpc/des_crypt.h: Likewise.
85135         * include/rpc/key_prot.h: Likewise.
85136         * include/rpc/pmap_clnt.h: Likewise.
85137         * include/rpc/pmap_prot.h: Likewise.
85138         * include/rpc/pmap_rmt.h: Likewise.
85139         * include/rpc/rpc_msg.h: Likewise.
85140         * include/rpc/svc.h: Likewise.
85141         * include/rpc/svc_auth.h: Likewise.
85142         * include/rpc/xdr.h: Likewise.
85143         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85144         * nss/Makefile: Likewise.
85145         * sunrpc/Makefile: Don't install headers.  Build library with normal
85146         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85147         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85148         for the compat linking library.  Remove use of INTDEF/INTUSE.
85149         * sunrpc/auth_none.c: Likewise.
85150         * sunrpc/auth_unix.c: Likewise.
85151         * sunrpc/authdes_prot.c: Likewise.
85152         * sunrpc/authuxprot.c: Likewise.
85153         * sunrpc/clnt_gen.c: Likewise.
85154         * sunrpc/clnt_perr.c: Likewise.
85155         * sunrpc/clnt_raw.c: Likewise.
85156         * sunrpc/clnt_simp.c: Likewise.
85157         * sunrpc/clnt_tcp.c: Likewise.
85158         * sunrpc/clnt_udp.c: Likewise.
85159         * sunrpc/clnt_unix.c: Likewise.
85160         * sunrpc/des_crypt.c: Likewise.
85161         * sunrpc/des_soft.c: Likewise.
85162         * sunrpc/get_myaddr.c: Likewise.
85163         * sunrpc/key_call.c: Likewise.
85164         * sunrpc/key_prot.c: Likewise.
85165         * sunrpc/netname.c: Likewise.
85166         * sunrpc/pm_getmaps.c: Likewise.
85167         * sunrpc/pm_getport.c: Likewise.
85168         * sunrpc/pmap_clnt.c: Likewise.
85169         * sunrpc/pmap_prot.c: Likewise.
85170         * sunrpc/pmap_prot2.c: Likewise.
85171         * sunrpc/pmap_rmt.c: Likewise.
85172         * sunrpc/publickey.c: Likewise.
85173         * sunrpc/rpc_cmsg.c: Likewise.
85174         * sunrpc/rpc_common.c: Likewise.
85175         * sunrpc/rpc_dtable.c: Likewise.
85176         * sunrpc/rpc_prot.c: Likewise.
85177         * sunrpc/rpc_thread.c: Likewise.
85178         * sunrpc/rtime.c: Likewise.
85179         * sunrpc/svc.c: Likewise.
85180         * sunrpc/svc_auth.c: Likewise.
85181         * sunrpc/svc_authux.c: Likewise.
85182         * sunrpc/svc_raw.c: Likewise.
85183         * sunrpc/svc_run.c: Likewise.
85184         * sunrpc/svc_simple.c: Likewise.
85185         * sunrpc/svc_tcp.c: Likewise.
85186         * sunrpc/svc_udp.c: Likewise.
85187         * sunrpc/svc_unix.c: Likewise.
85188         * sunrpc/svcauth_des.c: Likewise.
85189         * sunrpc/xcrypt.c: Likewise.
85190         * sunrpc/xdr.c: Likewise.
85191         * sunrpc/xdr_array.c: Likewise.
85192         * sunrpc/xdr_float.c: Likewise.
85193         * sunrpc/xdr_intXX_t.c: Likewise.
85194         * sunrpc/xdr_mem.c: Likewise.
85195         * sunrpc/xdr_rec.c: Likewise.
85196         * sunrpc/xdr_ref.c: Likewise.
85197         * sunrpc/xdr_sizeof.c: Likewise.
85198         * sunrpc/xdr_stdio.c: Likewise.
85200 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85202         [BZ #12650]
85203         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85204         * sysdeps/ia64/dl-tls.h: Likewise.
85205         * sysdeps/powerpc/dl-tls.h: Likewise.
85206         * sysdeps/s390/dl-tls.h: Likewise.
85207         * sysdeps/sh/dl-tls.h: Likewise.
85208         * sysdeps/sparc/dl-tls.h: Likewise.
85209         * sysdeps/x86_64/dl-tls.h: Likewise.
85210         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85212 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85214         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85215         rpath element also skip the following colon.
85216         (expand_dynamic_string_token): Add is_path parameter and pass
85217         down to DL_DST_REQUIRED and _dl_dst_substitute.
85218         (decompose_rpath): Call expand_dynamic_string_token with
85219         non-zero is_path.  Ignore empty rpaths.
85220         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85221         with zero is_path.
85223 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85226         Make cancelable.
85228 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85230         [BZ #12655]
85231         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85232         Patch by Filipe David Manana <fdmanana@apache.org>.
85234 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85236         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85237         Maintain aligned stack.
85238         (CHECK_RSP): Remove unused macro.
85240 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85242         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85243         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85245 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85247         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85249         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85251 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85253         [BZ #12518]
85254         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85255         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85256         * sysdeps/x86_64/memmove.c: New file.
85257         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85258         (memcpy): Renamed to ...
85259         (__new_memcpy): This.
85260         (memcpy): Provide GLIBC_2_14 memcpy.
85261         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85262         (memcpy): Provide GLIBC_2_2_5 memcpy.
85264 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85266         [BZ #12631]
85267         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85269 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85271         * misc/syncfs.c: New file.
85272         * misc/Makefile (routines): Add syncfs.
85273         * posix/unistd.h: Declare syncfs.
85274         * sysdeps/unix/syscalls.list: Add syncfs.
85276 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85278         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85279         open_by_handle_at.
85280         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85281         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85283         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85285         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85286         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85288 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85290         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85291         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85292         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85293         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85294         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85295         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85298         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85299         sync_file_range.c with -fexceptions.
85300         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85301         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85302         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85303         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85304         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85305         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85306         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85307         sync_file_range as cancellation point
85308         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85309         now a wrapper around __call_sync_file_range with cancellation handling.
85310         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85311         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85312         function name to __call_sync_file_range.
85313         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85314         Add call_sync_file_range.
85316 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85319         bits/timex.h.
85321 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85323         * iconv/iconv.h: Fix typo in comment.
85324         * io/fcntl.h: Likewise.
85325         * libio/stdio.h: Likewise.
85326         * posix/spawn.h: Likewise.
85327         * posix/unistd.h: Likewise.
85328         * stdlib/stdlib.h: Likewise.
85329         * time/time.h: Likewise.
85330         * wcsmbs/wchar.h: Likewise.
85332         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85333         open_by_handle): Add.
85334         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85335         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
85336         Augment a few comments.
85337         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85342         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85343         open_by_handle.
85345         * io/fcntl.h (AT_EMPTY_PATH): Define.
85347 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
85349         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85350         * sysdeps/unix/sysv/linux/bits/time.h: New file.
85351         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85352         to...
85353         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
85354         * Versions.def: Add GLIBC_2.14.
85355         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85356         Export.
85358 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
85360         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85361         round counter.
85362         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85364 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85366         [BZ #12597]
85367         * string/test-strncmp.c (do_page_test): New function.
85368         (check2): Likewise.
85369         (test_main): Call check2.
85370         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
85372 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
85374         [BZ #12587]
85375         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
85376         Handle cache information in CPU leaf 4.
85377         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85379 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
85381         [BZ #12583]
85382         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
85383         character representation.
85384         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
85386 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
85388         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
85389         END(__isnan) to END(__isnanf) to match function entry point/label
85390         EALIGN(__isnanf,...).
85392 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
85394         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
85396 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
85398         [BZ #12510]
85399         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
85400         copy from the symbol referenced in the relocation to initialize the
85401         used variable.
85402         Patch by Piotr Bury <pbury@goahead.com>.
85403         * elf/Makefile: Add rules to build and tst-unique3.
85404         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
85405         * elf/tst-unique3.cc: New file.
85406         * elf/tst-unique3.h: New file.
85407         * elf/tst-unique3lib.cc: New file.
85408         * elf/tst-unique3lib2.cc: New file.
85410         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
85412 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
85414         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
85415         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
85416         to _start.
85418 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
85420         * elf/dl-load.c (_dl_map_object): If we are looking for the first
85421         to-be-loaded object along a path to loader is ld.so.
85423 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85424             Ulrich Drepper  <drepper@gmail.com>
85426         * sysdeps/x86_64/memset.S: After aligning destination, code
85427         branches to different locations depending on the value of
85428         misalignment, when multiarch is enabled. Fix this.
85430 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85432         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
85433         Set _x86_64_preferred_memory_instruction for AMD processsors.
85434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85435         Set bit_Prefer_SSE_for_memop for AMD processors.
85437 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
85439         * libio/fmemopen.c (fmemopen): Optimize a bit.
85441 2011-03-03  Andreas Schwab  <schwab@redhat.com>
85443         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
85445 2011-03-03  Roland McGrath  <roland@redhat.com>
85447         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
85449 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
85451         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
85452         __bzero_ultra1 instead of __memset_ultra1.
85454 2011-02-23  Andreas Schwab  <schwab@redhat.com>
85455             Ulrich Drepper  <drepper@gmail.com>
85457         [BZ #12509]
85458         * include/link.h (struct link_map): Add l_orig_initfini.
85459         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
85460         returning unsuccessfully.
85461         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
85462         close of a file loaded at startup, restore the original l_initfini
85463         list.
85464         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
85465         list, store the pointer.
85466         * elf/Makefile ($(objpfx)noload-mem): New rule.
85467         (noload-ENV): Define.
85468         (tests): Add $(objpfx)noload-mem.
85469         * elf/noload.c: Include <memcheck.h>.
85470         (main): Call mtrace.  Close all opened handles.
85472 2011-02-17  Andreas Schwab  <schwab@redhat.com>
85474         [BZ #12454]
85475         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
85476         dependencies are missing.
85478 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85480         Fix __if_freereq crash: Unlike the generic version which uses free,
85481         Hurd needs munmap.
85482         * sysdeps/mach/hurd/ifreq.h: New file.
85484 2011-01-27  Petr Baudis  <pasky@suse.cz>
85485             Ulrich Drepper  <drepper@gmail.com>
85487         [BZ 12445]#
85488         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
85489         to extend_alloca().
85490         * stdio-common/bug23.c: New file.
85491         * stdio-common/Makefile (tests): Add bug23.
85493 2010-09-28  Andreas Schwab  <schwab@redhat.com>
85494             Ulrich Drepper  <drepper@gmail.com>
85496         [BZ #12489]
85497         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
85498         before performing relro protection.  At old place add assertion
85499         to make sure nothing changed.
85501 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
85502             Glauber de Oliveira Costa  <glommer@gmail.com>
85504         * elf/elf.h: Add new ARM TLS relocs.
85506 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
85508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
85509         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
85510         cast from r3.
85511         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
85512         'tests' variable.
85513         * sysdeps/wordsize-64/tst-writev.c: New file.
85515 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
85517         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
85518         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
85519         insns in _dl_start to prevent a TOC reference before relocs are
85520         resolved.
85522 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
85524         [BZ #12469]
85525         * Makeconfig: Remove RANLIB definition.
85526         * Makerules: Don't use RANLIB.
85527         * aclocal.m4: Remove ranlib test.
85528         * configure.in: No need to check for ranlib.
85529         * elf/rtld-Rules: Don't use RANLIB.
85531 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85533         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
85534         protection macro.
85535         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
85536         inclusion protection macro.
85538         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
85539         SIGRTMIN and SIGRTMAX and print information in that case only when
85540         SIGRTMIN is defined.
85542 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
85544         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
85545         arginfo fn returning -1.
85547         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
85548         and thousands string is zero terminated.
85550 2011-02-03  Andreas Schwab  <schwab@redhat.com>
85552         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
85553         sysdeps/unix/sysv/linux/bits/socket.h.
85555 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85557         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
85558         (__CPU_COUNT): Remove old macros.
85559         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
85560         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
85561         (__CPU_ALLOC, __CPU_FREE): Add macros.
85562         (__sched_cpualloc, __sched_cpufree): Add declarations.
85564 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
85566         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
85567         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
85568         * nscd/aicache.c (addhstaiX): Return timeout of added value.
85569         (readdhstai): Return value of addhstaiX call.
85570         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
85571         (addgrbyX): Return value returned by cache_addgr.
85572         (readdgrbyname): Return value returned by addgrbyX.
85573         (readdgrbygid): Likewise.
85574         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
85575         (addpwbyX): Return value returned by cache_addpw.
85576         (readdpwbyname): Return value returned by addhstbyX.
85577         (readdpwbyuid): Likewise.
85578         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
85579         (addservbyX): Return value returned by cache_addserv.
85580         (readdservbyname): Return value returned by addservbyX:
85581         (readdservbyport): Likewise.
85582         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
85583         (addhstbyX): Return value returned by cache_addhst.
85584         (readdhstbyname): Return value returned by addhstbyX.
85585         (readdhstbyaddr): Likewise.
85586         (readdhstbynamev6): Likewise.
85587         (readdhstbyaddrv6): Likewise.
85588         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
85589         (readdinitgroups): Return value returned by addinitgroupsX.
85590         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
85591         (prune_cache): Keep track of timeout value of re-added entries.
85592         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
85593         * nscd/nscd.h: Adjust prototypes of readd* functions.
85595 2011-02-04  Roland McGrath  <roland@redhat.com>
85597         * nis/nis_server.c (nis_servstate): Use the right name for 0.
85598         (nis_stats): Likewise.
85599         * nis/nis_modify.c (nis_modify): Likewise.
85600         * nis/nis_remove.c (nis_remove): Likewise.
85601         * nis/nis_add.c (nis_add): Likewise.
85603         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
85605         * posix/fnmatch_loop.c: Add some consts.
85607         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
85609 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
85611         [BZ #12460]
85612         * config.make.in (config-cflags-novzeroupper): Define.
85613         * configure.in: Substitute libc_cv_cc_novzeroupper.
85614         * elf/Makefile (AVX-CFLAGS): Define.
85615         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
85616         (CFLAGS-tst-auditmod4a.c): Likewise.
85617         (CFLAGS-tst-auditmod4b.c): Likewise.
85618         (CFLAGS-tst-auditmod6b.c): Likewise.
85619         (CFLAGS-tst-auditmod6c.c): Likewise.
85620         (CFLAGS-tst-auditmod7b.c): Likewise.
85621         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
85623 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
85625         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
85626         function to the callback.
85627         Patch partly by Jiri Olsa <jolsa@redhat.com>.
85629 2011-02-02  Andreas Schwab  <schwab@redhat.com>
85631         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
85632         of errno.
85634 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
85636         [BZ #11724]
85637         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
85638         of constructors.
85639         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
85640         of destructors.
85641         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
85643         [BZ #11724]
85644         * elf/Makefile: Add rules to build and run new test.
85645         * elf/tst-initorder.c: New file.
85646         * elf/tst-initorder.exp: New file.
85647         * elf/tst-initordera1.c: New file.
85648         * elf/tst-initordera2.c: New file.
85649         * elf/tst-initordera3.c: New file.
85650         * elf/tst-initordera4.c: New file.
85651         * elf/tst-initorderb1.c: New file.
85652         * elf/tst-initorderb2.c: New file.
85653         * elf/tst-order-a1.c: New file.
85654         * elf/tst-order-a2.c: New file.
85655         * elf/tst-order-a3.c: New file.
85656         * elf/tst-order-a4.c: New file.
85657         * elf/tst-order-b1.c: New file.
85658         * elf/tst-order-b2.c: New file.
85659         * elf/tst-order-main.c: New file.
85660         New test case by George Gensure <werkt0@gmail.com>.
85662 2010-10-01  Andreas Schwab  <schwab@redhat.com>
85664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85665         decoding ACE if AI_CANONIDN.
85667 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
85669         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
85671 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
85673         * version.h (RELEASE): Bump for 2.13 release.
85674         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
85676         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
85678         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
85679         MADV_NOHUGEPAGE.
85680         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
85681         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
85682         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85683         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85684         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85685         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85687         * posix/getconf.c: Update copyright year.
85688         * catgets/gencat.c: Likewise.
85689         * csu/version.c: Likewise.
85690         * debug/catchsegv.sh: Likewise.
85691         * debug/xtrace.sh: Likewise.
85692         * elf/ldconfig.c: Likewise.
85693         * elf/ldd.bash.in: Likewise.
85694         * elf/sprof.c (print_version): Likewise.
85695         * iconv/iconv_prog.c: Likewise.
85696         * iconv/iconvconfig.c: Likewise.
85697         * locale/programs/locale.c: Likewise.
85698         * locale/programs/localedef.c: Likewise.
85699         * malloc/memusage.sh: Likewise.
85700         * malloc/mtrace.pl: Likewise.
85701         * nscd/nscd.c (print_version): Likewise.
85702         * nss/getent.c: Likewise.
85704         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
85705         PF_CAIF, and PF_ALG.
85706         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85708 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
85710         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
85711         (modules-names): Use them.
85712         (ifunc-test-modules, ifunc-pie-tests): Define.
85713         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
85714         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
85715         (test-extras): Likewise.
85716         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
85717         $(compile-command.c).
85718         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
85719         (all-built-dso): Define.
85720         (check-textrel.out, check-execstack.out): Depend on it.
85722         * configure.in: Don't override --enable-multi-arch.
85724 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
85726         [BZ #6812]
85727         * nscd/hstcache.c (tryagain): Define.
85728         (cache_addhst): Return tryagain not notfound for temporary errors.
85729         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
85730         failed.
85732 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
85734         [BZ #10563]
85735         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
85736         to make the syscall.
85737         * sysdeps/unix/sysv/linux/setgroups.c: New file.
85739         [BZ #12378]
85740         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
85741         and fall back to matching as normal character if the string ends before
85742         the matching ']' is found.  This is what POSIX requires.
85743         * posix/testfnm.c: Adjust test result.
85744         * posix/globtest.sh: Adjust test result.  Add new test.
85745         * posix/tst-fnmatch.input: Likewise.
85746         * posix/tst-fnmatch2.c: Add new test.
85748 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
85750         * elf/Makefile (check-execstack): Revert last change.  Depend on
85751         check-execstack.h.
85752         (check-execstack.h): New target.
85753         (generated): Add check-execstack.h.
85754         * elf/check-execstack.c: Include "check-execstack.h".
85755         (main): Revert last change.
85756         (handle_file): Return zero if GNU_STACK is absent and
85757         DEFAULT_STACK_PERMS doesn't include PF_X.
85759 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
85761         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
85762         in child fails because the descriptor is already closed.
85763         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
85764         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
85765         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
85767         [BZ #12397]
85768         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
85769         syscall.
85771         [BZ #10484]
85772         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
85773         temporary buffer used to handle multi lookups locally.
85774         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
85776 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
85778         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
85779         loader is ld.so.
85781 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
85783         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
85784         alignment for SSE2.
85786 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
85788         [BZ #12394]
85789         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
85790         characters.  When rounding increased number of integer digits recompute
85791         number of groups.
85792         * stdio-common/tst-grouping.c: New file.
85793         * stdio-common/Makefile: Add rules to build and run tst-grouping.
85795 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
85797         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
85798         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
85800         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
85801         void.
85802         * bits/select.h: Likewise.
85804 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
85806         * po/ja.po: Update from translation team.
85808 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
85810         [BZ #11155]
85811         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
85812         implementation just like for lxstat, fxstatat, et al.
85814 2010-12-27  Jim Meyering  <meyering@redhat.com>
85816         [BZ #12348]
85817         * posix/regexec.c (build_trtable): Return failure indication upon
85818         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
85820 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
85822         [BZ #12201]
85823         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
85824         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
85825         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
85826         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
85828         [BZ #12207]
85829         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
85831         [BZ #12204]
85832         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
85833         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
85835 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
85837         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
85838         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
85839         script has SORT_BY_INIT_PRIORITY.
85840         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
85841         NO_CTORS_DTORS_SECTIONS is defined.
85842         * elf/soinit.c: Likewise.
85843         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
85844         NO_CTORS_DTORS_SECTIONS is defined.
85845         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
85846         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
85847         * sysdeps/sh/init-first.c: Likewise.
85848         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
85850 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
85852         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
85853         always use the slow path.
85855 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
85857         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
85858         similar rule which adds the sysdep directories to the header search in
85859         order to pick up the correct platform stackinfo.h.
85860         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
85861         perform test if it is, otherwise return successfully without testing.
85862         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
85863         DEFAULT_STACK_PERMS define in stackinfo.h.
85864         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
85865         defined in stackinfo.h.
85866         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
85867         DEFAULT_STACK_PERMS defined in stackinfo.h.
85868         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
85869         * sysdeps/ia64/stackinfo.h: Likewise.
85870         * sysdeps/s390/stackinfo.h: Likewise.
85871         * sysdeps/sh/stackinfo.h: Likewise.
85872         * sysdeps/sparc/stackinfo.h: Likewise.
85873         * sysdeps/x86_64/stackinfo.h: Likewise.
85874         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
85875         PF_X for powerpc64.  Retain PF_X for powerpc32.
85877 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
85879         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
85880         accurately.
85881         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
85882         GETDENTS_64BIT_ALIGNED.
85884 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
85886         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
85888 2010-12-10  Andreas Schwab  <schwab@redhat.com>
85890         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
85891         _GNU_SOURCE.
85893         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
85894         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
85895         Remove __restrict.
85896         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
85897         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
85899 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
85901         [BZ #11655]
85902         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
85903         are initialized.
85905 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
85907         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
85909 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
85911         * po/it.po: Update from translation team.
85913 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
85915         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
85916         unused codes.
85918 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
85920         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
85922 2010-11-24  Andreas Schwab  <schwab@redhat.com>
85924         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
85925         specially.
85926         (gaih_getanswer_slice): Likewise.
85928 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
85930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
85932 2010-05-31  Petr Baudis  <pasky@suse.cz>
85934         [BZ #11149]
85935         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
85936         silently even in the chroot mode.
85938 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
85940         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
85941         last patch a bit.  Pretty printing
85943 2010-05-31  Petr Baudis <pasky@suse.cz>
85945         [BZ #10085]
85946         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
85947         initialization of skip_initgroups_dyn.
85949 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
85951         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
85952         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85954 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
85956         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
85958 2010-11-11  Andreas Schwab  <schwab@redhat.com>
85960         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
85961         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
85962         (tst-fnmatch-ENV): Set MALLOC_TRACE.
85963         ($(objpfx)tst-fnmatch-mem): New rule.
85964         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
85965         * posix/tst-fnmatch.c (main): Call mtrace.
85967 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
85969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85970         Support Intel processor model 6 and model 0x2c.
85972 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
85974         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
85975           signed comparison.
85977 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
85979         [BZ #12205]
85980         * string/test-strncasecmp.c (check_result): New function.
85981         (do_one_test): Use it.
85982         (check1): New function.
85983         (test_main): Use it.
85984         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
85985         Support strcasecmp and strncasecmp.
85987 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
85989         [BZ #12194]
85990         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
85991         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85993 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
85995         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
85996         IFUNC support.
85997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85998         memset-x86-64.
85999         * sysdeps/x86_64/multiarch/bzero.S: New file.
86000         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
86001         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
86002         * sysdeps/x86_64/multiarch/memset.S: New file.
86003         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
86004         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86005         Set bit_Prefer_SSE_for_memop for Intel processors.
86006         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
86007         Define.
86008         (index_Prefer_SSE_for_memop): Define.
86009         (HAS_PREFER_SSE_FOR_MEMOP): Define.
86011 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
86013         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
86014         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
86016 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
86018         [BZ #12191]
86019         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86020         (__x86_64_raw_data_cache_size_half): Likewise.
86021         (__x86_64_raw_shared_cache_size): Likewise.
86022         (__x86_64_raw_shared_cache_size_half): Likewise.
86024         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86025         (__x86_64_raw_data_cache_size_half): Likewise.
86026         (__x86_64_raw_shared_cache_size): Likewise.
86027         (__x86_64_raw_shared_cache_size_half): Likewise.
86028         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
86029         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
86030         and __x86_64_raw_shared_cache_size_half.  Round
86031         __x86_64_data_cache_size_half, __x86_64_data_cache_size
86032         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
86033         to multiple of 256 bytes.
86035 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
86037         [BZ #12167]
86038         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
86039         of inacessible symlinks.  Verify result of symlink before returning it.
86040         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
86041         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
86043 2010-10-28  Erich Ritz  <erichritz@gmail.com>
86045         * math/math.h (isinf): Fix typo in comment.
86047 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
86049         * po/da.po: Update from translation team.
86051 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
86053         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86054         is added to the list.
86056 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86057             Ulrich Drepper  <drepper@gmail.com>
86059         * elf/dl-object.c (_dl_new_object): Don't append the new object to
86060         the global list here.  Move code to...
86061         (_dl_add_to_namespace_list): ...here.  New function.
86062         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86063         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86064         * elf/dl-load.c (lose): Don't remove the element from the list.
86065         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86066         (_dl_map_object): Likewise.
86068 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86070         [BZ #12159]
86071         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86072         into all bytes of SSE register.
86073         Patch by Richard Li <richardpku@gmail.com>.
86075 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86077         [BZ #12140]
86078         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86079         perturbing.
86081 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86083         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86084         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86085         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86086         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86088         submachine.
86089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86091 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86093         * include/dlfcn.h (__RTLD_SECURE): Define.
86094         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86095         mode & __RTLD_SECURE instead.
86096         (open_path): Rename preloaded parameter to secure.
86097         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86098         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86099         * elf/dl-deps.c (openaux): Likewise.
86100         * elf/rtld.c (struct map_args): Remove is_preloaded.
86101         (map_doit): Don't use it.
86102         (dl_main): Likewise.
86103         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86104         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86106 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86108         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86109         (sysd-rules-targets): Remove duplicates.
86110         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86111         rtld-%.$o dependency.
86113 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86115         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86116         _dl_map_object do it.
86118 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86120         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86121         fast fma builtins, define the macros in the C99 standard.
86122         (FP_FAST_FMAF): Likewise.
86123         (FP_FAST_FMAL): Likewise.
86124         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86126         * bits/mathdef.h: Update copyright year.
86127         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86129 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86131         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86132         builtins, define the macros in the C99 standard.
86133         (FP_FAST_FMAF): Likewise.
86134         (FP_FAST_FMAL): Likewise.
86135         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86136         multiply/add.
86137         (FP_FAST_FMAF): Likewise.
86139 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86141         [BZ #3268]
86142         * math/libm-test.inc (fma_test): Some new testcases.
86143         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86144         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86145         y and infinite z.  Do multiplication by C already in long double.
86146         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86148         y and infinite z.  Do bitwise or of inexact bit into u.d.
86149         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86150         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86151         * sysdeps/i386/fpu/s_fma.S: Removed.
86152         * sysdeps/i386/fpu/s_fmal.S: Removed.
86154 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86156         [BZ #3268]
86157         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86159         computation is not scheduled after fetestexcept.  Fix value
86160         of minimum denormal long double.
86162 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86164         [BZ #3268]
86165         * math/libm-test.inc (fma_test): Add some more tests.
86166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86167         correctly.
86169 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86171         * scripts/data/localplt-s390-linux-gnu.data: New file.
86172         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86174 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86176         [BZ #3268]
86177         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86178         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86179         instead of dbl-64.
86180         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86181         inlines.
86182         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86184         if one of x and y is very large and the other is subnormal.
86185         * sysdeps/s390/fpu/s_fmaf.c: New file.
86186         * sysdeps/s390/fpu/s_fma.c: New file.
86187         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86188         * sysdeps/powerpc/fpu/s_fma.S: New file.
86189         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86190         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86191         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86193 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86195         [BZ #3268]
86196         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86197         fma tests.
86198         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86199         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86200         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86201         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86202         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86203         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86204         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86206 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86208         [BZ #12078]
86209         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86210         * posix/bug-regex31.input: Add test case.
86212 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86214         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86215         * posix/bug-regex31.input: New file.
86217         [BZ #12078]
86218         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86219         (parse_sub_exp): Fix last change, use postorder.
86221         * posix/bug-regex31.c: New file.
86222         * posix/Makefile: Add rules to build and run bug-regex31.
86224         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86226         [BZ #12078]
86227         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86229         [BZ #12108]
86230         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86231         to have entries in sys_siglist.
86233         [BZ #12093]
86234         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86235         be NULL.
86237 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86239         [BZ #3268]
86240         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86241         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86242         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86243         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86244         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86245         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86246         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86247         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86248         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86249         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86250         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86251         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86252         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86253         * math/ftestexcept.c (fetestexcept): Likewise.
86254         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86255         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86256         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86257         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86258         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86259         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86260         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86262 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86264         [BZ #12107]
86265         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86266         newline.
86268 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86270         * string/bug-strstr1.c: New file.
86271         * string/Makefile: Add rules to build and run bug-strstr1.
86273 2010-10-05  Eric Blake  <eblake@redhat.com>
86275         [BZ #12092]
86276         * string/str-two-way.h (two_way_long_needle): Always clear memory
86277         when skipping input due to the shift table.
86279 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86281         [BZ #12005]
86282         * malloc/mcheck.c: Handle large requests.
86284         [BZ #12077]
86285         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86286         for strncmp and strncasecmp.
86287         * string/stratcliff.c: Add tests for strcmp and strncmp.
86288         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86290 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86292         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86293         __set_fpscr.
86295 2010-09-30  Andreas Jaeger  <aj@suse.de>
86297         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86298         (CGROUP_SUPER_MAGIC): Define.
86299         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86300         Handle btrfs and cgroup file systems.
86301         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86302         Likewise.
86304 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86306         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86307         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86309 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86311         [BZ #12067]
86312         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86313         trying to locate the ELF header.
86315 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86317         [BZ #11611]
86318         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86319         Mask out sign-bit copies when constructing f_fsid.
86321 2010-09-24  Petr Baudis <pasky@suse.cz>
86323         * debug/stack_chk_fail_local.c: Add missing licence exception.
86324         * debug/warning-nop.c: Likewise.
86326 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86328         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86329         implementing getdents64 using getdents syscall, set d_type if
86330         __ASSUME_GETDENTS32_D_TYPE.
86332 2010-09-16  Andreas Schwab  <schwab@redhat.com>
86334         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86335         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86337 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
86339         [BZ #12037]
86340         * posix/unistd.h: Undo change of feature selection for ftruncate from
86341         2010-01-11.
86343 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
86345         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86346         detection.
86348 2010-09-20  Andreas Schwab  <schwab@redhat.com>
86350         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86351         fanotify_mark.
86352         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86354 2010-09-14  Andreas Schwab  <schwab@redhat.com>
86356         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86357         variables after CHECK_SP call.
86358         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86360 2010-09-13  Andreas Schwab  <schwab@redhat.com>
86361             Ulrich Drepper  <drepper@redhat.com>
86363         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86364         re-relocationg ld.so.
86365         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
86366         _dl_init_paths call.
86367         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
86368         here anymore.
86370 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
86372         * resolv/res_init.c (__res_vinit): Count the default server we added.
86374 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
86375             Ulrich Drepper  <drepper@redhat.com>
86377         [BZ #11968]
86378         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86379         (____longjmp_chk): Use %ebx for saving value across system call.
86380         Add unwind info.
86382 2010-09-06  Andreas Schwab  <schwab@redhat.com>
86384         * manual/Makefile: Don't mix pattern rules with normal rules.
86386 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
86388         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
86389         operation.
86390         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
86391         * libio/iofopncook.c (_IO_cookie_init): Likewise.
86392         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
86393         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
86394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86395         Likewise.
86397 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
86399         [BZ #11979]
86400         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
86401         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
86403 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
86405         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
86406         * sysdeps/x86_64/addmul_1.S: Likewise.
86407         * sysdeps/x86_64/lshift.S: Likewise.
86408         * sysdeps/x86_64/mul_1.S: Likewise.
86409         * sysdeps/x86_64/rshift.S: Likewise.
86410         * sysdeps/x86_64/sub_n.S: Likewise.
86411         * sysdeps/x86_64/submul_1.S: Likewise.
86413 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86415         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
86416         Define __sched_param instead of SCHED_* and sched_param when
86417         <bits/sched.h> is included with __need_schedparam defined.
86418         * bits/sched.h [__need_schedparam]
86419         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
86420         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
86421         (__defined_schedparam): Define to 1.
86422         (__sched_param): New structure, identical to sched_param.
86423         (__need_schedparam): Undefine.
86425 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
86427         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
86428         (epoll_create1): Declare.
86430         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
86432 2010-08-31  Andreas Schwab  <schwab@redhat.com>
86434         [BZ #7066]
86435         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
86436         shifting retval into place.
86438 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
86440         * nis/rpcsvc/nis.h: Update copyright notice.
86441         * nis/rpcsvc/nis.x: Likewise.
86442         * nis/rpcsvc/nis_callback.h: Likewise.
86443         * nis/rpcsvc/nis_callback.x: Likewise.
86444         * nis/rpcsvc/nis_object.x: Likewise.
86445         * nis/rpcsvc/nis_tags.h: Likewise.
86446         * nis/rpcsvc/yp.h: Likewise.
86447         * nis/rpcsvc/yp.x: Likewise.
86448         * nis/rpcsvc/ypupd.h: Likewise.
86449         * nis/yp_xdr.c: Likewise.
86450         * nis/ypupdate_xdr.c: Likewise.
86452         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
86453         mainly the body of pmap_getport.  Add parameters to specify timeouts.
86454         (pmap_getport): Use __libc_rpc_getport.
86455         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
86456         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
86457         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
86459 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
86461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
86462         fanotify_mark.
86464 2010-08-27  Roland McGrath  <roland@redhat.com>
86466         * sysdeps/i386/i686/multiarch/Makefile
86467         (CFLAGS-varshift.c): New variable.
86469 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
86471         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
86472         * sysdeps/i386/i686/multiarch/varshift.c: New file.
86474         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
86476         * sysdeps/x86_64/strlen.S: Minimal code improvement.
86478 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
86480         * sysdeps/x86_64/strlen.S: Unroll the loop.
86481         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86482         strlen-sse2 strlen-sse2-bsf.
86483         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
86484         __strlen_no_bsf if bit_Slow_BSF is set.
86485         (__strlen_sse42): Removed.
86486         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
86487         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
86489 2010-08-25  Roland McGrath  <roland@redhat.com>
86491         * sysdeps/x86_64/multiarch/varshift.S: File removed.
86492         * sysdeps/x86_64/multiarch/varshift.c: New file.
86493         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
86494         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
86495         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
86496         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
86498 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
86500         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86501         strlen-sse2 strlen-sse2-bsf.
86502         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
86503         __strlen_sse2_bsf if bit_Slow_BSF is unset.
86504         (__strlen_sse2): Removed.
86505         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
86506         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
86507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
86508         bit_Slow_BSF for Atom.
86509         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
86510         (index_Slow_BSF): Define.
86511         (HAS_SLOW_BSF): Define.
86513 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
86515         [BZ #10851]
86516         * resolv/res_init.c (__res_vinit): When no server address at all
86517         is given default to loopback.
86519 2010-08-24  Roland McGrath  <roland@redhat.com>
86521         * configure.in: Remove config-name.h generation.
86522         * configure: Regenerated.
86523         * config-name.in: File removed.
86524         * scripts/config-uname.sh: New file.
86525         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
86526         ($(objdir)config-name.h): New target.
86528         * sunrpc/rpc_parse.h: Avoid nested comment.
86530 2010-08-24  Richard Henderson  <rth@redhat.com>
86531             Ulrich Drepper  <drepper@redhat.com>
86532             H.J. Lu  <hongjiu.lu@intel.com>
86534         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
86535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
86536         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
86537         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
86538         _mm_alignr_epi8 with _mm_loadu_si128.
86539         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
86540         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
86541         (__m128i_shift_right): Removed.
86542         * sysdeps/i386/i686/multiarch/varshift.h: New file.
86543         * sysdeps/i386/i686/multiarch/varshift.S: New file.
86544         * sysdeps/x86_64/multiarch/varshift.h: New file.
86545         * sysdeps/x86_64/multiarch/varshift.S: New file.
86547 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
86549         * configure.in: Move assembler checks to before sysdep dir checking.
86551 2010-08-20  Petr Baudis  <pasky@suse.cz>
86553         * LICENSES: Sync the sunrpc license.
86555 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
86557         * sunrpc/auth_des.c: Update copyright notice once again.
86558         * sunrpc/auth_none.c: Likewise.
86559         * sunrpc/auth_unix.c: Likewise.
86560         * sunrpc/authdes_prot.c: Likewise.
86561         * sunrpc/authuxprot.c: Likewise.
86562         * sunrpc/bindrsvprt.c: Likewise.
86563         * sunrpc/clnt_gen.c: Likewise.
86564         * sunrpc/clnt_perr.c: Likewise.
86565         * sunrpc/clnt_raw.c: Likewise.
86566         * sunrpc/clnt_simp.c: Likewise.
86567         * sunrpc/clnt_tcp.c: Likewise.
86568         * sunrpc/clnt_udp.c: Likewise.
86569         * sunrpc/clnt_unix.c: Likewise.
86570         * sunrpc/des_crypt.c: Likewise.
86571         * sunrpc/des_soft.c: Likewise.
86572         * sunrpc/get_myaddr.c: Likewise.
86573         * sunrpc/getrpcport.c: Likewise.
86574         * sunrpc/key_call.c: Likewise.
86575         * sunrpc/key_prot.c: Likewise.
86576         * sunrpc/openchild.c: Likewise.
86577         * sunrpc/pm_getmaps.c: Likewise.
86578         * sunrpc/pm_getport.c: Likewise.
86579         * sunrpc/pmap_clnt.c: Likewise.
86580         * sunrpc/pmap_prot.c: Likewise.
86581         * sunrpc/pmap_prot2.c: Likewise.
86582         * sunrpc/pmap_rmt.c: Likewise.
86583         * sunrpc/rpc/auth.h: Likewise.
86584         * sunrpc/rpc/auth_unix.h: Likewise.
86585         * sunrpc/rpc/clnt.h: Likewise.
86586         * sunrpc/rpc/des_crypt.h: Likewise.
86587         * sunrpc/rpc/key_prot.h: Likewise.
86588         * sunrpc/rpc/netdb.h: Likewise.
86589         * sunrpc/rpc/pmap_clnt.h: Likewise.
86590         * sunrpc/rpc/pmap_prot.h: Likewise.
86591         * sunrpc/rpc/pmap_rmt.h: Likewise.
86592         * sunrpc/rpc/rpc.h: Likewise.
86593         * sunrpc/rpc/rpc_des.h: Likewise.
86594         * sunrpc/rpc/rpc_msg.h: Likewise.
86595         * sunrpc/rpc/svc.h: Likewise.
86596         * sunrpc/rpc/svc_auth.h: Likewise.
86597         * sunrpc/rpc/types.h: Likewise.
86598         * sunrpc/rpc/xdr.h: Likewise.
86599         * sunrpc/rpc_clntout.c: Likewise.
86600         * sunrpc/rpc_cmsg.c: Likewise.
86601         * sunrpc/rpc_common.c: Likewise.
86602         * sunrpc/rpc_cout.c: Likewise.
86603         * sunrpc/rpc_dtable.c: Likewise.
86604         * sunrpc/rpc_hout.c: Likewise.
86605         * sunrpc/rpc_main.c: Likewise.
86606         * sunrpc/rpc_parse.c: Likewise.
86607         * sunrpc/rpc_parse.h: Likewise.
86608         * sunrpc/rpc_prot.c: Likewise.
86609         * sunrpc/rpc_sample.c: Likewise.
86610         * sunrpc/rpc_scan.c: Likewise.
86611         * sunrpc/rpc_scan.h: Likewise.
86612         * sunrpc/rpc_svcout.c: Likewise.
86613         * sunrpc/rpc_tblout.c: Likewise.
86614         * sunrpc/rpc_util.c: Likewise.
86615         * sunrpc/rpc_util.h: Likewise.
86616         * sunrpc/rpcinfo.c: Likewise.
86617         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
86618         * sunrpc/rpcsvc/key_prot.x: Likewise.
86619         * sunrpc/rpcsvc/klm_prot.x: Likewise.
86620         * sunrpc/rpcsvc/mount.x: Likewise.
86621         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
86622         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
86623         * sunrpc/rpcsvc/rex.x: Likewise.
86624         * sunrpc/rpcsvc/rstat.x: Likewise.
86625         * sunrpc/rpcsvc/rusers.x: Likewise.
86626         * sunrpc/rpcsvc/sm_inter.x: Likewise.
86627         * sunrpc/rpcsvc/spray.x: Likewise.
86628         * sunrpc/rpcsvc/yppasswd.x: Likewise.
86629         * sunrpc/rtime.c: Likewise.
86630         * sunrpc/svc.c: Likewise.
86631         * sunrpc/svc_auth.c: Likewise.
86632         * sunrpc/svc_authux.c: Likewise.
86633         * sunrpc/svc_raw.c: Likewise.
86634         * sunrpc/svc_run.c: Likewise.
86635         * sunrpc/svc_simple.c: Likewise.
86636         * sunrpc/svc_tcp.c: Likewise.
86637         * sunrpc/svc_udp.c: Likewise.
86638         * sunrpc/svc_unix.c: Likewise.
86639         * sunrpc/svcauth_des.c: Likewise.
86640         * sunrpc/xcrypt.c: Likewise.
86641         * sunrpc/xdr.c: Likewise.
86642         * sunrpc/xdr_array.c: Likewise.
86643         * sunrpc/xdr_float.c: Likewise.
86644         * sunrpc/xdr_mem.c: Likewise.
86645         * sunrpc/xdr_rec.c: Likewise.
86646         * sunrpc/xdr_ref.c: Likewise.
86647         * sunrpc/xdr_sizeof.c: Likewise.
86648         * sunrpc/xdr_stdio.c: Likewise.
86650         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
86651         handling.
86653 2010-08-19  Andreas Schwab  <schwab@redhat.com>
86655         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
86657 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
86659         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
86660         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
86661         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
86662         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
86663         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
86664         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
86665         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
86666         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
86667         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
86668         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
86669         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
86670         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
86671         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
86672         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
86674 2010-07-26  Anton Blanchard  <anton@samba.org>
86676         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
86677         * malloc/arena.c (heap_trim): Likewise.
86679 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
86681         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
86682         here.  Not...
86683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
86684         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
86686 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
86688         * sysdeps/i386/elf/Makefile: New file.
86690 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
86692         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
86693         from fanotify_init.
86694         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
86695         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
86697 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
86699         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
86700         of strncasecmp_l.
86701         * sysdeps/multiarch/strcmp.S: Likewise.
86703 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
86705         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
86706         strncase_l-nonascii.
86707         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
86708         Add strncase_l-ssse3.
86709         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
86710         * sysdeps/x86_64/strcmp.S: Likewise.
86711         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
86712         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
86713         * sysdeps/x86_64/strncase.S: New file.
86714         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
86715         * sysdeps/x86_64/strncase_l.S: New file.
86716         * string/Makefile (strop-tests): Add strncasecmp.
86717         * string/test-strncasecmp.c: New file.
86719         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
86720         warning.
86722         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
86723         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
86725 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
86727         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
86729 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
86731         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
86732         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
86733         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
86735 2010-05-01  Alan Modra  <amodra@gmail.com>
86737         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
86738         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
86739         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
86740         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
86741         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
86742         tidying.  Don't tail-call __sigjmp_save for static lib.
86743         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
86744         save location.
86745         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
86746         (CALL_MCOUNT): Add eh info, and nop after bl.
86747         (TAIL_CALL_SYSCALL_ERROR): New macro.
86748         (PSEUDO_RET): Use it.
86749         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
86750         Correct save location of integer regs and cr.
86751         (_dl_profile_resolve): Correct cr save location.  Delete nops
86752         after bl when SHARED.  Reduce cfi size a little by better
86753         placement of cfi directives.
86754         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
86755         make a stack frame.  Instead use parm save area as a temp.
86756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
86757         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
86758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
86759         Don't make a stack frame for parent, use parm save area.
86760         Increase child stack frame to 112 bytes.  Don't save unused reg,
86761         and adjust reg usage.  Set up cfi on error recovery and
86762         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
86763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
86764         (__makecontext): Add dummy nop after jump to exit.
86765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
86766         Use correct parm save area and cr save, reduce stack frame.
86767         Correct cfi for possible PSEUDO_RET frame setup.
86768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
86769         Branch to local label emitted by PSEUDO_RET rather than
86770         __syscall_error.
86772 2010-08-12  Andreas Schwab  <schwab@redhat.com>
86774         [BZ #11904]
86775         * locale/programs/locale.c (print_assignment): New function.
86776         (show_locale_vars): Use it.
86778 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
86780         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
86781         field.
86782         (struct statfs64): Likewise.
86783         (_STATFS_F_FLAGS): Define.
86784         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
86785         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86786         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
86787         (ST_VALID): Define locally.
86788         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
86789         __statvfs_getflags, use the provided value.
86790         * sysdeps/unix/sysv/linux/kernel-features.h: Define
86791         __ASSUME_STATFS_F_FLAGS.
86793         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
86795         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
86796         Add sys/fanotify.h.
86797         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
86798         fanotify_mask for GLIBC_2.13.
86799         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
86800         fanotify_init and fanotify_mark.
86801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
86802         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
86804         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
86805         Add prlimit.
86806         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
86807         prlimit64 for GLIBC_2.13.
86808         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
86809         prlimit64.
86810         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
86811         syscall.
86812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
86813         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86814         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
86815         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
86816         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
86817         add prlimit alias.
86818         * sysdeps/unix/sysv/linux/prlimit.c: New file.
86820         [BZ #11903]
86821         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
86822         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
86824         * nss/Makefile: Add rules to build and run tst-nss-test1.
86825         * shlib-versions: Add entry for libnss_test1.
86826         * nss/nss_test1.c: New file.
86827         * nss/tst-nss-test1.c: New file.
86829         * nss/nsswitch.c (__nss_database_custom): Define new variable.
86830         (__nss_configure_lookup): Set appropriate entry in
86831         __nss_configure_lookup to true.
86832         * nss/nsswitch.h: Define enum with indeces of databases in
86833         databases and __nss_database_custom arrays.  Declare
86834         __nss_database_custom.
86835         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
86836         to avoid using nscd when custom rules are installed.
86837         * nss/getXXbyYY_r.c: Likewise.
86838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
86840         * nss/nss_files/files-parse.c: Whitespace fixes.
86842 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
86844         [BZ #11883]
86845         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
86846         * posix/fnmatch_loop.c: Likewise.
86848 2010-07-17  Andi Kleen  <ak@linux.intel.com>
86850         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
86851         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
86852         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
86853         * Versions.def [GLIBC_2.13]: Add.
86855 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
86857         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
86858         Also fail if tpwd after pwuid call is NULL.
86860 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86862         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
86863         when converting to ms.
86865 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86867         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
86868         EOPNOTSUPP errors with ENOTTY.
86869         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
86870         EOPNOTSUPP errors with ENOTTY.
86872 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
86874         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
86875         Add strcasecmp_l-ssse3.
86876         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
86877         strcasecmp.
86878         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
86879         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
86880         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
86882 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
86884         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
86886         * string/Makefile (strop-tests): Add strcasecmp.
86887         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
86888         strcasecmp_l-nonascii.
86889         (gen-as-const-headers): Add locale-defines.sym.
86890         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
86891         * sysdeps/x86_64/strcasecmp.S: New file.
86892         * sysdeps/x86_64/strcasecmp_l.S: New file.
86893         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
86894         * sysdeps/x86_64/locale-defines.sym: New file.
86895         * string/test-strcasecmp.c: New file.
86897         * string/test-strcasestr.c: Test both ends of the range of characters.
86898         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
86900 2010-07-29  Roland McGrath  <roland@redhat.com>
86902         [BZ #11856]
86903         * manual/locale.texi (Yes-or-No Questions): Fix example code.
86905 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
86907         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
86908         for ld.so.
86910 2010-07-27  Andreas Schwab  <schwab@redhat.com>
86912         * manual/memory.texi (Malloc Tunable Parameters): Document
86913         M_PERTURB.
86915 2010-07-26  Roland McGrath  <roland@redhat.com>
86917         [BZ #11840]
86918         * configure.in (-fgnu89-inline check): Set and substitute
86919         gnu89_inline, not libc_cv_gnu89_inline.
86920         * configure: Regenerated.
86921         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
86923 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
86925         * string/test-strnlen.c: New file.
86926         * string/Makefile (strop-tests): Add strnlen.
86927         * string/tester.c (test_strnlen): Add a few more test cases.
86928         * string/tst-strlen.c: Better error reporting.
86930         * sysdeps/x86_64/strnlen.S: New file.
86932 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
86934         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
86935         lower-latency instructions.
86937 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
86939         * string/test-strcasestr.c: New file.
86940         * string/test-strstr.c: New file.
86941         * string/Makefile (strop-tests): Add strstr and strcasestr.
86942         * string/str-two-way.h: Don't undefine MAX.
86943         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
86945 2010-07-21  Andreas Schwab  <schwab@redhat.com>
86947         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86948         strcasestr-nonascii.
86949         (CFLAGS-strcasestr-nonascii.c): Define.
86950         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
86951         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
86952         Remove unused attribute.
86954 2010-07-20  Roland McGrath  <roland@redhat.com>
86956         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
86957         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
86958         ld.so.cache was broken.  With it, there is no way to disable dsocaps
86959         like LD_HWCAP_MASK can disable hwcaps.
86961 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
86963         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
86965 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
86967         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
86968         call in strcasestr.
86969         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
86970         __strcasestr_sse42_nonascii.
86971         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
86972         strcasestr-nonascii.c.
86973         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
86975 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
86977         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
86978         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
86979         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
86980         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
86982 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
86984         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
86985         fcntl.
86987 2010-07-06  Andreas Schwab  <schwab@redhat.com>
86989         [BZ #11577]
86990         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
86991         dl_signal_cerror.
86993 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
86995         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
86996         _PC_PIPE_BUF using F_GETPIPE_SZ.
86998 2010-07-05  Roland McGrath  <roland@redhat.com>
87000         * manual/arith.texi (Rounding Functions): Fix rint description
87001         implicit in round description.
87003 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
87005         * elf/Makefile: Fix linking for a few tests to make recent linker
87006         happy.
87008 2010-06-30  Andreas Schwab  <schwab@redhat.com>
87010         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87011         $(common-objpfx)libc_nonshared.a.
87013 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
87015         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
87016         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
87017         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87018         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87019         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
87020         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
87021         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87022         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
87025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
87026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
87028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
87030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
87031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
87032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
87033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
87035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
87037         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
87038         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
87039         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
87040         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
87041         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
87042         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
87043         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
87044         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
87045         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
87046         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
87047         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
87048         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
87049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87064 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
87066         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87067         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87068         * string/memmove.c (memmove): Renamed to ...
87069         (MEMMOVE): ...this.  Default to memmove.
87070         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87071         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87072         (END_CHK): Define.
87073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87074         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87075         mempcpy-ssse3-back memmove-ssse3-back.
87076         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87077         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87078         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87079         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87080         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87081         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87082         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87083         * sysdeps/x86_64/multiarch/memmove.c: New file.
87084         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87085         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87086         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87087         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87088         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87089         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87090         Define.
87091         (index_Fast_Copy_Backward): Define.
87092         (HAS_ARCH_FEATURE): Define.
87093         (HAS_FAST_REP_STRING): Define.
87094         (HAS_FAST_COPY_BACKWARD): Define.
87096 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87098         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87099         Restore proper fallback handling.
87101 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87103         [BZ #11701]
87104         * posix/group_member.c (__group_member): Correct checking loop.
87106         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87107         OOM in getpwuid_r correctly.  Return error number when the caller
87108         should return, otherwise -1.
87109         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87110         call returning > 0 value.
87111         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87113 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87115         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87116         libc_nonshared.a from targets in modules-names.
87118 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87120         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87121         requires it.
87123 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87125         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87126         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87128         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87130 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87132         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87134 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87136         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87137         and F_GETPIPE_SZ.
87138         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87139         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87141         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87142         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87143         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87145 2010-06-14  Roland McGrath  <roland@redhat.com>
87147         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87149 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87151         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87152         __REDIRECT followed by __THROW.
87153         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87154         * posix/getopt.h (getopt): Likewise.
87156 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87158         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87159         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87160         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87161         in AT_FLAGS.
87162         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87163         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87165 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87167         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87169 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87171         [BZ #11640]
87172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87173         Properly check family and model.
87175 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87177         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87179 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87181         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87183 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87185         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87186         symbol reference.
87188 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87190         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87191         symbol reference.
87193 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87195         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87196         and internal_recvmmsg.
87197         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87198         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87199         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87200         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87202         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87203         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87204         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87206 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87208         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87210 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87212         POWER7 optimizations.
87213         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87214         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87216 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87218         * version.h: Update for 2.13 development version.
87220 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87222         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87223         exceptions.  Return 0.
87225 2010-05-07  Roland McGrath  <roland@redhat.com>
87227         * elf/ldconfig.c (main): Add a const.
87229 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87231         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87232         (args_options): Add no-idn option.
87233         (ahosts_keys_int): Add idn_flags to ai_flags.
87234         (parse_option): Handle 'i' option to clear idn_flags.
87236         * malloc/malloc.c (_int_free): Possible race in the most recently
87237         added check.  Only act on the data if no current modification
87238         happened.
87240 See ChangeLog.17 for earlier changes.